Skip to main content

Crate bitloom_macro

Crate bitloom_macro 

Source
Expand description

Proc macros expand only to bitloom_builder / prelude paths (AD-6). Never depend on rhdl-hir.

Attribute Macros§

abstraction
Handwritten untimed / transaction abstraction (FR29). Host-only.
both
Mixed both simulation: RTL (tick) + handwritten view in one fixture (FR29).
bridge
Handwritten TLM↔pin adapter (FR29). Host-only; never enters FrozenHir / freeze. Does not generate TLM from HIR.
combinational
Marks a hardware process as combinational. Expands to a builder open/close around the function body (must call session helpers for assigns).
functional_model
Marks a handwritten functional model (Story 3.3). Does not enter FrozenHir.
hls
Marks a function for optional external HLS (FR35 / AD-25). Never schedules in-process.
module
Marks a struct as an RHDL module shell for Story 1.1. Generates Elaboratable that records directed ports via the builder session.
process
Rejects unmarked hardware process attributes — use combinational/sequential.
sequential
Marks a hardware process as sequential.
top
Marks the elaboratable top for cargo rhdl build (AD-19).