yosys4gal/techmaps/olmc_comb.v

72 lines
1,008 B
Coq
Raw Permalink Normal View History

2024-04-04 06:33:47 +00:00
(* techmap_celltype = "GAL_COMB_OUTPUT_P" *)
module _80_GAL_COMB_OUTPUT_P (A, Y);
2024-04-05 01:39:30 +00:00
input A;
output Y;
2024-04-04 06:33:47 +00:00
generate
GAL_OLMC #(
.REGISTERED(1'b0),
.INVERTED(1'b0)
) _TECHMAP_REPLACE_ (
.C(1'bX),
2024-04-04 17:02:51 +00:00
.E(1'b1),
2024-04-04 06:33:47 +00:00
.A(A),
.Y(Y)
);
endgenerate
endmodule
(* techmap_celltype = "$_NOT_" *)
module _80_NOT (A, Y);
2024-04-05 01:39:30 +00:00
input A;
output Y;
2024-04-04 06:33:47 +00:00
generate
GAL_OLMC #(
.REGISTERED(1'b0),
.INVERTED(1'b1)
) _TECHMAP_REPLACE_ (
.C(1'bX),
2024-04-04 17:02:51 +00:00
.E(1'b1),
2024-04-04 06:33:47 +00:00
.A(A),
.Y(Y)
);
endgenerate
endmodule
2024-04-05 01:39:30 +00:00
(* 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