mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-25 20:46:04 +00:00
coolrunner2: Initial mapping of latches
This commit is contained in:
parent
4af5baab21
commit
36b75dfcb7
4 changed files with 63 additions and 0 deletions
19
techlibs/coolrunner2/cells_latch.v
Normal file
19
techlibs/coolrunner2/cells_latch.v
Normal file
|
@ -0,0 +1,19 @@
|
|||
module $_DLATCH_P_(input E, input D, output Q);
|
||||
LDCP _TECHMAP_REPLACE_ (
|
||||
.D(D),
|
||||
.G(E),
|
||||
.Q(Q),
|
||||
.PRE(1'b0),
|
||||
.CLR(1'b0)
|
||||
);
|
||||
endmodule
|
||||
|
||||
module $_DLATCH_N_(input E, input D, output Q);
|
||||
LDCP_N _TECHMAP_REPLACE_ (
|
||||
.D(D),
|
||||
.G(E),
|
||||
.Q(Q),
|
||||
.PRE(1'b0),
|
||||
.CLR(1'b0)
|
||||
);
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue