Guest
I have one shared variable inside an architecture.
shared variable the_enigma : enigma_type;
I want to use this variable in some procedures located inside the
architecture.
I get the warning:Xst:1960
Xilinx says that there is a workaround:
7.1i XST - "WARNING:Xst:1960 - file.vhd line xx: Potential simulation
mismatch, variable yy declared in block blck1 is assigned in block
blck2"
Solution
To work around this issue, avoid sharing the variable with multiple
procedures inside a function. That is, pass the value of the variable
that is declared in the function to a variable that is declared
locally within the procedure.
But how should this help ? If I pass back the local variable to the
shared (global) one I get the same error.
So how can I use a procedure on a shared variable ?
I´m lost in VHDL
shared variable the_enigma : enigma_type;
I want to use this variable in some procedures located inside the
architecture.
I get the warning:Xst:1960
Xilinx says that there is a workaround:
7.1i XST - "WARNING:Xst:1960 - file.vhd line xx: Potential simulation
mismatch, variable yy declared in block blck1 is assigned in block
blck2"
Solution
To work around this issue, avoid sharing the variable with multiple
procedures inside a function. That is, pass the value of the variable
that is declared in the function to a variable that is declared
locally within the procedure.
But how should this help ? If I pass back the local variable to the
shared (global) one I get the same error.
So how can I use a procedure on a shared variable ?
I´m lost in VHDL