Dev Book
Modeling
Module

Module

  • In Kathryn, Module is the collection of hardware components and flow blocks.

Module Structure

  • This section illustrates how module are structured and its purposes. (src: src/model/hwComponent/module/module.h)
Photo
  • Identifiable manages names, module id, localization for its component.
  • HwCompControllerItf provides communication between its component and model controller
  • ModelDebuggable provides interface for debuggable.
  • ModuleSimEngineInterface provides interface for letting simulation engine to retrive model meta-data
  • ModuleGenInterface provides interface for letting Verilog Generation engine to retrieve model meta-data
  • In class Module, you may see several C++ vector. It is used to store hardware representation that belong to the module.