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:
parent
a739e21a5f
commit
9d0bca9775
3 changed files with 6 additions and 6 deletions
|
@ -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 *)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue