package hardcaml_waveterm
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A terminal based digital waveform viewer for Hardcaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
hardcaml_waveterm-v0.16.0.tar.gz
sha256=20844546139ee69e8d328b75a54369b2c1db91d88e43f7ca9ccfc0cd855be828
doc/hardcaml_waveterm.kernel/Hardcaml_waveterm_kernel/Expert/Render/Make/index.html
Module Render.MakeSource
Parameters
module G : sig ... endSignature
get width code and actual width in chars
get height code and actual height in chars
max width of name window
max width of values window. Needs to evaluate the entire waveform.
gets an estimate fo the max with of values. Inaccruate for the constructors U, S and F.
max width of wave window
max height of wave window
Source
val draw_clock_cycle :
ctx:G.ctx ->
style:G.style ->
bounds:Hardcaml_waveterm_kernel__.Draw.rect ->
w:Base.int ->
h:Base.int ->
c:Base.int ->
Base.unitdraws one clock cycle
Source
val draw_clock_cycles :
ctx:G.ctx ->
style:G.style ->
bounds:Hardcaml_waveterm_kernel__.Draw.rect ->
w:Base.int ->
waw:Base.int ->
h:Base.int ->
cnt:Base.int ->
Base.unitdraws cnt clock cycles
Source
val draw_binary_data :
ctx:G.ctx ->
style:G.style ->
bounds:Hardcaml_waveterm_kernel__.Draw.rect ->
w:Base.int ->
h:Base.int ->
data:Hardcaml_waveterm_kernel__.Data.t ->
off:Base.int ->
Base.unitdraw binary waveform data
Source
val draw_data :
ctx:G.ctx ->
style:G.style ->
bounds:Hardcaml_waveterm_kernel__.Draw.rect ->
to_str:(Hardcaml.Bits.t -> Base.string) ->
alignment:Text_alignment.t ->
w:Base.int ->
h:Base.int ->
data:Hardcaml_waveterm_kernel__.Data.t ->
off:Base.int ->
Base.unitdraw arbitrary waveform data
Source
val with_border :
draw:'a draw_item ->
label:Base.string ->
?border:Hardcaml_waveterm_kernel__.Draw.Style.t ->
'a draw_itemSource
val draw_cursor :
ctx:G.ctx ->
bounds:Hardcaml_waveterm_kernel__.Draw.rect ->
state:Hardcaml_waveterm_kernel__.Waves.t ->
Base.unitdraw cursor
Source
val draw_signals :
?alignment:Text_alignment.t ->
?style:Hardcaml_waveterm_kernel__.Draw.Style.t ->
selected_wave_index:Base.int Base.option ->
ctx:G.ctx ->
bounds:Hardcaml_waveterm_kernel__.Draw.rect ->
Hardcaml_waveterm_kernel__.Waves.t ->
Base.unitdraw signal names
Source
val draw_ui :
?signals_alignment:Text_alignment.t ->
?style:Styles.t ->
?bounds:Bounds.t ->
ctx:G.ctx ->
Hardcaml_waveterm_kernel__.Waves.t ->
Base.unitdraw standard user inferface (names, values, waveforms left to right
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page