Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - easy one

 
Thread Tools Search this Thread
Old 09-07-2005, 07:25 PM   #1
Default easy one


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



crazyrdx
  Reply With Quote
Old 09-07-2005, 07:41 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: easy one
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


Mike Treseler
  Reply With Quote
Old 09-07-2005, 08:28 PM   #3
Andy Peters
 
Posts: n/a
Default Re: easy one
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



Andy Peters
  Reply With Quote
Old 09-07-2005, 09:35 PM   #4
Duane Clark
 
Posts: n/a
Default Re: easy one
crazyrdx wrote:
> How can I assign a signed vector of length 9 to a signed vector of
> length 12. ?
>


v12 <= v9(&v9(&v9(&v9;
Or is that not what you were looking for?


Duane Clark
  Reply With Quote
Old 09-11-2005, 12:46 PM   #5
crazyrdx
 
Posts: n/a
Default Re: easy one
Thanks , got what I was looking for.



crazyrdx
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting Intruders on Your System Is Fun and Easy konanimo@gmail.com DVD Video 0 12-11-2007 01:52 PM
DVD Verdict reviews: JETHRO TULL: NOTHING IS EASY: LIVE AT THE ISLE OF WIGHT 1970 and more! DVD Verdict DVD Video 0 05-17-2005 09:13 AM
"MAKE QUICK LEGAL EASY MONEY!!!!!!!!!!!!!!!!!!!!!!" bozo A+ Certification 0 02-28-2005 04:58 PM
Press Release - Visual CertExam Suite Makes It Easy to Create and Take Professional Practice Tests David Johnson A+ Certification 0 10-19-2004 05:03 PM
New Releases: Easy Rider, Christine & More 2-Packs: Updated complete downloadable R1 DVD DB & info lists Doug MacLean DVD Video 2 07-24-2004 11:57 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46