Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > convert std_logic_vector_16 to std_logic_vector_32

Reply
Thread Tools

convert std_logic_vector_16 to std_logic_vector_32

 
 
zty zty is offline
Junior Member
Join Date: Oct 2006
Posts: 4
 
      02-23-2007
hello

now i get to convert
std_logic_vector(15 downto 0) to std_logic_vector(31 downto 0)

i have the stupid way is:
convert std_logic_vector_16 to an integer, and then convert this integer to
std_logic_vector_32.

is there any better way or existen function to do this job?

thinkyou

zty....
.........
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Qestion about convert Object to byte[] and convert it back davidxiongcn@gmail.com Java 5 11-04-2006 04:11 PM
IsNumeric: Convert.ToInt32 vs. Convert.ToInt64 sck10 ASP .Net 4 09-03-2006 09:40 PM
To convert to J2SE 6 or not to convert, that is the question... Jaap Java 4 07-10-2006 09:03 AM
convert list of strings to set of regexes; convert list of strings to trie Klaus Neuner Python 7 07-26-2004 07:25 AM
Do I need to Convert with Convert.ToInt32(session("myNumber")) ? Andreas Klemt ASP .Net 1 07-23-2003 02:59 PM



Advertisments