A
andersod2
Guest
I am getting this error for this code - but can't figure out why it's
giving me that. When I take out the declaration of uut, the error
goes away and synthesizes fine:
`timescale 1ns/1ns
module tb;
///**************************************
//* Signal/Register Declarations *
//**************************************/
reg clk;
reg reset;
reg key_0;
reg key_1;
reg key_2;
wire [07:00] led;
// /**************************************
// * Module Instances *
// **************************************/
ped uut(.clk(clk), .reset_b(reset), .sig(key_0), .pulse(led));
// Generate Clocks
always #10 clk = ~clk;
initial begin
reset = 1;
clk = 0;
#100 reset = 0; // De-Assert Reset after 100 ns
end
`include "test.v"
endmodule
giving me that. When I take out the declaration of uut, the error
goes away and synthesizes fine:
`timescale 1ns/1ns
module tb;
///**************************************
//* Signal/Register Declarations *
//**************************************/
reg clk;
reg reset;
reg key_0;
reg key_1;
reg key_2;
wire [07:00] led;
// /**************************************
// * Module Instances *
// **************************************/
ped uut(.clk(clk), .reset_b(reset), .sig(key_0), .pulse(led));
// Generate Clocks
always #10 clk = ~clk;
initial begin
reset = 1;
clk = 0;
#100 reset = 0; // De-Assert Reset after 100 ns
end
`include "test.v"
endmodule