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, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 13534

10.1 State Diagram Editor - A testbench from StateCAD causes "Fatal Error: SDF file requires Xilinx primitive library" in ModelSim


When I use a StateCAD-generated VHDL source file and testbench in ModelSim for functional simulation, no problems are reported. However, when I attempt timing simulation, several errors occur, including:  


"Error: Incompatible mode for port" 


"Fatal Error: SDF file requires Xilinx primitive library"


The problem is that StateCAD sometimes uses ports of mode BUFFER, while the Xilinx back-end tools do not use this mode when generating the post-route VHDL model. This causes a mismatch when the design is loaded into ModelSim. 


An alternative is to implement testbenches using Xilinx Waveform Editor. The testbenches then work at all levels, because the port maps are updated automatically using the original design and the exported netlists.

AR# 13534
Date Created 08/29/2007
Last Updated 05/14/2014
Status Archive
Type General Article