3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-22 02:57:51 +00:00

Gowin. Add an energy saving primitive

We add a BANDGAP primitive used to turn off power to OSC, PLL and other
things on some GOWIN chips.

We also mark this primitive and GSR as keep.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2024-07-06 18:58:21 +10:00
parent a739e21a5f
commit 9d0bca9775
3 changed files with 6 additions and 6 deletions

View file

@ -867,8 +867,12 @@ module ODDRC(D0, D1, CLEAR, TX, CLK, Q0, Q1);
parameter INIT = 0;
endmodule
(* blackbox, keep *)
module GSR (input GSRI);
wire GSRO = GSRI;
endmodule
(* blackbox, keep *)
module BANDGAP (input BGEN);
endmodule
(* abc9_box, lib_whitebox *)