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: 
Contributor
Contributor
1,002 Views
Registered: ‎04-10-2018

Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

Vivado 2018.2 synthesis crashes if a record containing a null array is marked as debug.

 

Minimal example:

library ieee;
use ieee.std_logic_1164.all;

package top_pkg is
    type foo is record
        bar : std_logic_vector(-1 downto 0);
    end record;
end package;

library ieee;
use ieee.std_logic_1164.all;
use work.top_pkg.all;

entity top is
    port ( i : in foo );
end top;

architecture rtl of top is
    attribute mark_debug : string;
    attribute mark_debug of i : signal is "true";
begin

end rtl;

This crashes with

Abnormal program termination (EXCEPTION_ACCESS_VIOLATION)

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
1,109 Views
Registered: ‎01-11-2011

Re: Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

Hi @josh_tyler, thanks for reporting this crash. I was able to reproduce it and have reported it to development to fix in a future release.

-------------------------------------------------------------------------
Please don’t forget to reply, kudo, and accept as solution!
-------------------------------------------------------------------------

View solution in original post

5 Replies
Xilinx Employee
Xilinx Employee
1,110 Views
Registered: ‎01-11-2011

Re: Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

Hi @josh_tyler, thanks for reporting this crash. I was able to reproduce it and have reported it to development to fix in a future release.

-------------------------------------------------------------------------
Please don’t forget to reply, kudo, and accept as solution!
-------------------------------------------------------------------------

View solution in original post

Scholar brimdavis
Scholar
966 Views
Registered: ‎04-26-2012

Re: Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

@josh_tyler   "Vivado 2018.2 synthesis crashes if a record containing a null array is marked as debug."

 

Important note: Vivado does *NOT* correctly synthesize records containing null elements - it just deletes the entire record.

  https://www.xilinx.com/support/answers/66920.html

  https://forums.xilinx.com/t5/Synthesis/VHDL-Bug-Report-Vivado-Removes-non-null-port/m-p/850764#M25827

 

-Brian

 

 

Scholar richardhead
Scholar
955 Views
Registered: ‎08-01-2012

Re: Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

@kmorris

 

Will the null record removal bug also be fixed?

0 Kudos
Contributor
Contributor
937 Views
Registered: ‎04-10-2018

Re: Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

@brimdavis Thank you for the heads up, that's quite shocking behavior!

0 Kudos
Xilinx Employee
Xilinx Employee
916 Views
Registered: ‎01-11-2011

Re: Vivado 2018.2 Synthesis bug with record containing null array

Jump to solution

Hi @richardhead, I don't have an ETA, but this support is still in process to be added in Vivado.

-------------------------------------------------------------------------
Please don’t forget to reply, kudo, and accept as solution!
-------------------------------------------------------------------------
0 Kudos