I am trying to run synthesis using XST-2 on code similar to the following:
I receive the following error:
This code works fine with XST, but not XST-2.
This is a bug in the new parser that XST-2 uses.
The issue is fixed in ISE 13.2 under a run-time flag.
Please do either of the following to enable the fix, the fix will not be available by default.
1. Set the environment variable XST_VHDL_IMPLICIT_WORK:
2. Include the following lines in the XST script file:
For ISE releases prior to 13.2, the workaround is to write your code like the below:
The difference here is that my_entity is identified as being found in the "work" library.