3
0
Fork 0
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:
David Shah 2018-10-18 19:39:48 +01:00
parent 6514443a5c
commit 677b8ed3ca
3 changed files with 12 additions and 3 deletions

View 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