Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi,
Yes, apologies, I have instantiated the module incorrectly and here is the rewrite.
module my_mod(a, b);
input a;
output b;
assign b = a;
endmodule
module my_mod_tst();
reg x;
wire y;
reg z;
my_mod mm(x, y);
initial begin
x = 1;
z = y;
if (z == 1)...
Hi,
Would like to ask how to transfer a value of an output from DUT to test bench?
I have the following code:
module my_mod(a, b);
input a;
output b;
assign b = a;
endmodule
module my_mod_tst();
reg x;
wire y;
reg z;
my_mod_tst mmt(x, y);
initial...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.