redef.v

来自「openaccess与verilog互相转化时所用的源代码」· Verilog 代码 · 共 23 行

V
23
字号
// Verify that the reader can handle module redefinitions within the same// input file. The xyz module is defined twice and has different contents in // each definition. The second definintion should win.module leaf(input in, output out);endmodulemodule xyz (input a, output b);    leaf    I1(.in(a), .out(b));endmodule// This module should win.module xyz (input a, output b);    wire c;	    leaf    I1(.in(a), .out(c));    leaf    I2(.in(c), .out(b));endmodulemodule top ();    xyz u0 (x, y);endmodule

⌨️ 快捷键说明

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