필터 지우기
필터 지우기

HDL cosimulation with modelsim and simulink

조회 수: 15 (최근 30일)
swina
swina 2014년 3월 7일
댓글: swina 2014년 3월 8일
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

채택된 답변

Tao Jia
Tao Jia 2014년 3월 7일
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
swina
swina 2014년 3월 8일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by