Integrating Microchip RTG4 Board with MathWorks FIL Workflow

The integrated Field Programmable Gate Array (FPGA)-in-the-loop (FIL) workflow with MathWorks’ HDL Coder™ and HDL Verifier™ enables clients to automatically generate test benches for Hardware Description Language (HDL) verification, including VHSIC Hardware Description Language (VHDL) and Verilog, providing rapid prototyping and verification of designs.

The workflow is now available in R2020A MATLAB® release with Microchip Libero SoC v12.0. This enables the client to integrate MathWorks’ MATLAB, a multi-paradigm numerical computing environment, and MathWorks’ Simulink®, a graphical programming environment, with Microchip’s RTG4 development kit for FIL verification.

Software Tools

To execute this workflow, customers will require the following software tools:

Microchip (Libero SoC v12.0)

Hardware Support Package for RTG4

MathWorks Tools

Hardware Tools

Along with the software tools previously listed, customers will require the following hardware:

The hardware support package automatically integrates Microchip’s PolarFire® FPGA and SmartFusion™2 system-on-chip (SoC) FPGA development board along with the RTG4 development kit.

Procedure

Once the tools are installed, set up the Libero tool path in MATLAB by invoking the hdlsetuptoolpath command from the MATLAB prompt and set the path to the Libero installer.

From the system block diagram within Simulink design for integrating RTG4 development kit in Libero, in the HDL Workflow Advisor window, select FPGA-in-the-Loop from the Target workflow drop-drop down list to enable the call to Libero. Then select Microsemi RTG4 FPGA from the Target platform drop-down list as shown in Figure 1.

Figure1.png
Figure 1

The HDL Workflow Advisor from MathWorks is a guided tool that helps the designer generate the HDL code with HDL Coder and deploy the bitstream directly on the Microchip’s RTG4 board. The designer can then connect these boards directly with MATLAB and Simulink System Level Testbenches using HDL Verifier. This FIL simulation helps engineers in validating mission-critical systems for space and other applications directly on the RTG4 FPGA in one unified environment.

Microchip’s integrated FIL workflow with MathWorks enables a unified workflow to verify designs comprehensively. It integrates Microchip’s Libero SoC Design Suite—a comprehensive, easy-to-learn, easy-to-adopt development toolset for designing with Microchip's FPGAs—with MATLAB and Simulink for design verification and provides FIL verification with Microchip FPGA boards. This helps clients catch bugs early in the design cycle, and in turn, reduces time to market and enables early verification.

Resources

Watch the “Targeting Algorithms to Microsemi FPGAs using MATLAB and Simulink” webinar to see how MATLAB and Simulink are used to model, simulate, and verify algorithms targeted to Microchip FPGA boards.

© 2022 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.