Example - Example - 4.0 English - PG140

CIC Compiler v4.0 LogiCORE IP Product Guide (PG140)

Document_ID
PG140
Release_Date
2026-07-22
Version
4.0 English

The run_cic_compiler_v4_0_mex.m script contains example code that shows how to create and run the model from MATLAB. It constructs a model with the class constructor, passes data through it with the filter method, and prints a result for each test, displaying Test completed successfully when all tests pass.

The script covers fixed-rate decimation, fixed-rate interpolation, multi-channel decimation, and a programmable-rate case that uses rate_send with PersistentMemory enabled.