Commit 0b2c61b7 by Miodrag Milanovic

wire init not good for wire in iverilog

parent d7403442
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -5,8 +5,8 @@ module testbench;
reg patt_carry_out = 0;
reg patt_out1 = 0;
reg patt_carry_out1 = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -5,8 +5,8 @@ module testbench;
reg patt_carry_out = 0;
reg patt_out1 = 0;
reg patt_carry_out1 = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -5,8 +5,8 @@ module testbench;
reg patt_carry_out = 0;
reg patt_out1 = 0;
reg patt_carry_out1 = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -5,8 +5,8 @@ module testbench;
reg patt_carry_out = 0;
reg patt_out1 = 0;
reg patt_carry_out1 = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -5,8 +5,8 @@ module testbench;
reg patt_carry_out = 0;
reg patt_out1 = 0;
reg patt_carry_out1 = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -5,8 +5,8 @@ module testbench;
reg patt_carry_out = 0;
reg patt_out1 = 0;
reg patt_carry_out1 = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
......@@ -3,8 +3,8 @@ module testbench;
reg patt_out = 0;
reg patt_carry_out = 0;
wire out = 0;
wire carryout = 0;
wire out;
wire carryout;
initial begin
// $dumpfile("testbench.vcd");
......
module testbench;
reg [4:0] in;
wire [1:0] Ap = 0;
wire [2:0] Bp = 0;
wire [2:0] Cp = 0;
wire [1:0] A = 0;
wire [2:0] B = 0;
wire [2:0] C = 0;
wire [1:0] Ap;
wire [2:0] Bp;
wire [2:0] Cp;
wire [1:0] A;
wire [2:0] B;
wire [2:0] C;
initial begin
// $dumpfile("testbench.vcd");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment