aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Switch to potentially-sparse net users arraygatecat2022-02-2734-465/+442
| | | | | | | | This uses a new data structure for net.users that allows gaps, so removing a port from a net is no longer an O(n) operation on the number of users the net has. Signed-off-by: gatecat <gatecat@ds0.me>
* Add indexed_store container typegatecat2022-02-262-0/+267
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Merge pull request #924 from Ravenslofty/okamigatecat2022-02-257-1/+638
|\ | | | | okami: new Viaduct arch
| * okami: new Viaduct archLofty2022-02-247-1/+638
| |
* | Merge pull request #923 from yrabbit/partnumber-regatecat2022-02-241-1/+1
|\ \ | |/ |/| gowin: recognize partnumbers of GW1NZ-1
| * gowin: recognize partnumbers of GW1NZ-1YRabbit2022-02-241-1/+1
|/ | | | | | | | | | | The model should be recognized by the partnumber, --family is needed only if the same partnumbers belong to different models. This is done in order to automatically generate parameters for calling nextpnr from Gowin files without problems: there also only partnumber is used and only in some cases the model is specified with the -name parameter and GW1NZ-1 is not such a case. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
* Merge pull request #922 from yrabbit/wip-0-lvdsgatecat2022-02-232-0/+87
|\ | | | | gowin: Add support for true differential output
| * gowin: Add support for true differential outputYRabbit2022-02-232-0/+87
|/ | | | | | | | | The new primitive appears as an amalgamation of two existing OBUF primitives. Compatible with older versions of apicula, although, of course, using TLVDS_OBUF with old databases will not bring the desired result, but no crash. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
* Merge pull request #921 from YosysHQ/gatecat/concat-overridesgatecat2022-02-201-0/+4
|\ | | | | Add IdStringList::concat overrides taking IdString
| * Add IdStringList::concat overrides taking IdStringgatecat2022-02-201-0/+4
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #913 from chiplet/gw1nz-1gatecat2022-02-202-2/+2
|\ \ | |/ |/| gowin: Add GW1NZ-1 support
| * gowin: bump apycula versionVerneri Hirvonen2022-02-161-1/+1
| |
| * gowin: Add GW1NZ-1Verneri Hirvonen2022-02-151-1/+1
| |
* | Merge pull request #919 from YosysHQ/gatecat/netlist-iiigatecat2022-02-1834-768/+765
|\ \ | | | | | | refactor: New member functions to replace design_utils
| * | refactor: New member functions to replace design_utilsgatecat2022-02-1834-768/+765
|/ / | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #918 from YosysHQ/gatecat/netlist-iigatecat2022-02-1643-2280/+2790
|\ \ | | | | | | Refactor pt2, barnacle cleanup
| * | refactor: Use constids instead of id("..")gatecat2022-02-1641-2137/+2686
| | | | | | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
| * | refactor: Use cell member functions to add portsgatecat2022-02-165-361/+322
|/ / | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #917 from YosysHQ/gatecat/netlist-igatecat2022-02-1618-170/+95
|\ \ | | | | | | refactor: New NetInfo and CellInfo constructors
| * | refactor: New NetInfo and CellInfo constructorsgatecat2022-02-1618-170/+95
|/ /
* | mistral: Fix 'not handled in switch' compiler warninggatecat2022-02-161-1/+2
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | clangformatgatecat2022-02-161-7/+7
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #914 from ept221/doc_updategatecat2022-02-161-1/+1
|\ \ | |/ |/| Fixed formatting typo in archapi.md
| * Fixed formatting typo in archapi.mdEzra Thomas2022-02-151-1/+1
|/
* Merge pull request #912 from danc86/nexus-osca-7percentgatecat2022-02-101-1/+1
|\ | | | | nexus: reduce OSCA worst case to 7%
| * nexus: reduce OSCA worst case to 7%Dan Callaghan2022-02-101-1/+1
|/ | | | | | | | | | | 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.
* Merge pull request #908 from YosysHQ/gatecat/generic-fanout-blockgatecat2022-02-062-2/+5
|\ | | | | viaduct: Allow constraining only cascades without fanout
| * viaduct: Allow constraining only cascades without fanoutgatecat2022-02-042-2/+5
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #909 from pepijndevos/mygw1n9cgatecat2022-02-063-8/+13
|\ \ | | | | | | Add support for GW1N-9C and --family argument
| * | add GW1N-9C dbPepijn de Vos2022-02-062-2/+2
| | |
| * | gowin: add an option to manually specify familyIcenowy Zheng2022-02-061-6/+11
|/ / | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #907 from YosysHQ/gatecat/generic-pips-py-fixgatecat2022-02-042-0/+13
|\| | | | | generic: Add missing Pip vector binding
| * generic: Add missing Pip vector bindinggatecat2022-02-042-0/+13
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #906 from yrabbit/gowin-gui-nocgatecat2022-02-041-4/+4
|\ \ | | | | | | gowin: Speed up the GUI
| * | gowin: Speed up the GUIYRabbit2022-02-041-4/+4
| | | | | | | | | | | | | | | | | | By mistake, an empty decal gets filled with graphical elements. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
* | | Merge pull request #904 from yrabbit/diff-locationsgatecat2022-02-041-12/+17
|\ \ \ | |_|/ |/| | gowin: Add a DS location recognition
| * | gowin: Remove leftover debuggingYRabbit2022-02-041-1/+0
| | | | | | | | | | | | Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
| * | Merge branch 'master' into diff-locationsYRabbit2022-02-0423-80/+6684
| |\ \ | |/ / |/| |
* | | Merge pull request #905 from YosysHQ/gatecat/nexus-disable-dcsroutegatecat2022-02-031-1/+6
|\ \ \ | | | | | | | | nexus: Hotfix to disable unimplemented DCS routethru
| * | | nexus: Hotfix to disable unimplemented DCS routethrugatecat2022-02-031-1/+6
| | | | | | | | | | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | | | run clangformatgatecat2022-02-037-23/+23
| | | | | | | | | | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | | | Merge pull request #901 from yrabbit/gowin-gui-nocgatecat2022-02-0316-57/+6656
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| gowin: Add GUI.
| * | gowin: Rearrange the GUI constantsYRabbit2022-02-032-4896/+4896
| | | | | | | | | | | | | | | | | | | | | All internal constants for describing the graphics have been moved to the .cc file. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
| * | Merge branch 'master' into gowin-gui-nocYRabbit2022-02-021-2/+2
| |\ \ | |/ / |/| |
| * | Merge branch 'master' into gowin-gui-nocYRabbit2022-02-023-1/+11
| |\ \
| * | | gowin: Add GUI.YRabbit2022-01-2916-57/+6656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| | | * gowin: Add a DS location recognitionYRabbit2022-02-031-12/+18
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #902 from antmicro/nexus-osc-tolerance-2gatecat2022-02-021-2/+2
|\ \ \ | |_|/ |/| | Honor nexus OSCA frequency tolerance (corrected)
| * | Fixed correction of Nexus OSCA frequency constraintsMaciej Kurc2022-02-021-2/+2
|/ / | | | | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* | Merge pull request #897 from antmicro/nexus-improve-estimategatecat2022-02-013-1/+11
|\ \ | |/ |/| nexus: arch: add option to adjust the estimation delay multiplication factor