HDL Cosimulation with Cadence Xcelium setup

29 次查看(过去 30 天)
When running the example of "GettingStartedWithSimulinkHDLCosimExample" with Cadence Xcelium , I get these following messages.
Executing nclaunch tclstart commands...
xmsim(64): 22.09-s004: (c) Copyright 1995-2022 Cadence Design Systems, Inc.
xmsim: *W,NOMTDGUI: Multi-Threaded Dumping is disabled for interactive debug mode.
xmsim: *E,STRPIN: Could not initialize SimVision connection: SimVision/Indago process terminated before a connection was established.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/tools/matlab/R2023bU1/sys/os/glnxa64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded: ignored.
/tools/cds/xceliummain_22.09.004_Linux/tools.lnx86/simvision/bin/64bit/simvision: line 48: cds_plat: command not found
/tools/cds/xceliummain_22.09.004_Linux/tools.lnx86/simvision/bin/64bit/simvision: line 101: /tools/cds/xceliummain_22.09.004_Linux/tools./simvision/bin/64bit/simvision.exe: No such file or directory
SimVision/Indago process terminated before a connection could be established.
while executing
"exec <@stdin >@stdout xmsim -gui rcosflt_rtl -64bit -input {@simvision {set w [waveform new]}} -input {@simvision {waveform add -using $w -signals rco..."
("uplevel" body line 1)
invoked from within
"uplevel 1 [join $args]"
(procedure "hdlsimulink" line 22)
invoked from within
"hdlsimulink rcosflt_rtl -64bit -socket 44014 -input "{@simvision {set w \[waveform new\]}}" -input "{@simvision {waveform add -using \$w -signals rc..."
(file "compile_and_launch.tcl" line 66)
ERROR hit any key to exit xterm
Could you please guide me how to set up cosimulation with Cadence Xcelium?

采纳的回答

Kautuk Raj
Kautuk Raj 2024-8-13
The error messages you are encountering suggest a few potential issues with your setup, particularly related to environment variables and paths.
Ensure that the environment variables are correctly set for both MATLAB and "Cadence Xcelium". Specifically, check the following:
1. LD_LIBRARY_PATH: This should include paths to the necessary libraries for both MATLAB and Cadence Xcelium.
2. PATH: This should include the paths to the executable binaries for both MATLAB and Cadence Xcelium.
You can check and set these environment variables in your shell configuration file (e.g., .bashrc, .bash_profile, or .zshrc).
Further, the error "No such file or directory" indicates that the 'simvision' executable might not be found. Verify that the path to 'simvision' is correct and that the file exists. If the file does not exist, you might need to re-install or correct the installation path.
You can refer the official documentation for both MATLAB and "Cadence Xcelium" for more detailed setup instructions:
I hope this answer will help resolve the errors you are facing.

更多回答(0 个)

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by