easy one

C

crazyrdx

How can I assign a signed vector of length 9 to a signed vector of
length 12. ?
 
A

Andy Peters

crazyrdx said:
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
 
D

Duane Clark

crazyrdx said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,915
Members
47,456
Latest member
JavierWalp

Latest Threads

Top