Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > replace with sums and shifs

Reply
Thread Tools

replace with sums and shifs

 
 
Hyuma Hyuma is offline
Junior Member
Join Date: Oct 2010
Posts: 3
 
      10-14-2010
hello guys!

I 've a question how can i change this istructions in my structural with simple sums and shifts operations?

pOut <= CONV_STD_LOGIC_VECTOR((2* CONV_INTEGER(pIn) + 1), bitWidth/2 + 1);

pOut <= CONV_STD_LOGIC_VECTOR((2* CONV_INTEGER(pIn)), bitWidth/2 + 1);

thank you in advance
 
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
Re: change with sums and shifts Martin Thompson VHDL 4 10-15-2010 03:07 PM
Re: change with sums and shifts Tricky VHDL 1 10-14-2010 08:35 AM
calculate all possible sums from one int array jacksu Java 7 06-23-2006 10:27 PM
Why different sums for these two functions for large sets of data? Eric Lilja C++ 9 05-26-2005 12:42 AM
ADSL sums -=rjh=- NZ Computing 52 01-18-2004 09:30 AM



Advertisments