Answers Database
VIEWSIM: How to fix 'Could not open VHDL file...', 'Unrecognized component...'
Record #428
Product Family: Software
Product Line: ViewLogic
Problem Title:
VIEWSIM: How to fix 'Could not open VHDL file...', 'Unrecognized
component...'
Problem 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\CL
R_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\GS
R_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
Solution 1:
This is normally due to the local viewdraw.ini 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)
End of Record #428
For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals! |