Bits.Mutable
Mutable
is a mutable bits used by Cyclesim
for efficiency.
val empty : t
val width : t -> Base.int
val to_string : t -> Base.string
val create : Base.int -> t
Create a t
of given width, initially set to 0
.
val num_words : t -> Base.int
A Bits.Mutable.t
can be accessed as an array of 64 bit words.
val unsafe_get_int64 : t -> Base.int -> Base.int64
val unsafe_set_int64 : t -> Base.int -> Base.int64 -> Base.unit
val of_constant : Constant.t -> t
val to_constant : t -> Constant.t
val vdd : t
val gnd : t
val wire : Base.int -> t
val mask : t -> Base.unit
Mask the unused bits to zero.