gen_top_wrapper

Top-level wrapper generation module.

This module provides functionality to generate the top-level wrapper for FPGA fabrics. The wrapper includes external I/O connections, configuration interfaces, and optional BRAM instances. It handles proper port vectorization and grouping for clean top-level interfaces.

Functions

generateTopWrapper(writer, fabric)

Generate the top wrapper of the fabric.

Module Contents

generateTopWrapper(writer, fabric)[source]

Generate the top wrapper of the fabric.

This includes features that are not located inside the fabric such as BRAM.

Parameters:
  • writer (fabulous.fabric_generator.code_generator.code_generator.CodeGenerator)

  • fabric (fabulous.fabric_definition.fabric.Fabric)

Return type:

None