mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 18:52:23 +00:00
32 lines
431 B
Verilog
32 lines
431 B
Verilog
(* techmap_celltype = "GAL_OLMC" *)
|
|
module _80_GAL_OLMC (C, E, A, Y);
|
|
parameter REGISTERED = 0;
|
|
parameter INVERTED = 0;
|
|
|
|
input C, E, A;
|
|
inout Y;
|
|
|
|
wire int;
|
|
|
|
generate
|
|
GAL_OLMC #(
|
|
.REGISTERED(REGISTERED),
|
|
.INVERTED(INVERTED)
|
|
) _TECHMAP_REPLACE_ (
|
|
.C(C),
|
|
.E(E),
|
|
.A(int),
|
|
.Y(Y)
|
|
);
|
|
|
|
GAL_SOP #(
|
|
.WIDTH(1),
|
|
.DEPTH(1),
|
|
.TABLE(10)
|
|
) trivial_sop (
|
|
.A(A),
|
|
.Y(int),
|
|
);
|
|
endgenerate
|
|
endmodule
|