Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNeed help with Verilog sending values
I failed to send values between 2 modules. Please help me fix it:
// top.v
module top;
src s(
.value (value)
);
wire value;
des d(
.value (value)
);
endmodule
// src.v
module src(value);
out...
Altera_Forum
Honored Contributor
14 years agoErm, looking back at your original code, you are trying to transmit a string via a single wire. I don't think you can do that in Verilog. You need to look for a Verilog example of how to use strings, I think you need a multibit wire ... but I don't code much in Verilog.
Cheers, Dave