cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
6,631 Views
Registered: ‎04-24-2016

Fixed point

Jump to solution

I'm trying to implement a project using fixed point number but i didn't find the Fixed_PKG package in the packages defined under IEEE library in Vivado 14/15 . so what i have to do to make this package work? 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
12,110 Views
Registered: ‎05-07-2015

Re: Fixed point

Jump to solution

HI mo7amed_elhady@yahoo.com

using this will do.
ieee.std_logic_1164.all;

ieee.numeric_std.all;

library ieee_proposed;

ieee_proposed.fixed_pkg.all;

 

refer page 190 of UG901
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_1/ug901-vivado-synthesis.pdf

 

Thanks
Bharath
--------------------------------------------------​--------------------------------------------
Please mark the Answer as "Accept as solution" if information provided addresses your query/concern.
Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------

View solution in original post

4 Replies
Highlighted
Xilinx Employee
Xilinx Employee
6,500 Views
Registered: ‎05-07-2015

Re: Fixed point

Jump to solution

HI mo7amed_elhady@yahoo.com

 

Vivado 2016.1 does have fixed_pkg

checkout 
C:\Xilinx\Vivado\2016.1\data\vhdl\src\ieee_2008
C:\Xilinx\Vivado\2016.1\data\xsim\vhdl\ieee_2008

Thanks
Bharath
--------------------------------------------------​--------------------------------------------
Please mark the Answer as "Accept as solution" if information provided addresses your query/concern.
Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------
Highlighted
6,470 Views
Registered: ‎04-24-2016

Re: Fixed point

Jump to solution

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
12,111 Views
Registered: ‎05-07-2015

Re: Fixed point

Jump to solution

HI mo7amed_elhady@yahoo.com

using this will do.
ieee.std_logic_1164.all;

ieee.numeric_std.all;

library ieee_proposed;

ieee_proposed.fixed_pkg.all;

 

refer page 190 of UG901
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_1/ug901-vivado-synthesis.pdf

 

Thanks
Bharath
--------------------------------------------------​--------------------------------------------
Please mark the Answer as "Accept as solution" if information provided addresses your query/concern.
Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------

View solution in original post

Highlighted
6,462 Views
Registered: ‎04-24-2016

Re: Fixed point

Jump to solution

Many thanks 

 

0 Kudos