We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome,
Internet Explorer 11,
Safari. Thank you!
General Description: The Full and Empty outputs of a Synchronous FIFO synthesized by the 1.5.0 and 1.4 versions of CORE Generator do not appear to behave correctly in VHDL behavioral simulation using the Viewlogic Speedwave, Active-VHDL, and Summit Visual HDL simulators. On these platforms, both outputs are permanently asserted.
Modify the code:
There are four processes in the FIFO model that are triggered by the rising edge of c_i. The code currently looks like this:
PROCESS BEGIN WAIT UNTIL c_i'EVENT; IF (c_i'LAST_VALUE='0' AND c_i='1') THEN ... END IF; END PROCESS;
The simulator is never proceeding past the WAIT statement.
The problem is that the Viewlogic Speedwave simulator is VHDL-93 compliant, whereas the behavioral model generated for the FIFO by CORE Generator is currently only VHDL-87 compliant. Xilinx software releases up to and including M1.5 support VHDL-87 only.
As a workaround, the condition that triggers the code following the WAIT statement (a change in the c_i signal) can be modified as follows:
PROCESS BEGIN WAIT UNTIL (c_i'EVENT) AND (c_i='1'); ... END PROCESS;
With the addition of the additional (c_i='1') condition, the change in c_i is detected by Speedwave, and the simulation works correctly.
Use a different simulator.
The simulation works properly on MTI.
Another code change that will function correctly under VHDL-93 is to modify the following code:
--from WAIT UNTIL c_i'EVENT;
--to WAIT ON c_i UNTIL c_i'EVENT;
Was this Answer Record helpful?