aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * nexus: add option to modify the mult factor of the estimate delayAlessandro Comodi2022-02-013-1/+11
|/ | | | Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
* Merge pull request #900 from antmicro/nexus-osc-tolerancegatecat2022-01-281-2/+3
|\ | | | | Honor nexus OSCA frequency tolerance
| * Added honoring OSCA output frequency tolerance during constraints generationMaciej Kurc2022-01-281-2/+3
|/ | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* Merge pull request #899 from antmicro/nexus-dsp-packinggatecat2022-01-251-1/+1
|\ | | | | Fix for Nexus DSP packing
| * Removed the need for MULT36_CORE bel for implementing the MULTADDSUB9X9WIDE ↵Maciej Kurc2022-01-251-1/+1
|/ | | | | | macro Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* Merge pull request #895 from galibert/mastergatecat2022-01-196-229/+83
|\ | | | | Sync with the current state of mistral
| * Mistral: Use log_error, remove leftover debugging printf.Olivier Galibert2022-01-193-37/+39
| |
| * Mistral: fix gpio OE, add hmc bypass supportOlivier Galibert2022-01-184-30/+78
| |
| * Sync with the current state of mistralOlivier Galibert2022-01-184-201/+5
|/
* Merge pull request #873 from YosysHQ/gatecat/ice40-carry-lutgatecat2022-01-161-0/+2
|\ | | | | ice40: Pack LUT at start of carry chain if there is 1 candidate
| * ice40: Pack LUT at start of carry chain if there is 1 candidategatecat2021-12-141-0/+2
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #894 from antmicro/integer-hashinggatecat2022-01-111-2/+5
|\ \ | | | | | | Better hashing function for integer pairs
| * | Switched integer pair hashing function from DJB2 to CantorMaciej Kurc2022-01-111-2/+5
|/ / | | | | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* | Merge pull request #893 from YosysHQ/gatecat/viaductgatecat2022-01-0718-28/+1055
|\ \ | | | | | | Viaduct API for a hybrid between generic and full-custom arch
| * | Viaduct API for a hybrid between generic and full-custom archgatecat2022-01-0418-28/+1055
|/ / | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Merge pull request #892 from yrabbit/off-by-onegatecat2022-01-031-1/+1
|\ \ | | | | | | gowin: Fix last MUX2_LUT8
| * | gowin: Fix last MUX8YRabbit2022-01-031-1/+1
|/ / | | | | | | | | | | In fact, there is also an input/output column. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>