Nov 4, 2010 #1 T techtronz Newbie level 4 Joined Sep 6, 2010 Messages 5 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,317 What does this instruction "resize()" do...... i want to pad 2 bits to the msb of 14 bit data so that i will have a 16 bit data..... will using a resize() help or concatenation......? if there are any examples on how to acheive this do post.....?
What does this instruction "resize()" do...... i want to pad 2 bits to the msb of 14 bit data so that i will have a 16 bit data..... will using a resize() help or concatenation......? if there are any examples on how to acheive this do post.....?
Nov 4, 2010 #2 shnain Member level 3 Joined Jan 7, 2007 Messages 66 Helped 11 Reputation 22 Reaction score 9 Trophy points 1,288 Location Morocco Activity points 1,632 Hello, For resize function you can look to the following links : https://www.edaboard.com/threads/102403/ numeric_std resize function To pad bits to a data bus in order to build a larger bus you can simply use concatenation ('&' operator) ! Hope it helps !
Hello, For resize function you can look to the following links : https://www.edaboard.com/threads/102403/ numeric_std resize function To pad bits to a data bus in order to build a larger bus you can simply use concatenation ('&' operator) ! Hope it helps !