package hardcaml_waveterm
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A terminal based digital waveform viewer for Hardcaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=a6780e4310f46cd71ff8a3cdf12bb51afdf0eaea5e84645a148a4ecd0f02920b
doc/hardcaml_waveterm.kernel/Hardcaml_waveterm_kernel/Display_rule/index.html
Module Hardcaml_waveterm_kernel.Display_ruleSource
A Rule.t is a predicate on Port.ts that specifies the display format of matching ports.
Source
type t = | Default| Regexp of {re : Re.re;wave_format : Hardcaml.Wave_format.t Base.option;alignment : Text_alignment.t;
}| Names of {names : Port_name.t Base.list;wave_format : Hardcaml.Wave_format.t Base.option;alignment : Text_alignment.t;
}| Custom of Port.t -> Hardcaml.Wave_format.t Base.option| Custom_with_alignment of Port.t -> (Hardcaml.Wave_format.t * Text_alignment.t) Base.option
Source
val port_name_matches :
?alignment:Text_alignment.t ->
?wave_format:Hardcaml.Wave_format.t ->
Re.re ->
tUse given format for ports whose name match the regular expression re.
Source
val port_name_is :
?alignment:Text_alignment.t ->
?wave_format:Hardcaml.Wave_format.t ->
Base.string ->
tUse format for ports with given name.
Source
val port_name_is_one_of :
?alignment:Text_alignment.t ->
?wave_format:Hardcaml.Wave_format.t ->
Base.string Base.list ->
tMatch any one of a list of names.
In custom f, f returns None to signify no match, or Some format to specify a display format.
Source
val custom_with_alignment :
f:(Port.t -> (Hardcaml.Wave_format.t * Text_alignment.t) Base.option) ->
tSimilar tp f, but allows the user to specify the alignment of the wave.
Source
val states :
?onehot:Base.bool ->
?alignment:Text_alignment.t ->
(module States) ->
Base.string ->
tFor use with statemachines. Derives state names from the variant describing the states of the state machine.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>