@[hardware_module] — emit a Verilog sub-module for this
definition instead of inlining its body.
@[inline_hardware] — historical alias for "always inline".
Kept for backwards compatibility with code authored when the
default was the opposite. Today the default is already inline,
so this attribute documents intent without changing behaviour.
True iff name is tagged @[hardware_module].
Equations
- Sparkle.Compiler.isHardwareModule env name = Sparkle.Compiler.hardwareModuleAttr.hasTag env name
Instances For
True iff name is tagged @[inline_hardware].
Equations
- Sparkle.Compiler.isInlineHardware env name = Sparkle.Compiler.inlineHardwareAttr.hasTag env name