W
Weddick
If I have a bus --> xyz(31 downto 0) is there a way to assign another name
such that it references xyz(20 downto 10)?
Thanks,
Joel
such that it references xyz(20 downto 10)?
Thanks,
Joel
Weddick said:If I have a bus --> xyz(31 downto 0) is there a way to assign another name
such that it references xyz(20 downto 10)?
_right_v_Mike said:variable left_v : unsigned( 9 downto 0); _right_v_
and use these to assign to the bus:
bus <= left_v & mid_v & left_v;
You could use an alias for this.
The downside is that aliases are not visible in simulation.
Srinivasan said:Since alias doesn't create new objects, tools are not able to display them
in Waveforms?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.