how to write hdl testbench inside matlab using system clock delays for simulink hdl model verification?
이전 댓글 표시
Hi, can I write testbench for verilog/vhdl based simulink blackbox model, without exporting to HDL (xilinx-ISE/modelsim) simulator.
One big doubt is that, I am writing a mcode block sung simulink. When I write test vectors using matlab function, can I add a system delay, like advancing the clock for few time samples(with the current inputs as it is). While writing testbench in HDL files, this option is there, like in verilog we say " #10 ns; " and the system clock advances 10ns. How do we do this in matlab.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Cosimulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!