Y
Yang Luo
Guest
I'm using modelsim se 10.1c. I find that modelsim for syntax checking is not strict.
There are some examples:
1) I use default settings to build a project. There is no error or warning whenn compiling but I used an undefined variable, only when simulating the signal is red line.
Example code:
input [D_SIZE: 0] i_a;
wire signed [D_SIZE: 0] w_a;
assign w_ia = i_a;
2) When using unassigned variable , the same situation with above.
Example code:
wire signed [D_SIZE: 0] w_ib;
wire signed [D_SIZE: 0] w_id;
wire signed [D_SIZE: 0] w_bd;
assign w_bd = w_ib - w_id;
Question:
How should I do to get more strict syntax checking in modelsim? If modelsim cannot get strict checking, is there other software can do?
Another question:
Modelsim rebuilding and cleanup project, how to operate? how to operate that I can know the compilation is all recompiled?
There are some examples:
1) I use default settings to build a project. There is no error or warning whenn compiling but I used an undefined variable, only when simulating the signal is red line.
Example code:
input [D_SIZE: 0] i_a;
wire signed [D_SIZE: 0] w_a;
assign w_ia = i_a;
2) When using unassigned variable , the same situation with above.
Example code:
wire signed [D_SIZE: 0] w_ib;
wire signed [D_SIZE: 0] w_id;
wire signed [D_SIZE: 0] w_bd;
assign w_bd = w_ib - w_id;
Question:
How should I do to get more strict syntax checking in modelsim? If modelsim cannot get strict checking, is there other software can do?
Another question:
Modelsim rebuilding and cleanup project, how to operate? how to operate that I can know the compilation is all recompiled?