Always.VariableSourceThe type of variables in guarded assignments. Variables may be asychronous wires, or synchronous regs. The current value of the variable may be accessed through the value field below.
create a wire
val reg :
here:lexing_position ->
?enable:Hardcaml_kernel__.Signal__type.t ->
?initialize_to:Bits.t ->
?reset_to:Bits.t ->
?clear:Hardcaml_kernel__.Signal__type.t ->
?clear_to:Hardcaml_kernel__.Signal__type.t ->
Hardcaml_kernel__.Signal.Reg_spec.t ->
width:int ->
tcreate a register
val cut_through_reg :
?enable:Hardcaml_kernel__.Signal__type.t ->
?initialize_to:Bits.t ->
?reset_to:Bits.t ->
?clear:Hardcaml_kernel__.Signal__type.t ->
?clear_to:Hardcaml_kernel__.Signal__type.t ->
Hardcaml_kernel__.Signal.Reg_spec.t ->
width:int ->
tcreates a register which forwards its input value to the output during cycles in which it is enabled.
val pipeline :
here:lexing_position ->
?enable:Hardcaml_kernel__.Signal__type.t ->
?initialize_to:Bits.t ->
?reset_to:Bits.t ->
?clear:Hardcaml_kernel__.Signal__type.t ->
?clear_to:Hardcaml_kernel__.Signal__type.t ->
Hardcaml_kernel__.Signal.Reg_spec.t ->
width:int ->
depth:int ->
tcreate a pipeline of registers