Forum Discussion
sstrell
Super Contributor
4 years agoYou can't have more than one name on a bus.
Try naming the bus q[3..0].
OldMarty
New Contributor
4 years agoHi,
ok, i renamed the data[3..0] bus in my diagram to q[3..0] and it seems to compile correctly (no errors now).
I also had to rename the q[5..0] to q[3..0] to avoid bus width mismatch errors.
I then removed the 2 buses i was using, and simply created a single bus between the counter/decoder devices and named it q[3..0] and it still works correctly.
Just for giggles, i decided to rename the bus to fred[3..0] and it still compiles without errors! what the?
Hmmm, odd, i didn't know a bus can basically be named as 'anything', i always thought i had to adhere to a d[n..0] or q[n..0] description as used on the devices being connected.
with thanks