Feb 27, 2024 #1 I irfanraina1@123 Newbie Joined Feb 27, 2024 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 9 How to use concatenation operator in VHDL for shifting without using any function?
Feb 27, 2024 #2 barry Advanced Member level 7 Joined Mar 31, 2005 Messages 6,333 Helped 1,194 Reputation 2,400 Reaction score 1,389 Trophy points 1,393 Location California, USA Activity points 34,485 I think that’s three separate questions. You can use both concatenate or shift without a function. Here’s one way to shift an 8-bit vector Code: result <= vect(5 downto 0) & “00”; — shift left 2 bits. Upvote 0 Downvote
I think that’s three separate questions. You can use both concatenate or shift without a function. Here’s one way to shift an 8-bit vector Code: result <= vect(5 downto 0) & “00”; — shift left 2 bits.
Feb 27, 2024 #3 A Akanimo Advanced Member level 3 Joined Aug 30, 2016 Messages 848 Helped 145 Reputation 290 Reaction score 165 Trophy points 1,323 Activity points 7,127 Hi, You can only use the concatenation operator at the RHS of your assignment operator. --- Updated Feb 27, 2024 --- If you're having an issue with your code, then you may have to post the affected part of your code here. Upvote 0 Downvote
Hi, You can only use the concatenation operator at the RHS of your assignment operator. --- Updated Feb 27, 2024 --- If you're having an issue with your code, then you may have to post the affected part of your code here.