Filter löschen
Filter löschen

can we run HDL coder without testbench??

1 Ansicht (letzte 30 Tage)
fahim GH
fahim GH am 3 Jun. 2015
Kommentiert: fahim GH am 3 Jun. 2015
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

Antworten (1)

Tim McBrayer
Tim McBrayer am 3 Jun. 2015
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 Kommentar
fahim GH
fahim GH am 3 Jun. 2015
you mean that if I use the testbench, i can be sure that the code is converted correct?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by