A
Apo
Guest
Hi All, I have a problem.
I can't understand why, with my modelsim 5,7c , in some circumstaces I can
compile the script below but when I'm exporting from EDK project to model
sim for a behaviourl test of an Ip core it return this error:
# ** Error:
C:/ppp/AES_EDK_KVERBAK/pcores/kver_v1_00_a/hdl/vhdl/kver_module.vhd(176):
identifer unsigned is not visible. Making two objects with the name
"unsigned" directly visible via use clauses results in a conflict, neither
object is made directly visible.(LRM Section 10.4).
Definition include from:
ieee.std_logic_arith.unsigned
ieee.numeric_std.unsigned
The script is:
TO_UNSIGNED(SBOX(To_INTEGER(unsigned(input(31 downto 24)))), 8)
it is nested in:
return word(
TO_UNSIGNED(SBOX(To_INTEGER(unsigned(input(31 downto 24)))), 8) &
TO_UNSIGNED(SBOX(TO_INTEGER(unsigned(input(23 downto 16)))), 8) &
TO_UNSIGNED(SBOX(TO_INTEGER(unsigned(input(15 downto 8)))), 8) &
TO_UNSIGNED(SBOX(TO_INTEGER(unsigned(input( 7 downto 0)))), 8)
);
where Word is
SUBTYPE word IS std_logic_vector(31 DOWNTO 0);
Thank you
Alain
I can't understand why, with my modelsim 5,7c , in some circumstaces I can
compile the script below but when I'm exporting from EDK project to model
sim for a behaviourl test of an Ip core it return this error:
# ** Error:
C:/ppp/AES_EDK_KVERBAK/pcores/kver_v1_00_a/hdl/vhdl/kver_module.vhd(176):
identifer unsigned is not visible. Making two objects with the name
"unsigned" directly visible via use clauses results in a conflict, neither
object is made directly visible.(LRM Section 10.4).
Definition include from:
ieee.std_logic_arith.unsigned
ieee.numeric_std.unsigned
The script is:
TO_UNSIGNED(SBOX(To_INTEGER(unsigned(input(31 downto 24)))), 8)
it is nested in:
return word(
TO_UNSIGNED(SBOX(To_INTEGER(unsigned(input(31 downto 24)))), 8) &
TO_UNSIGNED(SBOX(TO_INTEGER(unsigned(input(23 downto 16)))), 8) &
TO_UNSIGNED(SBOX(TO_INTEGER(unsigned(input(15 downto 8)))), 8) &
TO_UNSIGNED(SBOX(TO_INTEGER(unsigned(input( 7 downto 0)))), 8)
);
where Word is
SUBTYPE word IS std_logic_vector(31 DOWNTO 0);
Thank you
Alain