3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-24 03:57:54 +00:00

Added synth_ice40 support for latches via logic loops

This commit is contained in:
Clifford Wolf 2016-05-06 23:02:37 +02:00
parent d10dfccabb
commit 6fe3d5a1cf
3 changed files with 13 additions and 0 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