can we run HDL coder without testbench??

조회 수: 4 (최근 30일)
fahim GH
fahim GH 2015년 6월 3일
댓글: fahim GH 2015년 6월 3일
hi I have a matlab code,but I dont have testbench for it or can't write testbench for it ,because its part of another code and its not complete. did anybody know can we run HDL coder without testbench file because in some step you should add the testbench file. thanks

답변 (1개)

Tim McBrayer
Tim McBrayer 2015년 6월 3일
You can generate HDL code from a design with no testbench, but you will not be able to perform any validation of that code with MATLAB. One of the features of a testbench is to supply the type information for the inputs and outputs of your design. See the documentation on Primary Function Input Specification for details on how to do this without a testbench.
  댓글 수: 1
fahim GH
fahim GH 2015년 6월 3일
you mean that if I use the testbench, i can be sure that the code is converted correct?

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

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by