Eddie Hung
|
92ec2cd138
|
clangformat for stuff I've touched
|
2018-07-31 20:57:36 -07:00 |
|
Eddie Hung
|
f646ec790a
|
Modify the getNetinfo*() functions and getBudgetOverride() to not use
user_idx and to take a PortRef& instead
|
2018-07-31 19:31:54 -07:00 |
|
Eddie Hung
|
720e815865
|
Add --slack_redist_iter for ice40
|
2018-07-31 19:07:39 -07:00 |
|
Eddie Hung
|
0eaa92bd6a
|
Merge remote-tracking branch 'origin/master' into redist_slack
|
2018-07-28 12:51:37 -07:00 |
|
Eddie Hung
|
d5c2332ebf
|
Merge remote-tracking branch 'origin/master' into redist_slack
|
2018-07-26 21:00:26 -07:00 |
|
Sergiusz Bazanski
|
df908374dc
|
gui: implement basic cursor picking
|
2018-07-26 22:40:45 +01:00 |
|
Sergiusz Bazanski
|
c37d2baaf6
|
common: rename GraphicElement::{style,type} enums, add _MAX members
|
2018-07-26 16:39:19 +01:00 |
|
Clifford Wolf
|
03f92948d1
|
clangformat and GraphicElement::style comments
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-26 17:14:56 +02:00 |
|
Eddie Hung
|
7c8c13aba1
|
Merge remote-tracking branch 'origin/master' into redist_slack
|
2018-07-25 17:41:23 -07:00 |
|
David Shah
|
7a8e8999d2
|
clangformat
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-07-25 19:45:38 +02:00 |
|
Clifford Wolf
|
ddfb1f1ff3
|
Fix BaseCtx::unlock()
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-25 13:35:53 +02:00 |
|
Clifford Wolf
|
f3dab003e7
|
Merge branch 'bba' into 'master'
bbasm
See merge request SymbioticEDA/nextpnr!18
|
2018-07-25 11:07:51 +00:00 |
|
Miodrag Milanovic
|
e3ce2f544d
|
noreturn have to be void, so there is no UB
|
2018-07-25 11:58:23 +02:00 |
|
Miodrag Milanovic
|
5e58a329e6
|
Make thread check portable
|
2018-07-25 09:32:13 +02:00 |
|
Eddie Hung
|
c71212d0e1
|
If --freq not set, attempt to find max by adjusting budget so min path slack == 0
|
2018-07-24 23:19:24 -07:00 |
|
Clifford Wolf
|
f86fc6e7fd
|
Typo fix
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-24 12:41:08 +02:00 |
|
Clifford Wolf
|
1538d26073
|
Add CellInfo data for placement constraints
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-24 12:39:33 +02:00 |
|
Clifford Wolf
|
9d38907e95
|
Add G_ARROW (for now same look as G_LINE)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-24 12:18:01 +02:00 |
|
Clifford Wolf
|
e647604e2a
|
Add Context::archcheck() and "nextpnr-ice40 --test"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-23 14:03:23 +02:00 |
|
Clifford Wolf
|
c6e4ad3227
|
Move common patterns from router1 to Context API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-22 02:16:03 +02:00 |
|
Clifford Wolf
|
9e6deed3b8
|
Merge branch 'q3k/lock-2-electric-boogaloo' into 'master'
Basic locking and threading for Arch/GUI
See merge request SymbioticEDA/nextpnr!10
|
2018-07-21 19:45:24 +00:00 |
|
Clifford Wolf
|
30e2f0e1e8
|
Add Loc constructors
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-21 21:40:06 +02:00 |
|
Sergiusz Bazanski
|
6588aafdb8
|
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-2-electric-boogaloo
|
2018-07-21 20:00:42 +01:00 |
|
Sergiusz Bazanski
|
0311a27a53
|
Use UI lock for yielding
|
2018-07-20 18:34:59 +01:00 |
|
Sergiusz Bazanski
|
76e5236fb3
|
Nuke IdStringDB
|
2018-07-20 18:24:16 +01:00 |
|
Sergiusz Bazanski
|
b5b956bd21
|
Remove dead code.
|
2018-07-20 17:57:16 +01:00 |
|
Clifford Wolf
|
fd8239e170
|
Add Location APIs to generic arch
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-20 18:09:22 +02:00 |
|
Clifford Wolf
|
f6fa0300ae
|
Improve iCE40 and common Loc code
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-20 17:33:57 +02:00 |
|
Clifford Wolf
|
e16b4a325e
|
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into gridapi
|
2018-07-20 17:13:26 +02:00 |
|
Sergiusz Bazanski
|
19f4b68f07
|
clang-format and uncomment debug
|
2018-07-20 13:19:56 +01:00 |
|
Sergiusz Bazanski
|
b4b111a053
|
Move pthread yield hack into BaseCtx
|
2018-07-20 13:15:22 +01:00 |
|
Sergiusz Bazanski
|
b84a446eef
|
Mix-in Deterministic RNG at Context instead of BaseCtx
|
2018-07-20 11:04:54 +01:00 |
|
Sergiusz Bazanski
|
55d5f8f248
|
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-2-electric-boogaloo
|
2018-07-20 10:59:33 +01:00 |
|
David Shah
|
6c38df7295
|
ice40: Adding cell definition for DSPs
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-07-19 13:22:46 +02:00 |
|
David Shah
|
d221e90706
|
Reducing performance cost of asserts
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-07-19 11:43:10 +02:00 |
|
Clifford Wolf
|
609794f9e6
|
Add Net/Cell "udata" field
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-18 13:29:58 +02:00 |
|
Serge Bazanski
|
03508faabf
|
WIP.
|
2018-07-17 19:16:26 +01:00 |
|
Clifford Wolf
|
ddfc535df7
|
Add ArchNetInfo and ArchCellInfo
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-17 20:04:49 +02:00 |
|
Serge Bazanski
|
2f5b94fe30
|
Add basic external locking, lock from P&R
|
2018-07-17 16:27:50 +01:00 |
|
Clifford Wolf
|
c0f1af87f6
|
Add Loc struct for x/y/z bel locations
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-17 17:03:44 +02:00 |
|
Serge Bazanski
|
91db413c60
|
Refactor RNG out to separate DeterministicRNG class
This well also allow for better lifecycle control over the state of the
RNG in the future.
|
2018-07-14 20:33:32 +01:00 |
|
Serge Bazanski
|
59a790cd00
|
Refactor IdString functionality into IdStringDB
This lets us more precisely control the lifetime of IdString databases
in contexts/arches.
|
2018-07-14 20:24:20 +01:00 |
|
Sergiusz Bazanski
|
36b4e3382d
|
Revert "Make GUI nice and smooth."
This reverts commit a8c84e90a3 .
|
2018-07-14 18:50:50 +01:00 |
|
Sergiusz Bazanski
|
b0c05c7f75
|
Revert "Refactor proxies to nextpnr."
This reverts commit 9b17fe385c .
|
2018-07-14 18:50:37 +01:00 |
|
Sergiusz Bazanski
|
d9c3c117a3
|
Revert "clang-format"
This reverts commit 8ca7a6da25 .
|
2018-07-14 18:50:34 +01:00 |
|
Sergiusz Bazanski
|
8ca7a6da25
|
clang-format
|
2018-07-14 11:10:59 +01:00 |
|
Sergiusz Bazanski
|
9b17fe385c
|
Refactor proxies to nextpnr.
|
2018-07-14 11:10:31 +01:00 |
|
Sergiusz Bazanski
|
a8c84e90a3
|
Make GUI nice and smooth.
|
2018-07-13 20:53:52 +01:00 |
|
Sergiusz Bazanski
|
499951cb65
|
Remove legacy graphics API
For now we do not optimize the OpenGL renderer against the new decal
API, but this can be done in the future.
|
2018-07-12 21:30:36 +01:00 |
|
Clifford Wolf
|
b8a42ff53b
|
Updates from clang-format
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-12 22:04:13 +02:00 |
|
Clifford Wolf
|
13e7cd8681
|
Add GraphicElement style enum
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-12 21:04:47 +02:00 |
|
Clifford Wolf
|
a436035424
|
Add Groups API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-12 17:22:29 +02:00 |
|
Clifford Wolf
|
7df67c91b3
|
Add ctx->route() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-11 18:04:09 +02:00 |
|
Clifford Wolf
|
2a01b5e4d3
|
New refreshUi API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-11 17:02:13 +02:00 |
|
Miodrag Milanovic
|
09735694b2
|
Fixed MSVC build
|
2018-07-11 14:39:42 +02:00 |
|
Clifford Wolf
|
7081cca016
|
Add GUI Decals API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-07-11 14:03:23 +02:00 |
|
Eddie Hung
|
18c93104be
|
NPNR_ASSERT not to implicitly construct strings
|
2018-07-08 15:48:54 -07:00 |
|
David Shah
|
f1bddc2852
|
common: Remove deprecated global IdStrings
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-07-04 14:55:24 +02:00 |
|
David Shah
|
2e8c0c872f
|
Add NPNR_ASSERT_FALSE, use in bitstream.cc
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-07-04 13:04:31 +02:00 |
|
Miodrag Milanovic
|
6eaae6196c
|
Fixed debug msvc build and fixed inaccessible base
|
2018-07-04 12:23:55 +02:00 |
|
David Shah
|
c9d1bce859
|
common: Adding NPNR_ASSERT
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-07-04 12:04:26 +02:00 |
|
Miodrag Milanovic
|
1cf8293019
|
Fixed macros and includes for MSVC
|
2018-07-03 08:53:44 +02:00 |
|
Clifford Wolf
|
e6dc9ce77d
|
Add implementations for generic arch db API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-30 17:31:24 +02:00 |
|
Clifford Wolf
|
25f07549a1
|
Refactor IdString::global_ctx
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-30 07:47:04 +02:00 |
|
Clifford Wolf
|
c73759f9f1
|
Split "arch.h" in "arch.h" and "archdefs.h"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-29 20:36:34 +02:00 |
|
David Shah
|
27e7bc3b4b
|
Improving the SA+legalisation flow
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-29 17:04:22 +02:00 |
|
David Shah
|
2cc7ade05b
|
Refactor common placement functions out of SA placer for use in legaliser
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-27 12:00:13 +02:00 |
|
Miodrag Milanovic
|
0bd73c1977
|
Make GUI use recreated context
|
2018-06-26 15:47:43 +02:00 |
|
David Shah
|
103dde79de
|
Fixing Python bindings after adding unique_ptr
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-26 14:13:52 +02:00 |
|
Miodrag Milanovic
|
db890d3a81
|
nets and cells are unique_ptr's
|
2018-06-25 21:33:48 +02:00 |
|
David Shah
|
6d154cfa13
|
ice40: Creating a carry chain splitter function
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-25 15:39:46 +02:00 |
|
Miodrag Milanovic
|
fb5fb497b5
|
Fix some memory leaks
|
2018-06-25 14:34:08 +02:00 |
|
Clifford Wolf
|
a1681560a3
|
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-23 15:28:09 +02:00 |
|
Clifford Wolf
|
b5efe3ecbc
|
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
|
2018-06-23 15:16:37 +02:00 |
|
Clifford Wolf
|
746d63f9fa
|
Refactoring bind/unbind API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-23 15:16:24 +02:00 |
|
Miodrag Milanovic
|
550866620a
|
removed all deprecated unused api calls
|
2018-06-23 15:01:49 +02:00 |
|
Clifford Wolf
|
aa81f9d648
|
Switched from clifford@clifford.at to clifford@symbioticeda.com for copyright headers
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-22 16:19:17 +02:00 |
|
Clifford Wolf
|
fcfb85e9dc
|
Zero-initialize PortRef budgets
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-21 16:25:25 +02:00 |
|
Clifford Wolf
|
a29bfc788e
|
Add ctx->checksum(), slightly improve log messages
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-21 15:47:41 +02:00 |
|
Clifford Wolf
|
693c34ad06
|
Improvements in router
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-21 14:08:45 +02:00 |
|
David Shah
|
1436ae21a2
|
Adding stubs for delay annotation and cell timing lookup
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-20 11:44:28 +02:00 |
|
Clifford Wolf
|
a06d2aeb4d
|
Add PlaceStrength
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-20 11:09:49 +02:00 |
|
Clifford Wolf
|
5af5bd23d0
|
Add Context::sorted_shuffle API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-19 16:23:23 +02:00 |
|
Clifford Wolf
|
fd40d6f58d
|
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-19 14:10:42 +02:00 |
|
Clifford Wolf
|
5f37da9704
|
Add Context::force and "nextpnr-ice40 --force"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-19 14:10:42 +02:00 |
|
Clifford Wolf
|
d2ff5fec08
|
Add rng to Context, start using ctx->verbose
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-19 12:49:40 +02:00 |
|
Clifford Wolf
|
c910846c5c
|
Refactor Arch/Context design hierarchy
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-19 12:08:37 +02:00 |
|
Clifford Wolf
|
0dd185a141
|
Getting rid of users of old IdString API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-18 15:53:18 +02:00 |
|
Clifford Wolf
|
71d07fd0bf
|
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-18 14:57:38 +02:00 |
|
Clifford Wolf
|
3d7444ba9b
|
Deprecate old IdString API with implizit global context
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-18 14:56:14 +02:00 |
|
Clifford Wolf
|
babd5f39ab
|
Towards IdString as per-context facility
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-18 14:53:01 +02:00 |
|
Clifford Wolf
|
ce2a9f2af1
|
Move contents of design.h to nextpnr.h
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-18 14:18:56 +02:00 |
|
Clifford Wolf
|
cbcd2ea3ac
|
Rename chip.h to arch.h
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-18 14:12:39 +02:00 |
|
David Shah
|
330d393c59
|
Fixing regression due to IDStrings
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-12 16:04:02 +02:00 |
|
Clifford Wolf
|
da33da5bc2
|
Minor clangformat changes
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-12 15:52:38 +02:00 |
|
Clifford Wolf
|
136ce3d18f
|
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
|
2018-06-12 15:51:51 +02:00 |
|
Clifford Wolf
|
9c275d0a65
|
Add fast IdString <-> PortPin conversion
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-12 15:50:33 +02:00 |
|
Clifford Wolf
|
7e879953d6
|
Add proper fast IdString
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-12 15:37:28 +02:00 |
|
David Shah
|
6707b985b4
|
ice40: Add support for LC placement constraints in packer
Signed-off-by: David Shah <davey1576@gmail.com>
|
2018-06-12 15:13:50 +02:00 |
|
Clifford Wolf
|
a139654980
|
Add IdString API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-12 15:08:01 +02:00 |
|
Clifford Wolf
|
391d49c13e
|
Add nextpnr namespace
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-12 14:24:59 +02:00 |
|
Clifford Wolf
|
be73894bea
|
Add "nextpnr.h"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2018-06-11 20:12:57 +02:00 |
|