Commit Graph

2733 Commits

Author SHA1 Message Date
David Shah
65a59e9dcc nexus: Implement bel, wire and pip Arch functions
Signed-off-by: David Shah <dave@ds0.me>
2020-11-30 08:45:27 +00:00
David Shah
ae1a486520 Add Arch constructor
Signed-off-by: David Shah <dave@ds0.me>
2020-11-30 08:45:27 +00:00
David Shah
35de36dd59 Implementing some Arch functions
Signed-off-by: David Shah <dave@ds0.me>
2020-11-30 08:45:27 +00:00
David Shah
c7f00b4760 nexus: Add iterator types based on nextpnr-xilinx
Signed-off-by: David Shah <dave@ds0.me>
2020-11-30 08:45:27 +00:00
David Shah
60c6510b3b nexus: Arch utilities
Signed-off-by: David Shah <dave@ds0.me>
2020-11-30 08:45:27 +00:00
David Shah
54e0ef9cf7 Adding archdefs and bba PODs
Signed-off-by: David Shah <dave@ds0.me>
2020-11-30 08:45:27 +00:00
David Shah
1afa494e69 clangformat
Signed-off-by: David Shah <dave@ds0.me>
2020-11-26 18:08:19 +00:00
David Shah
839fbb3fe9
Merge pull request #520 from YosysHQ/dave/improved-check
nextpnr: Improve error reporting in Context::check
2020-11-26 16:10:35 +00:00
David Shah
70de8b3a03 nextpnr: Improve error reporting in Context::check
Signed-off-by: David Shah <dave@ds0.me>
2020-11-26 11:12:20 +00:00
David Shah
8955230712
Merge pull request #519 from cr1901/patch-1
Update netlist.md
2020-11-24 19:32:48 +00:00
William D. Jones
996b4100b9
Update netlist.md
Add information about how top-level ports and connected nets differ from other ports and nets.
2020-11-24 14:30:30 -05:00
Miodrag Milanović
6514471a3b
Merge pull request #516 from meijianyue/master
missing '/local' at ecp5 installing
2020-11-18 10:18:48 +01:00
Miodrag Milanović
da4ff1c40a
Merge pull request #518 from BracketMaster/patch-1
Update CMakeLists.txt
2020-11-18 10:00:18 +01:00
Yehowshua Immanuel
fe8a011629
Update CMakeLists.txt
I believe Prjtrellis has CMAKE define pytrellis as a shared module, not library.
On MacOS, this makes a difference and NextPNR expected ``.dylib``
instead of ``.so``. Things still work on Linux.
2020-11-17 17:53:46 -05:00
梅见月七
b015ee825c
missing '/local' at ecp5 installing 2020-11-17 09:40:45 +08:00
Miodrag Milanović
93faa752f5
Remove boost-python from requirements 2020-11-16 09:42:15 +01:00
Miodrag Milanović
15f35c19b8
Merge pull request #515 from YosysHQ/python_improvements
Python code cleanup
2020-11-14 17:17:25 +01:00
Miodrag Milanovic
bb16fdb4bb Python code cleanup 2020-11-14 16:34:12 +01:00
David Shah
06555aa003 clangformat
Signed-off-by: David Shah <dave@ds0.me>
2020-11-14 09:07:34 +00:00
David Shah
b8d0e622fd
Merge pull request #514 from YosysHQ/no-copy-relptr
RelPtr: remove copy constructor and copy assignment
2020-11-14 09:06:59 +00:00
David Shah
8686b6dada RelPtr: remove copy constructor and copy assignment
These operations are meaningless for a data structure that references
another structure relative to its location.

Signed-off-by: David Shah <dave@ds0.me>
2020-11-13 20:19:53 +00:00
Miodrag Milanović
319046fed7
Merge pull request #513 from YosysHQ/python_interpreter
Do not create new python interpreter
2020-11-13 16:05:16 +01:00
Miodrag Milanovic
e15b339d41 Do not create new python interpreter 2020-11-13 15:02:24 +01:00
David Shah
cf331ca2a7
Merge pull request #512 from smunaut/fix-pll-dynamic-delay
ice40/pack/SB_PLL: Force fixed value to 4'b1111 if dynamic delay is used
2020-11-10 10:03:45 +00:00
Sylvain Munaut
bdc95b8dc0 ice40/pack/SB_PLL: Force fixed value to 4'b1111 if dynamic delay is used
It's been confirmed that :
 (1) this is required by the hardware
 (2) icecube will force that field to 4'b1111 in fixed mode

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-11-10 10:24:58 +01:00
David Shah
76ffdbbbde
Merge pull request #511 from YosysHQ/async-lsr-routing
ecp5: Fix handling of CLK/LSR wire attached settings
2020-11-05 12:36:17 +00:00
David Shah
9916525418 ecp5: Fix handling of CLK/LSR wire attached settings
Signed-off-by: David Shah <dave@ds0.me>
2020-11-05 11:53:55 +00:00
Miodrag Milanović
d5dde5df46
Merge pull request #509 from YosysHQ/dave/remove-wire-alias
Remove wire alias API
2020-10-15 12:22:15 +02:00
David Shah
b18ea204c2 Remove wire alias API
It has not actually been implemented in any router for over 2.5 years and causes nothing more than confusion. It can always be added back if it forms part of a future solution; possibly as part of a more general database structure rethink.

Signed-off-by: David Shah <dave@ds0.me>
2020-10-15 09:36:15 +01:00
David Shah
576baa994f ecp5: Fix some tricky ECLKSYNCB/CLKDIVF packing cases
Signed-off-by: David Shah <dave@ds0.me>
2020-10-09 21:41:55 +01:00
David Shah
b5054f0d77 Merge branch 'kittennbfive-annotate-primitives' into master 2020-10-01 09:02:39 +01:00
David Shah
c4244d967d docs: Tidy up
Signed-off-by: David Shah <dave@ds0.me>
2020-10-01 09:02:29 +01:00
kittennbfive
3c7c95ecce
Update primitives.md 2020-09-30 19:29:13 +00:00
kittennbfive
b2438caec3
update doc - UNTESTED on real hardware 2020-09-28 14:49:35 +00:00
David Shah
9aff6aa55c ecp5: Add support for setting PIO clamp
Signed-off-by: David Shah <dave@ds0.me>
2020-09-26 09:24:01 +01:00
David Shah
587bfab2a6
Merge pull request #502 from pepijndevos/patch-1
Update generic synth script for dfflegalize changes
2020-09-25 09:33:55 +01:00
David Shah
84ce3ed43e ci: Update Yosys version for dfflegalize
Signed-off-by: David Shah <dave@ds0.me>
2020-09-24 13:57:14 +01:00
Miodrag Milanović
d927878024
Merge pull request #503 from neuschaefer/typo
README.md: Fix two typos
2020-09-23 09:12:57 +02:00
Jonathan Neuschäfer
13c2e8ceba README.md: Fix two typos 2020-09-23 09:08:47 +02:00
Pepijn de Vos
26dfe6f23d
Update generic synth script for dfflegalize changes 2020-09-18 15:39:24 +02:00
David Shah
8f96417bcf
Merge pull request #501 from landley/master
Building nextpnr on Devuan ascii 2.0 needs the "C" language enabled.
2020-09-16 14:25:21 +01:00
Rob Landley
9e597e0dda Building nextpnr on Devuan ascii 2.0 needs the "C" language enabled.
See https://lists.j-core.org/pipermail/j-core/2020-September/000940.html
2020-09-16 03:02:12 -05:00
Miodrag Milanović
f7da7c26aa
Merge pull request #500 from YosysHQ/dave/py-none-fix
python: Fix handling of None in pybind11
2020-09-14 15:57:29 +02:00
David Shah
b5e5f8d85f python: Fix handling of None in pybind11
Signed-off-by: David Shah <dave@ds0.me>
2020-09-14 14:17:07 +01:00
Miodrag Milanović
48cd40773a
Merge pull request #496 from YosysHQ/gui_fix
Preserve cmd parameters  when loading json from GUI
2020-09-04 17:29:43 +02:00
Miodrag Milanovic
717bcfa19e Preserve cmd parameters when loading json from GUI 2020-09-04 17:14:30 +02:00
David Shah
4512a9de19
Merge pull request #494 from rschlaikjer/rschlaikjer-print-sources-in-time-report
Add option to print critical path source code
2020-08-31 07:38:47 +01:00
Ross Schlaikjer
c30cadd19c
No longer need fstream include 2020-08-30 18:22:05 -04:00
Ross Schlaikjer
cba4753c22
Only print filenames for now, default on 2020-08-30 18:19:41 -04:00
Ross Schlaikjer
a8c110b045
Add option to print critical path source code
In order to make debugging the critical path easier, add an option that
will log the location each net was defined, if known.
If the file that contains the definition is known, and is readable, also
print the part of the source HDL responsible for the signal definition.
2020-08-30 17:43:29 -04:00