D
Dipu
Guest
HI,
We have a 8 bit signal in1[7:0]. We are using only 2 LSB bits in side
a combinatorial always process. Is it ok to use the complete bus in
the sensitivity list? Can there be any problem during simulation? We
are not able to come up with an error case. If anyone out there has
experience with this, we would like to hear from them.
For example,
wire [7:0] in1;
....
...
always @ ( in1, ..<other signals>...) begin
out1 = in1[1:0] + <other signals>;
end
vs
always @ ( in1[1:0], ..<other signals>...) begin
out1 = in1[1:0] + <other signals>;
end
The add function is just an example. We have a complex MUX logic here
which makes it impractical to with a "?:" procedural statement.
Thanks.
-Dipu
We have a 8 bit signal in1[7:0]. We are using only 2 LSB bits in side
a combinatorial always process. Is it ok to use the complete bus in
the sensitivity list? Can there be any problem during simulation? We
are not able to come up with an error case. If anyone out there has
experience with this, we would like to hear from them.
For example,
wire [7:0] in1;
....
...
always @ ( in1, ..<other signals>...) begin
out1 = in1[1:0] + <other signals>;
end
vs
always @ ( in1[1:0], ..<other signals>...) begin
out1 = in1[1:0] + <other signals>;
end
The add function is just an example. We have a complex MUX logic here
which makes it impractical to with a "?:" procedural statement.
Thanks.
-Dipu