フィルターのクリア

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