Borrar filtros
Borrar filtros

HDL cosimulation with modelsim and simulink

15 visualizaciones (últimos 30 días)
swina
swina el 7 de Mzo. de 2014
Comentada: swina el 8 de Mzo. de 2014
i have written one vhdl code and want to link with simulink but while running the command on modelsim , showing error "invalid command name "vsimulink" . and while updating diagram in simulink environment, showing error "Error reported by S-function 'shdlcosim' in 'testing/HDL Cosimulation/S-Function':Handshaking with the server failed - Server was NOT an 'HDL Link' server, change the port". i m using MATLAB (R2011a) and Modelsim PE student edition 10.2c. pplease tell me how can i resolve this problem

Respuesta aceptada

Tao Jia
Tao Jia el 7 de Mzo. de 2014
You'll need to use the vsim command to launch ModelSim first. Note that this vsim is a MATLAB command, not the one in ModelSim. vsimulink is a tcl procedure created by HDL Verifier. It's loaded into ModelSim only if you use the vsim command launch ModelSim. For more information, see HDL Verifier documentation.
Hope this helps
  1 comentario
swina
swina el 8 de Mzo. de 2014
thanks a lot Tao for suggesting me. i tried in the same way but it is showing this error " Error using ==> hdlsim>l_GetModelSimLauncherInfo at 957 In GUI mode, white-space characters are not allowed in the absolute path of startupfile: "C:/Program Files/MATLAB/R2011a/compile_and_launch.tcl". Change rundir property value or current MATLAB directory to have a value without white-spaces.
Error in ==> hdlsim at 235 launcherInfo = l_GetModelSimLauncherInfo;
Error in ==> vsim at 101 hdlsim(pvpairs{:});. now what should i do Tao

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by