Board support allows developers to add new hardware boards to the selection of available hardware boards in SoC Blockset. Adding board support allows Simulink models to select the new hardware board and simulate with the features of SoC Blockset, such as processor-memory-FPGA or IO device interaction. To add a new hardware board entry in SoC Blockset, the Board Support API, adds and registers tools, libraries, configuration, source and header files with the Simulink® environments. A group of tools, configurations, and files that serve a specific purpose defines a feature of Board Support. Features, such as external mode or kernel profiling, can be mapped to a hardware board, enabling those features and making them visible in the Simulink configuration parameters and SoC Builder app for the associated hardware board. Combined with Embedded Coder® and HDL Coder™, Board Support allows Simulink to deploy a model as C/C++ and HDL code to an SoC device on that hardware board. When on hardware, features enabled by Board Support, such as profiling and external mode, allow real-time monitoring and interaction with the deployed model.
You can create a new Hardware Board object that already includes many features by using a Board Support reference. Using a reference, you only need to add or modify the features unique to your Hardware Board and Board Support.
- What is Board Support?
Overview of board support and the features provided.
- Add a New Hardware Board to SoC Blockset
Procedural guide to add a new hardware board to list of available boards to SoC Blockset using Board Support.
- STEP 1: Create Board Support Framework
- STEP 2: Define Properties of Hardware Boards
- STEP 3: Map Reference Board Support Features
- STEP 4: Package Completed Board Support
- Install Packaged Board Support
Add a new hardware board to SoC Blockset from packaged board support.
|Load board support given the name of board support|
|Package board support given the board support name|
|Set up software tools given the board name|
|Define and register tools and features of a supported hardware board|
|External mode configuration|
|Processor-in-the-loop simulation configuration|
|Code execution profiler that collects timing information for generated code|
|Operating system definition for the processor|
|Application deployment configuration|
|An object that describes how to load code to hardware|
|An object that defines the synthesis tool used by the deployer|
|Hardware that runs generated code|
|Processor core definition in |
|FPGA core definition in |
|Memory on a hardware board|
|LED object on hardware board|
|Clock object representing the input clock on hardware board|
|DIP switch on the hardware board|
|Input reset switch on hardware board|
|Push button on the hardware board|
|Processing system definition in |
|Memory system on FPGA core|
|Configuration that describes how to build generated code|
|An object that describes how to load bitstream code to hardware|