Forum Discussion

MohamedSharfi's avatar
MohamedSharfi
Icon for New Contributor rankNew Contributor
2 years ago
Solved

can I select a specific bit of a bus to go into another bit to other bus?

I'm trying to take bits from output to input of the bus . example : result or r[3..0] = 0000 if my ones selector 0 new output[3..0] is 0001 if my ones is high new output[3..0] is 0010 i t...
  • ShengN_altera's avatar
    2 years ago

    Hi,

    For data1x, you have to give a name to the node line of VCC for example s[0].

    Then rename the bus name data1[3..0] to r[3..1],s[0]

    For data0x, same have to give a name to the node line of VCC for example s[1].

    Then rename the bus name data2[3..0] to r[3..2],s[1],r[0]

    Attached a sample screenshot for your reference.

    Thanks,

    Best Regards,

    Sheng

    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.