integrate verification with hdl code generation -凯发k8网页登录
generate test benches to verify hdl code generated with hdl coder™
when you generate hdl code using hdl coder, the tools provide options for automatic verification of the generated code against your source matlab® or simulink® design. use the hdl workflow advisor to guide you through code generation and verification. see getting started with the hdl workflow advisor (hdl coder) and (hdl coder).
you can generate four kinds of test benches for verification of generated code: hdl simulation, cosimulation, fpga-in-the-loop (fil), or dpi component. the latter three test benches are provided when you have an hdl verifier™ license. see (hdl coder).
topics
cosimulation
verify generated hdl code using a generated cosimulation model.
verify generated hdl code using a generated cosimulation script.
fpga-in-the-loop
generate an fpga-in-the-loop model using hdl workflow advisor.
generate an fpga-in-the-loop system object™ and test bench using hdl workflow advisor.
system verilog dpi component
- (hdl coder)
this example shows how to use systemverilog dpi test bench for verification of hdl code where a large data set is required.
combination of multiple test bench types
this example uses hdl cosimulation and fpga-in-the-loop (fil) simulation to verify an hdl design comprising generated and legacy hdl code.
this example shows how to verify generated hdl code using hdl cosimulation and fpga-in-the-loop as steps in the hdl code generation workflow for matlab® to hdl.- (hdl coder)
this example shows the hdl generation and verification of a matlab® design for the sobel edge detection algorithm using the matlab hdl coder™ workflow advisor.
related information
- (hdl coder)