tristate verilog code
module tristate (T, In, Out);
input T, In;
output Out;
reg Out;
always @(T or In)
begin
if (~T)
Out = In;
else
Out = 1'bZ;
end
endmodule
Labels: tristate
WELCOME IC FANS' HOME! --ASIC/IC Design,Logical Design,STA,Digital IC Design,Synthesis, and so on.
module tristate (T, In, Out);
Labels: tristate
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home