FABulous.fabric_generator.gen_fabric.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.
Classes#
Functions#
- generateTopWrapper(writer, fabric)[source]#
- Parameters:
writer (CodeGenerator)
fabric (Fabric)
- Return type:
None
Generate the top wrapper of the fabric.
This includes features that are not located inside the fabric such as BRAM.