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:
parent
d10dfccabb
commit
6fe3d5a1cf
3 changed files with 13 additions and 0 deletions
11
techlibs/ice40/latches_map.v
Normal file
11
techlibs/ice40/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