cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
1,795 Views
Registered: ‎07-10-2013

Module Not Found Errors

Jump to solution

Using Vivado 2017.4, when in Project mode attempting a behavorial simulation, the following was seen in the TCL console window:

launch_simulation
INFO: [Vivado 12-5682] Launching behavioral simulation in 'C:/.../cFirmware/WorkingWare/WareC40To66/ProjChunker40To66A  /ProjChunker40To66A.sim/sim_1/behav/xsim'
INFO: [SIM-utils-51] Simulation object is 'sim_1'
INFO: [SIM-utils-54] Inspecting design source files for 'TBen' in fileset 'sim_1'...
INFO: [USF-XSim-97] Finding global include files...
INFO: [USF-XSim-98] Fetching design files from 'sim_1'...
INFO: [USF-XSim-2] XSim::Compile design
INFO: [USF-XSim-61] Executing 'COMPILE and ANALYZE' step in 'C:/.../cFirmware/WorkingWare/WareC40To66A/ProjChunker40To66A/ProjChunker40To66A.sim/sim_1/behav/xsim'
"xvlog --incr --relax -prj TBen_vlog.prj"
INFO: [VRFC 10-2263] Analyzing Verilog file "C:/.../cFirmware/WorkingWare/BROMs/Src-BROMs.v" into library xil_defaultlib
INFO: [VRFC 10-311] analyzing module BROM36kRegOut_Buf6x1to12
INFO: [VRFC 10-2263] Analyzing Verilog file "C:/.../cFirmware/WorkingWare/Src-Chunkers.v" into library xil_defaultlib
INFO: [VRFC 10-311] analyzing module Chunker20To26C
INFO: [VRFC 10-311] analyzing module Chunker40To66A
INFO: [VRFC 10-2263] Analyzing Verilog file "C:/.../cFirmware/WorkingWare/Src-LUTFunctions.v" into library xil_defaultlib
INFO: [VRFC 10-311] analyzing module LUTMux2bDual
INFO: [VRFC 10-311] analyzing module LUTMux4b
INFO: [VRFC 10-2263] Analyzing Verilog file "C:/.../cFirmware/WorkingWare/WareC40To66A/Src-Chunker40To66A-TestBen.v" into library xil_defaultlib
INFO: [VRFC 10-311] analyzing module TBen
INFO: [USF-XSim-69] 'compile' step finished in '2' seconds
INFO: [USF-XSim-3] XSim::Elaborate design
INFO: [USF-XSim-61] Executing 'ELABORATE' step in 'C:/.../cFirmware/WorkingWare/WareC40To66A/ProjChunker40To66A/ProjChunker40To66A.sim/sim_1/behav/xsim'
Vivado Simulator 2017.4
Copyright 1986-1999, 2001-2016 Xilinx, Inc. All Rights Reserved.
Running: C:/Xilinx/Vivado/2017.4/bin/unwrapped/win64.o/xelab.exe -wto 190e58e2d08649b9af412ab754e22220 --incr --debug typical --relax --mt 2 -L xil_defaultlib -L unisims_ver -L unimacro_ver -L secureip --snapshot TBen_behav xil_defaultlib.TBen xil_defaultlib.glbl -log elaborate.log
Using 2 slave threads.
Starting static elaboration
ERROR: [VRFC 10-2063] Module <xpm_memory_sprom> not found while processing module instance <BROMBuf6x1to12Inst> [C:/.../cFirmware/WorkingWare/BROMs/Src-BROMs.v:40]
ERROR: [VRFC 10-2063] Module <LUTMux4b> not found while processing module instance <MuxA00> [C:/.../cFirmware/WorkingWare/Src-Chunkers.v:863]
ERROR: [VRFC 10-2063] Module <LUTMux2bDual> not found while processing module instance <MuxA70> [C:/.../cFirmware/WorkingWare/Src-Chunkers.v:934]
ERROR: [XSIM 43-3322] Static elaboration of top level Verilog design unit(s) in library work failed.
INFO: [USF-XSim-69] 'elaborate' step finished in '1' seconds
INFO: [USF-XSim-99] Step results log file:'C:/.../cFirmware/WorkingWare/WareC40To66A/ProjChunker40To66A/ProjChunker40To66A.sim/sim_1/behav/xsim/elaborate.log'
ERROR: [USF-XSim-62] 'elaborate' step failed with error(s). Please check the Tcl console output or 'C:/.../cFirmware/WorkingWare/WareC40To66A/ProjChunker40To66A/ProjChunker40To66A.sim/sim_1/behav/xsim/elaborate.log' file for more information.
ERROR: [Vivado 12-4473] Detected error while running simulation. Please correct the issue and retry this operation.
ERROR: [Common 17-39] 'launch_simulation' failed due to earlier errors.

 

In the above, note that:

a) The pathnames have been edited to be shortened ("...").

b) The first ERROR complains about xpm_memory_sprom not being able to be found.  However, UG974 (v2017.4) on p.4 indicates "When using...project flow, the tools will parse the files added to the project and setup Vivado to recognize the XPMs." This doesn't seem to be happening.

c) The second and third ERRORs complain about not being able to find two modules, LUTMux4b and LUTMux2bDual, which as seen before that were in fact located and analyzed into xil_defaultlib.

 

Vivado bugs, perhaps?

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
910 Views
Registered: ‎04-24-2013

Re: Module Not Found Errors

Jump to solution

Hi @chsdkj ,

There was an issue around the 2017.3, 2017.4 versions of the tools where the set_property XPM_LIBRARIES TCL was needed for some XPM.

A change request was created and this was marked as fixed in 2018.1.

Best Regards
Aidan

 

------------------------------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if this answered your question
Give Kudos to a post which you think is helpful and may help other users
------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
7 Replies
Highlighted
Scholar
Scholar
1,762 Views
Registered: ‎08-07-2014

Re: Module Not Found Errors

Jump to solution

@chsdkj,

 

I don't think so!

 

If I don't see a module, i will add them manually and proceed.

--------------------------------------------------------------------------------------------------------
FPGA enthusiast!
All PMs will be ignored
--------------------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Explorer
Explorer
1,746 Views
Registered: ‎07-10-2013

Re: Module Not Found Errors

Jump to solution

@dpaul24,

 

The set_property XPM_LIBRARIES TCL command was tried, and the XPM-related error was taken care of.  Again, per the documentation, this should not be required.  Additionally, the other two completely-unrelated errors then vanished as well.

 

I think so!

 

0 Kudos
Highlighted
Visitor
Visitor
951 Views
Registered: ‎09-01-2018

Re: Module Not Found Errors

Jump to solution

Two issues with an IP block I'm working with. I'm using the built in Vivado simulator in:

Vivado v2018.2 (64-bit) SW Build: 2258646 on Thu Jun 14 20:02:38 MDT 2018 IP Build: 2256618 on Thu Jun 14 22:10:49 MDT 2018 on CentOS Linux 7

The IP in question is in a block, and when editing in IP_Packager:

1) I must type this command into the TCL window every time I reopen the IP block to run a simulation.

set_property XPM_LIBRARIES {XPM_CDC XPM_MEMORY} [current_project]

2) To keep the data files, I need to change the type of the file or I get this warning:

WARNING: File mem8_0.mem referenced on /wrk/2018.2/continuous/2018_06_14_2258646/packages/customer/vivado/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv at line 1079 cannot be opened for reading.

When I add the files they are of type mem. They must be type data to be part of the IP and simulate correctly.

Both of these are annoying.

0 Kudos
Highlighted
Moderator
Moderator
911 Views
Registered: ‎04-24-2013

Re: Module Not Found Errors

Jump to solution

Hi @chsdkj ,

There was an issue around the 2017.3, 2017.4 versions of the tools where the set_property XPM_LIBRARIES TCL was needed for some XPM.

A change request was created and this was marked as fixed in 2018.1.

Best Regards
Aidan

 

------------------------------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if this answered your question
Give Kudos to a post which you think is helpful and may help other users
------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Highlighted
Visitor
Visitor
891 Views
Registered: ‎09-01-2018

Re: Module Not Found Errors

Jump to solution
> marked as fixed in 2018.1. I'm using 2018.2. Not fixed.
0 Kudos
Highlighted
Moderator
Moderator
878 Views
Registered: ‎04-24-2013

Re: Module Not Found Errors

Jump to solution

Hi @philhays ,

Which XPM are you seeing the issue with in 2018.2, also which OS and Simulator version if not Vivado are you running on?

If you provide more detail then I can try and replicate the issue.

You should not have to use the parameter, it's possible that it may still be applied in your project if you have upgraded the project from an older version of the tools.

Thanks
Aidan

 

------------------------------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if this answered your question
Give Kudos to a post which you think is helpful and may help other users
------------------------------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
862 Views
Registered: ‎09-01-2018

Re: Module Not Found Errors

Jump to solution
Vivado v2018.2 (64-bit) SW Build: 2258646 on Thu Jun 14 20:02:38 MDT 2018 IP Build: 2256618 on Thu Jun 14 22:10:49 MDT 2018 on CentOS Linux 7 IP uses another core for simulation, and that core has xpm_memory_sprom blocks in it. Using Vivado for simulation. Right click on first IP, edit in IP Packager. Top level project is created from tcl script, which has set_property XPM_LIBRARIES {XPM_CDC XPM_MEMORY} [current_project] added to it, which doesn't seem to make a difference. This design has always been in 2018.2, as that is the only supported version for another core.
0 Kudos