blach100
Junior Member level 3
- Joined
- Jul 15, 2011
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,483
** COMPONENT jasmin*
* PORT(*
* CLK : IN std_logic;*
* Reset : IN std_logic;*
* xt : OUT std_logic_vector(0 downto -14);*
* yt : OUT std_logic_vector(0 downto -14)*
* );*
* END COMPONENT;*
*Error: testB1.vhd(46): (vcom-1144) Value -14 (of type std.STANDARD.NATURAL) is out of range 0 to 2147483647.
i'm using negative number (-14) because the result of my module is actually numbers between 0 and 1
Nope.ok a brief introduction to my project
I would like to create a half sinewave, so the result of all the calculation must be between 0 and 1
I hope it makes sense now
I guess you forgot to import the fixed point libraries to the testbench. By the way, I think it would be appropriate to file a support request about this code generator limitation.I tried to edit my testbensh from std_logic_vector to ufixed, give me error : Error: testB3.vhd(46): (vcom-1136) Unknown identifier "ufixed".
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?