R
Rob Gaddi
Just wanted to make sure this is an actual bug before I report it to
Altera.
I'm compiling as VHDL-2008, and I'm getting the error message:
type of identifier "A_i" does not agree with its usage as
"std_logic_vector"
What I've got is (in various and correct places):
port A: inout std_logic_vector(31 downto 1);
signal A_i: std_ulogic_vector(31 downto 1);
A <= A_i when drive_addr else (others => 'Z');
The error goes away when I forcibly cast A_i to std_logic_vector, but
aren't they supposed to be compatible without a cast? Interestingly,
I'm doing the same thing with some std_(u)logic signals, and they're
working fine.
Thanks,
Rob
Altera.
I'm compiling as VHDL-2008, and I'm getting the error message:
type of identifier "A_i" does not agree with its usage as
"std_logic_vector"
What I've got is (in various and correct places):
port A: inout std_logic_vector(31 downto 1);
signal A_i: std_ulogic_vector(31 downto 1);
A <= A_i when drive_addr else (others => 'Z');
The error goes away when I forcibly cast A_i to std_logic_vector, but
aren't they supposed to be compatible without a cast? Interestingly,
I'm doing the same thing with some std_(u)logic signals, and they're
working fine.
Thanks,
Rob