User guide

System Generator for DSP User Guide www.xilinx.com 375
UG640 (v 12.2) July 23, 2010
Black Box Examples
3. Double click on the Subsystem block and change the COUNT_MAX to a different
count value, simulate the design, and verify the count on the WaveScope.
4. Next, take a look at the counter_config.m file and examine the following lines of
M-code that were added to the original machine-generated code by System Generator.
a. Access parameters from the masked counter block: