Commit Graph

4113 Commits

Author SHA1 Message Date
gatecat
fcf2bf6a95
Merge pull request #970 from yrabbit/nr9-wip
gowin: handle the GW1N-9 feature.
2022-04-03 11:40:50 +01:00
YRabbit
85e8570a73 gowin: handle the GW1N-9 feature.
This chip has a different default state for one type of I/O buffer ---
you have to explicitly switch it to the normal state by feeding VCC/VSS
to certain inputs.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-04-03 10:05:27 +10:00
gatecat
2ed68a21db clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-31 10:49:00 +01:00
gatecat
219310b203
Merge pull request #969 from YosysHQ/gatecat/ice40-wirename-fix
ice40: Fix wirenames containing / which is the list separator
2022-03-31 06:45:54 +01:00
gatecat
336124b879 ice40: Fix wirenames containing / which is the list separator
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-30 20:57:00 +01:00
gatecat
e96ec9a102
Merge pull request #968 from tpambor/gowin-osc-fix
gowin: Fix z-index of oscillator
2022-03-30 18:57:54 +01:00
Tim Pambor
601b32948b gowin: Fix z-index of oscillator 2022-03-30 17:35:54 +02:00
gatecat
5850cb6336
Merge pull request #952 from antmicro/mdudek/nexus_pll
Nexus: Fixed OSCA parameters, add pll default parameters
2022-03-30 15:39:10 +01:00
Maciej Dudek
b9e76d1bcd Rename parse_lattice_param to parse_lattice_param_from_cell
Add new definition for parse_lattice_param

Now parse_lattice_param is design to parse Property rather than search for it in cell.
This functionalty was move to parse_lattice_param_from_cell.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
2022-03-30 14:59:47 +02:00
gatecat
84c5b578d4
Merge pull request #966 from YosysHQ/gatecat/ice40-opt
ice40: Merge driving LUT<=2s into carry-only LCs
2022-03-29 15:20:45 +01:00
gatecat
6f6b502f7a
Merge pull request #960 from YosysHQ/gatecat/viaduct-docs
First pass viaduct docs
2022-03-29 14:06:23 +01:00
gatecat
bd81dcc8f9
Merge pull request #965 from tpambor/gowin-osc
gowin: Add bels for oscillator
2022-03-29 13:57:40 +01:00
gatecat
5a9ddc0675 ice40: Merge driving LUT<=2s into carry-only LCs
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-29 13:37:14 +01:00
Tim Pambor
12b38bab6d gowin: Add bels for oscillator 2022-03-27 22:15:12 +02:00
gatecat
3ed53153ca
Merge pull request #963 from yrabbit/oddr-quirk
gowin: Consider the peculiarity of GW1NR-9C
2022-03-26 17:07:15 +00:00
YRabbit
be8d3fd74d gowin: Consider the peculiarity of GW1BR-9C
The GW1NR-9C chip ODDR implementation differs from all other supported
chips by two suspicious inputs.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-26 20:56:30 +10:00
gatecat
374ac6d162
Merge pull request #961 from YosysHQ/ice40/pll-debug
ice40: Improve error reporting for PLL conflicts
2022-03-25 18:42:41 +00:00
gatecat
07c8506372 ice40: Improve error reporting for PLL conflicts
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-25 15:55:07 +00:00
YRabbit
69b4461f55
gowin: Name the constants (#958)
Place arbitrary constants side by side to avoid conflicts.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-21 20:15:29 +00:00
gatecat
b234828125 docs: Initial reference for the Viaduct 'uarch' API
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-21 20:12:58 +00:00
Pepijn de Vos
bb923c7732
Gowin: use global VCC and VSS nets (#956)
* use global VCC and VSS nets

* derp

* remove init parameter
2022-03-19 18:44:08 +00:00
gatecat
774d3944b3 parallel_refine: Fix compile error with some configs
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-19 18:43:31 +00:00
gatecat
7703cf61d0
Merge pull request #955 from YosysHQ/gatecat/mistral-updates-2
mistral: Updated CLK mux select name
2022-03-18 19:44:35 +00:00
gatecat
5e9236f9d4 mistral: Updated CLK mux select name
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-18 18:54:40 +00:00
gatecat
051228c49a
Merge pull request #953 from YosysHQ/gatecat/mistral-updates
mistral: Update to latest upstream
2022-03-18 17:52:47 +00:00
Maciej Dudek
49cc4ca30b Nexus: Fixed OSCA parameters, add pll default parameters
Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
2022-03-18 17:26:06 +01:00
gatecat
8e9d0a6e09
Merge pull request #954 from YosysHQ/gatecat/rapidwright-update
ci: Fixes for latest RapidWright
2022-03-17 20:57:56 +00:00
gatecat
29654c52be ci: Fixes for latest RapidWright
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-17 20:01:44 +00:00
gatecat
14d53dfec8 clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-17 19:24:05 +00:00
gatecat
d8244bb62d mistral: Update to latest upstream
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-17 19:19:38 +00:00
gatecat
2635bab2f1 ecp5: Fix double-counting of FFs in report
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-16 15:44:45 +00:00
gatecat
c278a29a38
Merge pull request #950 from yrabbit/start
gowin: don't crash if no arguments are set
2022-03-16 14:41:18 +00:00
gatecat
c9fd41c529
Merge pull request #948 from antmicro/dcs_support
nexus: DCS support
2022-03-16 09:40:17 +00:00
Maciej Kurc
237391c1b8 nexus: Corrected auto frequency constraint for LF output of OSCA
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2022-03-16 09:20:15 +01:00
Maciej Kurc
43861c0ee2 nexus: Added support for the DCS Bel
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2022-03-16 09:20:15 +01:00
gatecat
74783c0c09
Merge pull request #949 from yrabbit/thousands
BUGFIX: disable the thousands separator
2022-03-16 07:02:35 +00:00
YRabbit
c898587b87 gowin: don't crash if no arguments are set
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-16 15:47:13 +10:00
YRabbit
e3b9c971f9 BUGFIX: disable the thousands separator
The wire numbers are very large and it is undesirable to use a thousand
separator there. This is a side effect of enabling locale.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-16 15:05:27 +10:00
gatecat
2df9d3537b
Merge pull request #943 from yrabbit/locale
gowin: support for locales other than en_US and C
2022-03-15 20:44:03 +00:00
YRabbit
53ddbbaa85 Set the locale as early as possible
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-16 05:39:55 +10:00
gatecat
e327050bd1
Merge pull request #944 from Riesi/master
ice40: fix crash when packing LUTs with no output
2022-03-15 18:59:45 +00:00
gatecat
81b48b414b
Merge pull request #947 from antmicro/dcc_enhancements
nexus: DCC support fixups
2022-03-15 18:54:18 +00:00
YRabbit
ad00f3fdeb gowin: test locale workaround
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-15 21:52:32 +10:00
Maciej Kurc
1cc71c7846 nexus: Added FASM feature emission for DCC and port timing class info
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2022-03-15 10:43:31 +01:00
gatecat
6ed625be8e
Merge pull request #945 from yrabbit/wip-oddr
gowin: add support for ODDR primitive
2022-03-15 07:42:00 +00:00
YRabbit
badef293eb gowin: add support for ODDR primitive
Compatible with older versions of apicula bases.
Also small fixes and as the number of virtual Bels grows it is necessary
to assign them Z coordinate in a centralized way to avoid conflicts and
for this purpose introduced the BelZ enum.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-15 11:02:37 +10:00
Stefan Riesenberger
e9ce55bfd0 ice40: fix crash when packing LUTs with no output 2022-03-14 12:43:19 +01:00
YRabbit
25d7e3ae8b gowin: support for locales other than en_US and C
Specifically, those locales where the fractional part separator in
floating point numbers is not a dot.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-14 21:41:57 +10:00
gatecat
b852df3260
Merge pull request #942 from yrabbit/bugfix-1
gowin: BUGFIX temporarily disable the budget
2022-03-14 07:53:48 +00:00
YRabbit
4736acb3d5 fix identation
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2022-03-14 17:42:50 +10:00