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

Reply

VHDL - floatfixlib synthesis

 
Thread Tools Search this Thread
Old 11-12-2008, 12:15 PM   #1
Default floatfixlib synthesis


I ve written a code below which can be simulated but cannot be synthesized in Leonardo Spectrum ver. 2007a.37

Here is the code
Code:
library IEEE; use IEEE.std_logic_1164.all; use IEEE.numeric_std.all; library floatfixlib; use floatfixlib.math_utility_pkg.all; use floatfixlib.fixed_pkg.all; entity test is port(a,b: in sfixed(7 downto -6); c: out sfixed(8 downto -6)); end test; architecture testing of test is begin c <= a+b; end testing;

Here is the synthesis error
Code:
-- Reading vhdl file C:/Documents and Settings/batur/Desktop/test.vhd into library work "C:/Documents and Settings/batur/Desktop/test.vhd",line 5: Warning, math_utility_pkg is not declared in library floatfixlib. "C:/Documents and Settings/batur/Desktop/test.vhd",line 6: Warning, fixed_pkg is not declared in library floatfixlib. "C:/Documents and Settings/batur/Desktop/test.vhd",line 9: Error, sfixed is not a known type. "C:/Documents and Settings/batur/Desktop/test.vhd",line 10: Error, sfixed is not a known type. "C:/Documents and Settings/batur/Desktop/test.vhd",line 9: Error, sfixed requires 0 index values. "C:/Documents and Settings/batur/Desktop/test.vhd",line 10: Error, sfixed requires 0 index values. Error in file C:/Documents and Settings/batur/Desktop/test.vhd. -- Error found in VHDL source


It says library error. Is Fixed point library "floatfixlib" synthesizable or not???
How can we write fixed point code that is synthesizable?


universeee
universeee 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
synthesis error sekhar_kollati Hardware 0 11-13-2007 04:48 AM
Synplicity synthesis error etoktas Hardware 0 07-12-2006 01:52 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