mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-29 03:45:52 +00:00
start implementing support for intel le based logic devices
This commit is contained in:
parent
c403c984dd
commit
36bd075865
34 changed files with 3058 additions and 0 deletions
13
techlibs/intel_le/common/dff_map.v
Normal file
13
techlibs/intel_le/common/dff_map.v
Normal file
|
@ -0,0 +1,13 @@
|
|||
`default_nettype none
|
||||
|
||||
// D flip-flop with async reset and enable
|
||||
module \$_DFFE_PN0P_ (input D, C, R, E, output Q);
|
||||
wire _TECHMAP_REMOVEINIT_Q_ = 1'b1;
|
||||
MISTRAL_FF _TECHMAP_REPLACE_(.DATAIN(D), .CLK(C), .ACLR(R), .ENA(E), .SCLR(1'b0), .SLOAD(1'b0), .SDATA(1'b0), .Q(Q));
|
||||
endmodule
|
||||
|
||||
// D flip-flop with sync reset and enable (enable has priority)
|
||||
module \$_SDFFCE_PP0P_ (input D, C, R, E, output Q);
|
||||
wire _TECHMAP_REMOVEINIT_Q_ = 1'b1;
|
||||
MISTRAL_FF _TECHMAP_REPLACE_(.DATAIN(D), .CLK(C), .ACLR(1'b1), .ENA(E), .SCLR(R), .SLOAD(1'b0), .SDATA(1'b0), .Q(Q));
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue