MATLAB DESIGN HDL CODER RELEASE NOTES User's Guide Page 361

  • Download
  • Add to my manuals
  • Print
  • Page
    / 410
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 360
System Generator for DSP User Guide www.xilinx.com 361
UG640 (v 12.2) July 23, 2010
Black Box Examples
2. Change the input type to an arbitrary type and rerun the simulation. Both black boxes
adjust in the appropriate way to the change.
Dynamic Black Boxes
This example extends the transpose FIR filter black box so that it is dynamic, i.e., able to
adjust to changes in the widths of its inputs. The example is contained in the directory
<ISE_Design_Suite_tree>/sysgen/examples/black_box/example3. For this
example to run correctly, you must change your directory (cd within the MATLAB
command window) to this directory before launching the example model.
The files contained in this directory are:
black_box_ex3.mdl - A Simulink model containing a dynamic black box.
transpose_fir_parametric.vhd – The VHDL for the transpose FIR filter.
mac.vhd – Multiply and add component used to build the transpose FIR filter.
transpose_fir_parametric_config.m – The configuration M-function for the
black box.
Black Box Tutorial Example 5: Dynamic Black Boxes
1. Open the model by typing black_box_ex3 at the MATLAB command prompt.
2. Run the simulation from the top-level model, and view the results displayed in the
scopes.
Page view 360
1 2 ... 356 357 358 359 360 361 362 363 364 365 366 ... 409 410

Comments to this Manuals

No comments