3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 20:21:25 +00:00

add IOBUF

This commit is contained in:
Pepijn de Vos 2019-10-28 15:33:05 +01:00
parent 903f997391
commit 0f6269b04c
2 changed files with 10 additions and 1 deletions

View file

@ -308,6 +308,14 @@ module TBUF (O, I, OEN);
assign O = OEN ? I : 1'bz;
endmodule
module IOBUF (O, IO, I, OEN);
input I,OEN;
output O;
inout IO;
assign IO = OEN ? I : 1'bz;
assign I = IO;
endmodule
module GSR (input GSRI);
wire GSRO = GSRI;
endmodule