sun_ray
Advanced Member level 3
- Joined
- Oct 3, 2011
- Messages
- 772
- Helped
- 5
- Reputation
- 10
- Reaction score
- 5
- Trophy points
- 1,298
- Activity points
- 6,828
Look at the following case
case (s)
2'b00 y = 1'b1;
2'b00 y = 1'b0;
2'b01 y = 1'b1;
2'b10 y = 1'b0;
2'b11 y = 1'b1;
The case item condition 2'b00 is provided twice.
How will it appear to the simulator and how will it appear to the synthesis tool?
I hear simulator will ignore the second occurence of 2'b00 but synthesis will take care of both the occurence of 2'b00.
case (s)
2'b00 y = 1'b1;
2'b00 y = 1'b0;
2'b01 y = 1'b1;
2'b10 y = 1'b0;
2'b11 y = 1'b1;
The case item condition 2'b00 is provided twice.
How will it appear to the simulator and how will it appear to the synthesis tool?
I hear simulator will ignore the second occurence of 2'b00 but synthesis will take care of both the occurence of 2'b00.