mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 10:42:24 +00:00
72 lines
1,008 B
Verilog
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
|