How to Create a Module in the Configurable Logic Block (CLB) Synthesizer Tool

Last modified by Microchip on 2025/01/02 08:51

Overview

Modules provide a convenient way for users to reuse schematics and separate portions of a logic design, making them especially useful for abstract designs, debugging, and saving time during the development of complex designs. Here’s how to create and use modules in the Configurable Logic Block (CLB) synthesizer GUI tool.

Requirements

Procedure

To get started, you must create a new schematic separate from the main design. Click the hamburger button next to DOCUMENTS and select New schematic.MPLAB Melody CLB Documents Selector

Back to Top


Give the new module a name and a dedicated window will open for the schematic.
MPLAB Melody CLB Rename Documents FieldMPLAB Melody CLB Documents Tabs

Back to Top


Create the module design. For this example, a simple OR gate will be used.MPLAB Melody CLB OR Gate

Back to Top


Configure the inputs and outputs of your module based on the design requirements. Use Off-Sheet Ports unless a specific I/O port is explicitly required by the design.MPLAB Melody CLB Signal Selection

Back to Top


Once you create your Verilog logic, it will appear as a module named after your design in the Modules section of the CLB Synthesizer tool.MPLAB Melody CLB Modules Selector

Back to Top


Drag and drop your module onto the main CLB schematic sheet. The module includes connection points for its inputs and outputs, which you can configure as needed for your application.MPLAB Melody CLB Module

Back to Top


Once completed, synthesize the design using the option at the bottom-left corner. After synthesis, the design will be ready.MPLAB Melody CLB Synthesis Status

Back to Top

Learn More

Back to Top