easy one

C

crazyrdx

Guest
How can I assign a signed vector of length 9 to a signed vector of
length 12. ?
 
crazyrdx wrote:
How can I assign a signed vector of length 9 to a signed vector of
length 12. ?
numeric_std.resize

http://groups.google.com/groups?q=vhdl+resize+foo_se

-- Mike Treseler
 
crazyrdx wrote:
How can I assign a signed vector of length 9 to a signed vector of
length 12. ?
Well, do you want the LSB of the 9-bit vector to be the LSB of the
12-bit vector?

-a
 
crazyrdx wrote:
How can I assign a signed vector of length 9 to a signed vector of
length 12. ?
v12 <= v9(8)&v9(8)&v9(8)&v9;
Or is that not what you were looking for?
 

Welcome to EDABoard.com

Sponsor

Back
Top