Altera_Forum
Honored Contributor
13 years agoHow to adjust bus width?
In my design, sometimes I need to adjust bus width such as:
wire [10:0] a; wire [5:0] b; assign b={a[10:9],a[3:0]}; I always program like this. But it seems in some design it will cause problem and there are some errors which I can't understand appear in ModelSim simulation. I just wonder is there any other approaches to do bus width adjust which is better? Thanks very much.