Commit Graph

4269 Commits

Author SHA1 Message Date
gatecat
75c45dbef1 Add IdStringList::concat overrides taking IdString
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-20 18:26:17 +00:00
gatecat
347ba3afb3
Merge pull request #919 from YosysHQ/gatecat/netlist-iii
refactor: New member functions to replace design_utils
2022-02-18 12:07:49 +00:00
gatecat
6a32aca4ac refactor: New member functions to replace design_utils
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-18 11:13:18 +00:00
gatecat
61d1db16be
Merge pull request #918 from YosysHQ/gatecat/netlist-ii
Refactor pt2, barnacle cleanup
2022-02-16 18:13:22 +00:00
gatecat
76683a1e3c refactor: Use constids instead of id("..")
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-16 17:09:54 +00:00
gatecat
9ef0bc3d3a refactor: Use cell member functions to add ports
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-16 16:45:45 +00:00
gatecat
25c47e5b7e
Merge pull request #917 from YosysHQ/gatecat/netlist-i
refactor: New NetInfo and CellInfo constructors
2022-02-16 16:15:26 +00:00
gatecat
30fd86ce69 refactor: New NetInfo and CellInfo constructors 2022-02-16 15:10:57 +00:00
gatecat
02e6d2dbca mistral: Fix 'not handled in switch' compiler warning
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-16 13:39:57 +00:00
gatecat
f3ee0d51a9 clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-16 13:32:53 +00:00
Verneri Hirvonen
bdea5a1f6f gowin: bump apycula version 2022-02-16 10:25:18 +02:00
gatecat
a9228095ee
Merge pull request #914 from ept221/doc_update
Fixed formatting typo in archapi.md
2022-02-16 07:13:20 +00:00
Ezra Thomas
05c41ae224
Fixed formatting typo in archapi.md 2022-02-15 22:29:39 -05:00
Verneri Hirvonen
e90f5b72f7 gowin: Add GW1NZ-1 2022-02-15 14:12:16 +02:00
gatecat
6047112753
Merge pull request #912 from danc86/nexus-osca-7percent
nexus: reduce OSCA worst case to 7%
2022-02-10 11:21:18 +00:00
Dan Callaghan
5c30093360 nexus: reduce OSCA worst case to 7%
The current version of Crosslink-NX Family Data Sheet lists the high
frequency oscillator maximum frequency as 481.5MHz (that is, 7% higher
than its nominal 450MHz):

https://www.latticesemi.com/-/media/LatticeSemi/Documents/DataSheets/CrossLink/FPGA-DS-02049-1-2-1-CrossLink-NX-Family.ashx?document_id=52780

Older documents listed a wider frequency range but ±7% is the range for
production parts.
2022-02-10 15:48:06 +11:00
gatecat
74c99f9195
Merge pull request #908 from YosysHQ/gatecat/generic-fanout-block
viaduct: Allow constraining only cascades without fanout
2022-02-06 14:19:26 +00:00
gatecat
dad0ef4ab7
Merge pull request #909 from pepijndevos/mygw1n9c
Add support for GW1N-9C and --family argument
2022-02-06 14:19:02 +00:00
Pepijn de Vos
cd97ef6536 add GW1N-9C db 2022-02-06 12:02:06 +01:00
Icenowy Zheng
230de1e68a gowin: add an option to manually specify family
In the vendor IDE, there's a device family named GW1N-9C (which seems to
mean C revision of GW1N-9), in which the model numbers are all the same
with GW1N-9.

Add an option to nextpnr-gowin to allow manually specified family for
this situation.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2022-02-06 12:01:51 +01:00
gatecat
e5bfff6e9f viaduct: Allow constraining only cascades without fanout
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-04 20:49:32 +00:00
gatecat
4b72f02255
Merge pull request #907 from YosysHQ/gatecat/generic-pips-py-fix
generic: Add missing Pip vector binding
2022-02-04 20:48:41 +00:00
gatecat
5ef5c33e9e generic: Add missing Pip vector binding
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-04 15:54:41 +00:00
gatecat
69625564ca
Merge pull request #906 from yrabbit/gowin-gui-noc
gowin: Speed up the GUI
2022-02-04 15:47:30 +00:00
gatecat
d13a4f4c7a
Merge pull request #904 from yrabbit/diff-locations
gowin: Add a DS location recognition
2022-02-04 15:46:59 +00:00
YRabbit
0675b98437 gowin: Speed up the GUI
By mistake, an empty decal gets filled with graphical elements.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-02-04 14:24:22 +10:00
YRabbit
1152c9f2f8 gowin: Remove leftover debugging
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-02-04 09:18:08 +10:00
YRabbit
eb5d3b3197 Merge branch 'master' into diff-locations 2022-02-04 09:03:36 +10:00
gatecat
5007cd3603
Merge pull request #905 from YosysHQ/gatecat/nexus-disable-dcsroute
nexus: Hotfix to disable unimplemented DCS routethru
2022-02-03 21:40:30 +00:00
gatecat
84399caebe run clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-03 15:28:46 +00:00
gatecat
a78719ecc1
Merge pull request #901 from yrabbit/gowin-gui-noc
gowin: Add GUI.
2022-02-03 15:27:08 +00:00
gatecat
d446a29987 nexus: Hotfix to disable unimplemented DCS routethru
Signed-off-by: gatecat <gatecat@ds0.me>
2022-02-03 14:59:25 +00:00
YRabbit
604260a0d7 gowin: Add a DS location recognition
For differential signals it is necessary to set the position of two pins
at once: P and N.
This commit adds that capability and also adds another style of location
setting --- with the pin letter in square brackets used in vendor tools.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-02-03 11:26:45 +10:00
YRabbit
368299d143 gowin: Rearrange the GUI constants
All internal constants for describing the graphics have been moved
to the .cc file.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-02-03 06:24:40 +10:00
YRabbit
7ba1466333 Merge branch 'master' into gowin-gui-noc 2022-02-02 19:05:36 +10:00
gatecat
6fceac95c0
Merge pull request #902 from antmicro/nexus-osc-tolerance-2
Honor nexus OSCA frequency tolerance (corrected)
2022-02-02 08:49:31 +00:00
Maciej Kurc
3042f9e792 Fixed correction of Nexus OSCA frequency constraints
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2022-02-02 09:24:28 +01:00
YRabbit
370e98a248 Merge branch 'master' into gowin-gui-noc 2022-02-02 07:24:00 +10:00
gatecat
c306ef12bc
Merge pull request #897 from antmicro/nexus-improve-estimate
nexus: arch: add option to adjust the estimation delay multiplication factor
2022-02-01 11:20:26 +00:00
Alessandro Comodi
676e56e5d4 nexus: add option to modify the mult factor of the estimate delay
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-02-01 11:18:17 +01:00
YRabbit
22e4081c73 gowin: Add GUI.
* Items such as LUT, DFF, MUX, ALU, IOB are displayed;
* Local wires, 1-2-4-8 wires are displayed;
* The clock spines, taps and branches are displayed with some caveats.

For now, you can not create a project in the GUI because of possible
conflict with another PR (about GW1NR-9C support), but you can specify
the board in the command line and load .JSON and .CST in the GUI.

Although ALUs are displayed, but the CIN and COUT wires are not. This is
still an unsolved problem.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-01-29 14:45:17 +10:00
gatecat
e069b3bc6a
Merge pull request #900 from antmicro/nexus-osc-tolerance
Honor nexus OSCA frequency tolerance
2022-01-28 19:19:33 +00:00
Maciej Kurc
e51e82d6a9 Added honoring OSCA output frequency tolerance during constraints generation
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2022-01-28 13:51:10 +01:00
gatecat
1301feb4ad
Merge pull request #899 from antmicro/nexus-dsp-packing
Fix for Nexus DSP packing
2022-01-25 12:30:39 +00:00
Maciej Kurc
18f71ace8c Removed the need for MULT36_CORE bel for implementing the MULTADDSUB9X9WIDE macro
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2022-01-25 12:08:52 +01:00
gatecat
fbeef2b8c2
Merge pull request #895 from galibert/master
Sync with the current state of mistral
2022-01-19 13:22:40 +00:00
Olivier Galibert
27d38de612 Mistral: Use log_error, remove leftover debugging printf. 2022-01-19 08:42:29 +01:00
Olivier Galibert
91a0eb9367 Mistral: fix gpio OE, add hmc bypass support 2022-01-18 22:37:35 +01:00
Olivier Galibert
b5fc788153 Sync with the current state of mistral 2022-01-18 15:12:45 +01:00
gatecat
58a1b473b8
Merge pull request #873 from YosysHQ/gatecat/ice40-carry-lut
ice40: Pack LUT at start of carry chain if there is 1 candidate
2022-01-16 19:59:56 +00:00