Module Display_rules.Rule
A Rule.t is a predicate on Port.ts that specifies the display format of matching ports.
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val default : tDefault formatting - binary for 1 bit signals, hex otherwise.
val port_name_matches : Re.re -> wave_format:Wave_format.t -> tUse given
formatfor ports whose name match the regular expressionre.
val port_name_is : ?alignment:Wave_format.alignment -> Hardcaml_waveterm__.Import.string -> wave_format:Wave_format.t -> tUse
formatfor ports with given name.
val port_name_is_one_of : ?alignment:Wave_format.alignment -> wave_format:Wave_format.t -> Hardcaml_waveterm__.Import.string Hardcaml_waveterm__.Import.list -> tMatch any one of a list of names.
val custom : f:(Port.t -> Wave_format.t Hardcaml_waveterm__.Import.option) -> tIn
custom f,freturnsNoneto signify no match, orSome formatto specify a display format.
val custom_with_alignment : f:(Port.t -> (Wave_format.t * Wave_format.alignment) Hardcaml_waveterm__.Import.option) -> tSimilar tp
f, but allows the user to specify the alignment of the wave.