yosys4gal/techmaps/olmc_comb.v
2024-04-04 20:39:30 -05:00

72 lines
1,008 B
Verilog

(* techmap_celltype = "GAL_COMB_OUTPUT_P" *)
module _80_GAL_COMB_OUTPUT_P (A, Y);
input A;
output Y;
generate
GAL_OLMC #(
.REGISTERED(1'b0),
.INVERTED(1'b0)
) _TECHMAP_REPLACE_ (
.C(1'bX),
.E(1'b1),
.A(A),
.Y(Y)
);
endgenerate
endmodule
(* techmap_celltype = "$_NOT_" *)
module _80_NOT (A, Y);
input A;
output Y;
generate
GAL_OLMC #(
.REGISTERED(1'b0),
.INVERTED(1'b1)
) _TECHMAP_REPLACE_ (
.C(1'bX),
.E(1'b1),
.A(A),
.Y(Y)
);
endgenerate
endmodule
(* techmap_celltype = "GAL_TRI" *)
module _80_GAL_TRI (A, E, Y);
input A, E;
inout Y;
generate
GAL_OLMC #(
.REGISTERED(1'b0),
.INVERTED(1'b0)
) _TECHMAP_REPLACE_ (
.C(1'bX),
.E(E),
.A(A),
.Y(Y)
);
endgenerate
endmodule
(* techmap_celltype = "GAL_TRI_N" *)
module _80_GAL_TRI (A, E, Y);
input A, E;
inout Y;
generate
GAL_OLMC #(
.REGISTERED(1'b0),
.INVERTED(1'b1)
) _TECHMAP_REPLACE_ (
.C(1'bX),
.E(E),
.A(A),
.Y(Y)
);
endgenerate
endmodule