H
HansWernerMarschke
So let´s assert that there is no index violation.
The statement after assert must be an boolean expression.
This should be the case in the following statement.
assert (index in the_enigma.rotor(i+1).wheel'range)
report "index violation" severity failure;
wheel is an array of characters.
But here is the error.
HDLParsers:164 -
"E:/Programmieren/VHDL/Grundelemente/Kryptographie/Enigma/
Enigma.vhd" Line
160. parse error, unexpected IN, expecting COMMA or CLOSEPAR
I didn´t wanted to use an assert but maybe I can suppress the
following warning:
INFO:Xst:1432 - Contents of array <the_enigma.rotor<1>.wheel> may be
accessed with a negative index, causing simulation mismatch.
INFO:Xst:1433 - Contents of array <the_enigma.rotor<1>.wheel> may be
accessed with an index that exceeds the array size. This could cause
simulation mismatch.
It maybe accessed with a negative index.
But I don´t think so that the index will get negative.
The statement after assert must be an boolean expression.
This should be the case in the following statement.
assert (index in the_enigma.rotor(i+1).wheel'range)
report "index violation" severity failure;
wheel is an array of characters.
But here is the error.
HDLParsers:164 -
"E:/Programmieren/VHDL/Grundelemente/Kryptographie/Enigma/
Enigma.vhd" Line
160. parse error, unexpected IN, expecting COMMA or CLOSEPAR
I didn´t wanted to use an assert but maybe I can suppress the
following warning:
INFO:Xst:1432 - Contents of array <the_enigma.rotor<1>.wheel> may be
accessed with a negative index, causing simulation mismatch.
INFO:Xst:1433 - Contents of array <the_enigma.rotor<1>.wheel> may be
accessed with an index that exceeds the array size. This could cause
simulation mismatch.
It maybe accessed with a negative index.
But I don´t think so that the index will get negative.