Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Error: Identifier "ODDRE1" does not identify a component declaration.

Status
Not open for further replies.

Cesar0182

Member level 5
Joined
Feb 18, 2019
Messages
85
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
825
Greetings ... comment that I am trying to simulate a project made in Vivado 2017.3 and the simulator I am using is Modelsim SE 64 10.5, the error I have is the one shown in the attached image.

error_oddre1.PNG

Initially the simulation worked correctly, but to this project I added a new IP created in ISE 14.5, which initially gave me the error:
Library "xilinxcorelib" not found
therefore I decided to update it to the version of Vivado 2017.3, but even so I still had the same error, later I wanted to verify if the same thing happened in the Vivado simulator, but incredibly it worked without problems there. But still I ended up removing the IP from the project. And from there that my project began to show me that error that I share and so far I have not been able to find a solution to this.
Could someone help me with this please.
 

If this purely a simulation issue, wipe out the entire simulation directory. I normally run Modelsim with a scripts. I usually have two different scripts, one to compile vendor libraries and one to compile the design files, in either case the first couple of lines in the file checks for and deletes the libraries it compiles.

It seems to me you compiled the IP from ISE 14.5 and it overwrote or added something that is causing the problem.

As you indicate you ran the Vivado simulator without problems I'm assuming you use the Vivado GUI to launch your simulation, which automatically generates a Tcl script to compile and run the simulation, so the proper libraries are almost always correctly called out. BTW, I also write my own scripts to run Vivado simulation due to the Vivado generated script not supporting some of the testbench methodologies I use on a regular basis.
 

Your error indicates you didnt include a component for ODDRE1
ODDRE is part of the unisim library
Did you include the components library at the top of the file?

Code:
library unisim;
use unisim.vcomponents.all;
 

Your error indicates you didnt include a component for ODDRE1
ODDRE is part of the unisim library
Did you include the components library at the top of the file?

Code:
library unisim;
use unisim.vcomponents.all;

Thanks for pointing this out, I don't run VHDL simulations all that often so wasn't certain about the error message pointing to a missing library or component declaration.

If you decide to run vsim using the command line then the switch "-L unisim" needs to be added. The primitive libraries are added automatically when using the GUI to run simulations.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top