Forum Discussion
8 Replies
- Altera_Forum
Honored Contributor
Quartus doesn't support them natively yet. i have used these:
http://vhdl.org/fphdl/index.html - Altera_Forum
Honored Contributor
Ive used the ones from thepancake's link for a couple of years without any problems (and they make things SOOO much easier to read when you're doing loads of fixed point).
- Altera_Forum
Honored Contributor
Just as another point, if you dont do it already.
You can also use sfixed for ports (even at the top level if you want) and infer rams and multipliers from it. No need to use std_logic_vector ever. - Altera_Forum
Honored Contributor
thepancake, thanks a lot for link!
- Altera_Forum
Honored Contributor
Tricky, will this type be translated like integer to std_logic_vector ?
- Altera_Forum
Honored Contributor
sfixed is just another array of std_logic, like unsigned or signed or std_logic_vector itself.
- Altera_Forum
Honored Contributor
ok, I've got it. Thank you!
- Altera_Forum
Honored Contributor
i ran across a problem that made me go back to std_logic_vector for ports, but i can't remember what it was
can you use sfixed in Qsys?