Bridging Macros

Marlin uses "bridging" macros to define bindings between Rust structs and hardware modules:

Under the Verilator backend, these take a common interface:

  • name = "<name>": The name of the module.
  • src = "<file>": The file where the module is defined relative to the manifest directory.

See the relevant internal documentation for technical explanation.