3wais
Member level 4
- Joined
- Sep 12, 2011
- Messages
- 70
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,288
- Location
- Alexandria,Egypt
- Activity points
- 1,787
Hi,
I am trying to assign part of a signal to a part of another signal !!
I used this :
the others keyword in 3rd and 4th lines generates error ..
anyway else to write this ??
I am trying to assign part of a signal to a part of another signal !!
I used this :
Code:
ModDivisor(3) <= Divisor when SelDataSize="000" else
(Divisor(31 downto 8) & others =>'0') when SelDataSize = "001" else
(others =>'0' & Divisor(31 downto 16)) when SelDataSize = "01-" else
(others =>'0' & Divisor(31 downto 24));
the others keyword in 3rd and 4th lines generates error ..
anyway else to write this ??