UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
6,485 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
Xilinx Employee
Xilinx Employee
11,964 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.
--------------------------------------------------​-------------------------------------------
4 Replies
Xilinx Employee
Xilinx Employee
6,354 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.
--------------------------------------------------​-------------------------------------------
6,324 Views
Registered: ‎04-24-2016

Re: Fixed point

Jump to solution

0 Kudos
Xilinx Employee
Xilinx Employee
11,965 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.
--------------------------------------------------​-------------------------------------------
6,316 Views
Registered: ‎04-24-2016

Re: Fixed point

Jump to solution

Many thanks 

 

0 Kudos