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

Reply

VHDL - problem on structural architcture

 
Thread Tools Search this Thread
Old 11-26-2007, 07:01 PM   #1
Default problem on structural architcture


hi guy, I'm new to the VHDL. I trying, without succeed to finish my project. I need some help .. It will take a bit to explane, just be patience and read the following... i will try to be as much clear as possible

I have to implement a behavioural and structural architecture of the following:
entity log_1_p_x_div_1_m_x is
port (x : in signed(15 downto 0);
y : out signed(23 downto 0));
end entity;

it can be approssimated by the equation:
y = 2x*(1+ x^2 *(1/3 + x^2 *(1/5 + 1/7*x^2)))

As u can see there are just product and sum, the x is in the range (-1, 1)
the behavioral is done, i attached some files
The code of behavioral architecture simulate also a pipeline system.

The problem is with the stuctural architecture.
Anybody have a idea how to do it? Or somebody have some example with the data type signed!! I think the problem is with this signed data type, related with the data format.
The input x is in format Q1.15 and the output will be in the Q5.19.
In the stuctural arch. there will be 3 adder, 5 multiplier to obtain a Q4.28 (assuming to have a 32 bit after the first multiplication, and use just those one, the others will be cuted). At the end i will have a shift that will bring the output at Q5.27, and i will pass just the more important bit

How to make the adder with signed?

Thanks a lot for the help!
If u can just wirte me soon
Ciao

PS. I added also some nice draw and the half of the code of the struct!


new_user
Attached Images
File Type: jpg rtl.jpg (136.9 KB, 1 views)
Attached Files
File Type: zip code_and_draw.zip (6.0 KB, 0 views)
new_user is offline   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
Comcast + Wireless Internet Problem shadoweloc General Help Related Topics 1 07-01-2008 06:19 PM
Dial Up Problem smackedass A+ Certification 3 02-02-2007 11:59 PM
Re: Virus Problem ** Help!** David BlandIII A+ Certification 1 03-02-2004 06:00 PM
Re: Serious Computer Problem hootnholler A+ Certification 1 11-24-2003 12:18 PM
Re: Serious Computer Problem Bret A+ Certification 0 11-19-2003 12:51 AM




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