ise synthesis error - use of null array on signal

Status
Not open for further replies.

mlefter

Newbie level 3
Joined
Oct 5, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,328
Hello,

Does anybody know how to deal with this error:

Use of null array on signal <rout_cb.parameters> is not supported.
INTERNAL_ERROR:Xst:cmain.c:3446:1.47

------------

subtype param is std_logic_vector(31 downto 0);
type param_array is array (0 to nrofsensors-1) of param;

type cb_registers is record
status_conf : std_logic_vector(31 downto 0);
window : std_logic_vector(31 downto 0);
parameters : param_array;
end record;

signal rout_cb, ri_cb : cb_registers;

...

pr0 : process(rst, ahbsi, rout_amba, rout_cb) -- here comes the error

Thanks,
Mihai
 

Are you sure the nrofsensors is defined and is larger than 1?
 

    mlefter

    Points: 2
    Helpful Answer Positive Rating
Checked that and indeed it wasn't.

It is declared using generics and it took the default value (=0) because I forgot to add it when I did instantiate it in one of the components. But what is strange is that ghdl didn't complain and took the value from the top most component.

Thanks for your reply!
Mihai
 

Glad you found it, it is strange that GHDL did not complain about the Array that is 0 to -1 in declaration. Good to know for the future,

Cheers,
/Farhad
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…