MATLAB Answers

Is HDL Coder capable of generating configurable code?

10 ビュー (過去 30 日間)
Ethan Zheng
Ethan Zheng 2014 年 8 月 12 日
回答済み: Wang Chen 2014 年 8 月 25 日
For example mapping, system variable into GENERIC in VHDL, and PARAM in Verilog?


Wang Chen
Wang Chen 2014 年 8 月 25 日
Hi Ethan,
GENERIC/PARAM is supported by HDL Coder when you use "Generate parameterized HDL code from masked subsystem" feature.
HDL Coder can generate one HDL file for multiple masked subsystems with different values for tunable mask parameters. The coder automatically detects atomic subsystems with tunable mask parameters that are shareable, and then generate GENERIC/PARAM for the parameters. Inside the subsystem, you can use the mask parameter only in the Constant and Gain block, and the data type of the multiple instances of the parameter must be the same.

その他の回答 (0 件)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by