diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2022-11-10 19:14:41 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2022-11-10 19:14:41 +1000 |
commit | a84ded4793ce66b0f4854349c929afae334d1e56 (patch) | |
tree | 53451f52123c43d3c6cf0f49c73f46627263b21e /gowin/constids.inc | |
parent | ac17c36bec5b0ae8d57b66f825acb6f21f2ca323 (diff) | |
download | nextpnr-a84ded4793ce66b0f4854349c929afae334d1e56.tar.gz nextpnr-a84ded4793ce66b0f4854349c929afae334d1e56.tar.bz2 nextpnr-a84ded4793ce66b0f4854349c929afae334d1e56.zip |
gowin: add initial PLL support
The rPLL primitive for the simplest chip (GW1N-1) in the family is
processed. All parameters of the primitive are passed on to gowin_pack,
and general-purpose wires are used for routing outputs of the primitive.
Compatible with older versions of apicula, but in this case will refuse
to place the new primitive.
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/constids.inc')
-rw-r--r-- | gowin/constids.inc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gowin/constids.inc b/gowin/constids.inc index ec1137fc..59f364e7 100644 --- a/gowin/constids.inc +++ b/gowin/constids.inc @@ -851,6 +851,11 @@ X(OSCZ) X(OSCH) X(OSCF) +// PLLs +X(rPLL) +X(RPLLA) +X(RPLLB) + // primitive attributes X(INIT) X(FF_USED) @@ -861,6 +866,7 @@ X(ENABLE_USED) X(BEL) X(DIFF) X(DIFF_TYPE) +X(DEVICE) // ports X(EN) @@ -886,6 +892,44 @@ X(V) X(G) X(OSCOUT) X(OSCEN) +X(RESET_P) +X(CLKFB) +X(FBDSEL0) +X(FBDSEL1) +X(FBDSEL2) +X(FBDSEL3) +X(FBDSEL4) +X(FBDSEL5) +X(IDSEL0) +X(IDSEL1) +X(IDSEL2) +X(IDSEL3) +X(IDSEL4) +X(IDSEL5) +X(ODSEL0) +X(ODSEL1) +X(ODSEL2) +X(ODSEL3) +X(ODSEL4) +X(ODSEL5) +X(PSDA0) +X(PSDA1) +X(PSDA2) +X(PSDA3) +X(DUTYDA0) +X(DUTYDA1) +X(DUTYDA2) +X(DUTYDA3) +X(FDLY0) +X(FDLY1) +X(FDLY2) +X(FDLY3) +X(CLKIN) +X(CLKOUT) +X(CLKOUTP) +X(CLKOUTD) +X(CLKOUTD3) +X(LOCK) // timing X(X0) |