1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/xilibs/hdl/IOBUFDS.v

24 lines
480 B
Coq
Raw Normal View History

2015-10-07 11:57:52 -04:00
module IOBUFDS (O, IO, IOB, I, T);
`ifdef XIL_TIMING
parameter LOC = "UNPLACED";
`endif // `ifdef XIL_TIMING
parameter DIFF_TERM = "FALSE";
parameter DQS_BIAS = "FALSE";
parameter IBUF_LOW_PWR = "TRUE";
parameter IOSTANDARD = "DEFAULT";
parameter SLEW = "SLOW";
localparam MODULE_NAME = "IOBUFDS";
output O;
inout IO, IOB;
input I, T;
2015-11-06 07:02:28 -05:00
assign O = IO & ~IOB;
assign IO = T ? 1'bz : I;
assign IOB = T ? 1'bz : ~I;
2015-10-07 11:57:52 -04:00
endmodule