tri32.v

来自「A small MIPS R2000 implementation in VHD」· Verilog 代码 · 共 12 行

V
12
字号
module Tri32(I, OE, O);

  input		[31:0] I;
  input		OE;
  output	[31:0] O;

  // output is set to the input if output enable is asserted, tristated otherwise
	  
  assign O = (OE) ? I : 32'hzzzzzzzz;

endmodule

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?