mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-29 20:59:03 +00:00
ecp5: Add latch inference
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
6514443a5c
commit
677b8ed3ca
3 changed files with 12 additions and 3 deletions
11
techlibs/ecp5/latches_map.v
Normal file
11
techlibs/ecp5/latches_map.v
Normal file
|
@ -0,0 +1,11 @@
|
|||
module \$_DLATCH_N_ (E, D, Q);
|
||||
wire [1023:0] _TECHMAP_DO_ = "simplemap; opt";
|
||||
input E, D;
|
||||
output Q = !E ? D : Q;
|
||||
endmodule
|
||||
|
||||
module \$_DLATCH_P_ (E, D, Q);
|
||||
wire [1023:0] _TECHMAP_DO_ = "simplemap; opt";
|
||||
input E, D;
|
||||
output Q = E ? D : Q;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue