The hdllib
function displays the blocks that are compatible with
for HDL code generation in the Library Browser. It only displays those blocks for which
you have a license. If you construct models using blocks from this Library Browser view,
your models are compatible with HDL code generation.
Parameter settings for blocks in this Library Browser view are compatible with HDL code generation, and therefore can differ from the default settings.
To display the blocks that are compatible with HDL code generation:
In the Apps tab, select HDL Coder. The HDL Code tab appears. Select HDL Block Properties > Open HDL Block Library.
Alternatively, at the command prompt, enter:
hdllib
The Library Browser opens. You can drag and drop the blocks from the Library Browser into your model.
If you close and reopen the Library Browser in the same MATLAB® session, you continue to see only the blocks that are compatible with
HDL code generation. To reset the Library Browser view to show
all blocks, click the button.
To reset the Library Browser view so that it shows all blocks, regardless of HDL code generation compatibility, at the command prompt, enter:
hdllib('off')
To change the Library Browser view to show only those blocks that are compatible
with HDL code generation, click the button.
To generate an HTML table that lists the blocks that are compatible with HDL Code generation:
At the command prompt, enter:
hdllib('html')
hdllib
creates the hdlsupported
library and the following HTML reports:
### HDL supported block list hdlblklist.html ### HDL implementation list hdlsupported.html
To see the generated list of blocks, click the
hdlblklist.html
link.