You can add blocks to the current model by opening the
Simulink Library Browser and dragging and dropping
the block onto the design canvas of the Simulink editor.
Open the Library Browser by clicking the button on the
Simulation tab. You will see the standard Simulink library of blocks, as well as the HLS library in the
AMD Toolbox.
slLibraryBrowser
command from the command prompt. The HLS blocks are organized into sub-categories based on functionality. The following figure shows the HLS > Logic and Bit Operations block library in the Library Browser.
Double-clicking a block in the Library Browser opens the Block Parameter dialog box displaying the default values for the various parameters defined on the selected block. While the block is in the library, you can only view the parameters. To edit the parameters, you must add the block to the design canvas.
To get additional information about a block you can right-click a block in the Library Browser and select the Help command. Alternatively, you can double-click the block in the Library Browser and click the Help button from the block dialog box. The Help browser opens with specific information for the block.
When you drag and drop the block onto the canvas, the block is added to the model with the default parameter values defined.
Simulink models contain both signals and parameters. Signals are represented by the lines connecting blocks. Parameters are coefficients that define key characteristics and behavior of a block.