mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-23 02:52:24 +00:00
18 lines
231 B
Coq
18 lines
231 B
Coq
|
module GAL_INOUT_TRI(A, E, I, Y);
|
||
|
input A, E;
|
||
|
output I;
|
||
|
inout Y;
|
||
|
|
||
|
generate
|
||
|
GAL_OLMC #(
|
||
|
REGISTERED = 0,
|
||
|
INVERTED = 0
|
||
|
) _TECHMAP_REPLACE_ (
|
||
|
.A(A),
|
||
|
.C(1'bX),
|
||
|
.E(E),
|
||
|
.Y(E ? Y : I);
|
||
|
);
|
||
|
endgenerate
|
||
|
endmodule
|