mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-31 15:24:57 +00:00
greenpak4: Added GP_DFFxI cells
This commit is contained in:
parent
2b062c48cb
commit
3b9756c6a3
2 changed files with 68 additions and 0 deletions
|
@ -24,6 +24,32 @@ module GP_DFFR(input D, CLK, nRST, output reg Q);
|
|||
);
|
||||
endmodule
|
||||
|
||||
module GP_DFFSI(input D, CLK, nSET, output reg Q);
|
||||
parameter [0:0] INIT = 1'bx;
|
||||
GP_DFFSRI #(
|
||||
.INIT(INIT),
|
||||
.SRMODE(1'b1),
|
||||
) _TECHMAP_REPLACE_ (
|
||||
.D(D),
|
||||
.CLK(CLK),
|
||||
.nSR(nSET),
|
||||
.Q(Q)
|
||||
);
|
||||
endmodule
|
||||
|
||||
module GP_DFFRI(input D, CLK, nRST, output reg Q);
|
||||
parameter [0:0] INIT = 1'bx;
|
||||
GP_DFFSRI #(
|
||||
.INIT(INIT),
|
||||
.SRMODE(1'b0),
|
||||
) _TECHMAP_REPLACE_ (
|
||||
.D(D),
|
||||
.CLK(CLK),
|
||||
.nSR(nRST),
|
||||
.Q(Q)
|
||||
);
|
||||
endmodule
|
||||
|
||||
module GP_OBUFT(input IN, input OE, output OUT);
|
||||
GP_IOBUF _TECHMAP_REPLACE_ (
|
||||
.IN(IN),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue