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: 
9,844 Views
Registered: ‎01-23-2013

fixed_point libary error

hi guys,

well i am using fixed_point_pkg from ieee_proposed libary in my project ISE 13.3 for virtex 4 ,it is simulating  with modelsim 6.3 f version when i compiled the library and package but while synthesizing it gives me error as follows

 

XST :2754  "C:xxx/ieee_proposed/fixed_pkg" line 1019 :alias of function is not supported "

 

i tried  by changing V-4 to Virtex-6 and changed xst command with "-use new parser yes"  by reffering to other anser posts ,it synthesized, but there was no device utilization and i got error while mapping the project that "design is empty"

 

please help me out guys thanks in advance.

0 Kudos
8 Replies
Xilinx Employee
Xilinx Employee
9,832 Views
Registered: ‎09-20-2012

Re: fixed_point libary error

Hi,

 

As the error says, the alias is not supported in old parser. It is supported in new parser, hence it passes synthesis when you use that switch.

 

But looks like the design getting trimmed completely during map.

 

Can you open synthesized design and check if the logic is inferred properly? You may run post-translate simulation to check if you are seeing expected results or not.

 

Attach the synthesis and map report files here (.syr,.map) if possible. 

 

Thanks,

Deepika. 

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
9,802 Views
Registered: ‎01-23-2013

Re: fixed_point libary error

i am attaching the synthesis report and map report

0 Kudos
Xilinx Employee
Xilinx Employee
9,799 Views
Registered: ‎09-20-2012

Re: fixed_point libary error

Hi,

 

The logic is getting trimmed in synthesis. This is because of logic undriven or driven by constraints.

 

Below are the warnings from the synthesis report. Please fix this in your code.

 

=========================================================================
* Low Level Synthesis *
=========================================================================
WARNING:Xst:1710 - FF/Latch <sig_p_0> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_1> (without init value) has a constant value of 1 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_2> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_3> (without init value) has a constant value of 1 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_4> (without init value) has a constant value of 1 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_5> (without init value) has a constant value of 1 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_6> (without init value) has a constant value of 1 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_7> (without init value) has a constant value of 1 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_8> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_9> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_10> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_11> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_p_12> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1710 - FF/Latch <sum_-4> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_-3> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_-2> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_-1> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_0> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_1> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_2> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_3> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_4> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_5> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sum_6> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1710 - FF/Latch <pwm_input_0> (without init value) has a constant value of 1 in block <PWM_ERRORSIG>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <pwm_input_1> (without init value) has a constant value of 1 in block <PWM_ERRORSIG>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <pwm_input_2> (without init value) has a constant value of 0 in block <PWM_ERRORSIG>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <pwm_input_3> (without init value) has a constant value of 0 in block <PWM_ERRORSIG>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <pwm_input_4> (without init value) has a constant value of 1 in block <PWM_ERRORSIG>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <pwm_input_5> (without init value) has a constant value of 1 in block <PWM_ERRORSIG>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:2973 - All outputs of instance <Inst_PWM_GEN> of block <pwm_gen> are unconnected in block <DOD_MAIN>. Underlying logic will be removed.
WARNING:Xst:2973 - All outputs of instance <Inst_load_sim> of block <load_sim> are unconnected in block <DOD_MAIN>. Underlying logic will be removed.
WARNING:Xst:2677 - Node <Inst_Clock_divider/clk_out> of sequential type is unconnected in block <DOD_MAIN>.
Analyzing FSM <MFsm> for best encoding.
Optimizing FSM <FSM_0> on signal <curr_state[1:4]> with gray encoding.
--------------------
State | Encoding
--------------------
state0 | 0000
state1 | 0001
state2 | 0011
state3 | 0010
state4 | 0110
state5 | 0111
state6 | 0101
state7 | 0100
state8 | 1100
--------------------
WARNING:Xst:1426 - The value init of the FF/Latch half_duty_5 hinder the constant cleaning in the block pwm_gen.
You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch half_duty_4 hinder the constant cleaning in the block pwm_gen.
You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch half_duty_0 hinder the constant cleaning in the block pwm_gen.
You should achieve better results by setting this init to 1.
WARNING:Xst:1293 - FF/Latch <half_duty_1> has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1896 - Due to other FF/Latch trimming, FF/Latch <half_duty_2> has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1896 - Due to other FF/Latch trimming, FF/Latch <half_duty_3> has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1896 - Due to other FF/Latch trimming, FF/Latch <half_duty_6> has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1896 - Due to other FF/Latch trimming, FF/Latch <half_duty_7> has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_1> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_2> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_3> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_6> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <sig_7> (without init value) has a constant value of 0 in block <pwm_gen>. This FF/Latch will be trimmed during the optimization process.
INFO:Xst:2261 - The FF/Latch <half_duty_0> in Unit <pwm_gen> is equivalent to the following 2 FFs/Latches, which will be removed : <half_duty_4> <half_duty_5>
INFO:Xst:2261 - The FF/Latch <sig_0> in Unit <pwm_gen> is equivalent to the following 2 FFs/Latches, which will be removed : <sig_4> <sig_5>
WARNING:Xst:1710 - FF/Latch <div_11> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_10> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_9> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_8> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_7> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_6> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_5> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_4> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_3> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_2> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_1> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_0> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-1> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-2> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-3> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-4> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-5> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-6> (without init value) has a constant value of 1 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-7> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-8> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.
WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch <div_-9> (without init value) has a constant value of 0 in block <load_sim>. This FF/Latch will be trimmed during the optimization process.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
Highlighted
9,787 Views
Registered: ‎01-23-2013

Re: fixed_point libary error

ok but the code is simulating properly in modelsim 6.3f version

0 Kudos
9,782 Views
Registered: ‎01-23-2013

Re: fixed_point libary error

well i am stuck here ,,anybody????

the design is simulating successfully in modelsim and  i manually compiled the design, all the files synthesized properly when i separated them but under one top level module design is  not working can anybody tell me whats wrong???

 

 

0 Kudos
Scholar pratham
Scholar
9,779 Views
Registered: ‎06-05-2013

Re: fixed_point libary error

Hello,

 

if you can simulate a design that does not mean it can be implemented. check in the log reports where you will find out the exact reason. as pointed by vemuld your design is getting fully trimmed.

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Newbie ahish
Newbie
8,121 Views
Registered: ‎08-24-2014

Re: fixed_point libary error

hello,

i'm getting the error "ERROR:Xst:2754 - "E:/mac/fixed_pkg_c.vhdl" line 1019: alias of a function is not supported." when trying to implement fft alogorithm using the fixed_pkg.

Please help me to debug this error.

0 Kudos
Historian
Historian
8,114 Views
Registered: ‎02-25-2008

Re: fixed_point libary error


@ahish wrote:

hello,

i'm getting the error "ERROR:Xst:2754 - "E:/mac/fixed_pkg_c.vhdl" line 1019: alias of a function is not supported." when trying to implement fft alogorithm using the fixed_pkg.

Please help me to debug this error.


Deepika gave the answer in the second post in this thread.

----------------------------Yes, I do this for a living.
0 Kudos