UPGRADE YOUR BROWSER

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# 428

VIEWSIM: How to fix 'Could not open VHDL file...', 'Unrecognized component...'

Description

When invoking ViewSim on a design, errors similar to the following may
occur:

=================
| Typical delays in use.
| All delays scaled by 1.
| (temp.vsm,28): Could not open VHDL file 'xfshre.vli'.
| (temp.vsm,28): Unrecognized component type XFSHRE, instance name $1I1\$1I37\CLR_CHK.
Module ignored.
| (temp.vsm,31): Could not open VHDL file 'xenable4.vli'.
| (temp.vsm,31): Unrecognized component type XENABLE4, instance name $1I1\$1I37\D_EN.
Module ignored.
| (temp.vsm,34): Could not open VHDL file 'xenable4.vli'.
| (temp.vsm,34): Unrecognized component type XENABLE4, instance name $1I1\$1I37\CE_EN.
Module ignored.
| (temp.vsm,37): Could not open VHDL file 'xcshre.vli'.
| (temp.vsm,37): Unrecognized component type XCSHRE, instance name $1I1\$1I37\D_CHK.
Module ignored.
| (temp.vsm,40): Could not open VHDL file 'xcshre.vli'.
| (temp.vsm,40): Unrecognized component type XCSHRE, instance name $1I1\$1I37\CE_CHK.
Module ignored.
| (temp.vsm,43): Could not open VHDL file 'xcshre.vli'.
| (temp.vsm,43): Unrecognized component type XCSHRE, instance name $1I1\$1I37\GSR_CHK.
Module ignored.
| (temp.vsm,46): Could not open VHDL file 'xenable4.vli'.
| (temp.vsm,46): Unrecognized component type XENABLE4, instance name $1I1\$1I37\CLR_EN.
Module ignored.
| Total of 20 digital modules were processed.
| 7 digital modules could not be instantiated because of errors.viewsim
cannot find any of the vhdl models

解决方案

1

This is normally due to the local viewdraw.ini/project manager refering to the wrong version
of the builtin library. Be sure the viewdraw.ini file is pointing to the
one located in the %XILINX/Viewlogic UNIFIED subdirectory. Do not use the
builtin library supplied by Viewlogic. Here is the libraries section from a
sample viewdraw.ini file:

DIR [p] . (primary)
DIR [rm] C:\PROSER\UNIFIED\XC4000 (XC4000)
DIR [rm] C:\PROSER\UNIFIED\XBLOX (XBLOX)
DIR [rm] C:\PROSER\UNIFIED\BUILTIN (BUILTIN)
DIR [rm] C:\PROSER\UNIFIED\XBUILTIN (XBUILTIN)

2

AR# 428
创建日期 09/20/1995
Last Updated 03/11/1999
状态 Archive
Type 综合文章