Guest
I've recently spent more than four hours just trying to catch two
trivial incorrect vector assignments (incorrectly declaring vector as
scalar & 3-bit vector as 4-bit vector) in Verilog design modules.
I'm fairly new to Verilog, and I'm not that comfortable with using
ModelSim or analyzing Verilog codes yet.
So, just in case I make similar mistake some time later, I was
wondering if there is any function in ModelSim that catches those kind
of mistakes, like printing out a warning on the screen when there is a
mismatch in the size of a vector or something.
trivial incorrect vector assignments (incorrectly declaring vector as
scalar & 3-bit vector as 4-bit vector) in Verilog design modules.
I'm fairly new to Verilog, and I'm not that comfortable with using
ModelSim or analyzing Verilog codes yet.
So, just in case I make similar mistake some time later, I was
wondering if there is any function in ModelSim that catches those kind
of mistakes, like printing out a warning on the screen when there is a
mismatch in the size of a vector or something.