필터 지우기
필터 지우기

vhdl/verilog simulink

조회 수: 2 (최근 30일)
elahe bakhtiari
elahe bakhtiari 2011년 7월 29일
Is there any way that i import a vhdl/verilog code to a simulink block and use that block as a subsytem?

답변 (4개)

Kaustubha Govind
Kaustubha Govind 2011년 7월 29일
Provided that you already have HDL simulator software like ModelSim or Incisive installed, you can use EDA Simulator Link to achieve the interface. The product library comes with a HDL Cosimulation block that you can run as part of a Simulink model.

Tim McBrayer
Tim McBrayer 2011년 7월 29일
If you don't have the need to cosimulate with an HDL simulator but wish to incorporate hand-written HDL code with code generated by HDL Coder, you can choose the 'Black Box' architecture for a subsystem, and use your hand-written code as the HDL implementation for that subsystem.
  댓글 수: 2
Sam
Sam 2012년 1월 19일
Is any documents to show integrating hand-written HDL code with "Black Box"? I cannot find any tutorials or examples.
Kaustubha Govind
Kaustubha Govind 2012년 1월 20일
See http://www.mathworks.com/help/toolbox/slhdlcoder/bso3rab-1.html

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


Edward
Edward 2011년 10월 19일
I've walked through the simple inverter.vhd tutorial using the EDA Link to cosimulate with modelsim:
I have MATALB R2010a
I am very frustrated because none of the vsim or vsimulink commands work. They just give errors even though I am following the simulation step by step.
I seem to have difficulty getting Modelsim to commiunicate information to MATLAB through the socket interface.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2011년 10월 20일
Edward - please create a new question for this issue. Also, it would be useful to paste the exact error messages that you receive.

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


VN
VN 2012년 2월 21일
I think Xilinx System Generator can be used for same.
Read the following article, which gives
Step-by-Step Description for MATLAB+ISE Co-Simulation using System Generator for Spartan/Virtex FPGAs with SCREENSHOTS
Find the article at http://wp.me/p1iZg8-3B
I hope this will help,
Share your views -- Vihang Naik, M.Tech II Instrumentation & Control, Embedded Design Center, College of Engineering Pune. naikvihang.wordpress.com

카테고리

Help CenterFile Exchange에서 HDL Coder에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by