Altera_Forum
Honored Contributor
15 years agoCombine/Map one bus onto another
Hello,
Would someone be able to explain how to combine bits from two different buses? Say I had two buses Source[23..0] and Sink[21..0] - I want to map a number of bits from Source onto specific bits from Sink so: Source[5..0] drives Sink[5..0] and Source[13..8] drives Sink[11..6] and Source[22..16] drives Sink[17..12] I cannot change Sink as its width and configuration must remain as they are for part of the design to work. Is there any way to do this without connecting every signal through Wires? Thanks