package hardcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val data : t -> Base.Bytes.t
val byte_address : t -> Base.int

Offset within data.

val width_in_bits : t -> Base.int
val size_in_words : t -> Base.int
val create_from_bits_mutable : Bits.Mutable.t -> t

Create node from a Bits.Mutable.t.

val create_from_signal : byte_address:Base.int -> data:Base.Bytes.t -> Signal.t -> t

Create from from within data at byte_address.

val unsafe_get64 : t -> Base.int -> Base.Int64.t
val get64 : t -> Base.int -> Base.Int64.t
val to_bits_mutable : t -> Bits.Mutable.t -> Base.unit
val to_bits : t -> Bits.t
val to_int : t -> Base.int
val unsafe_set64 : t -> Base.int -> Base.Int64.t -> Base.unit
val set64 : t -> Base.int -> Base.Int64.t -> Base.unit
val of_bits_mutable : t -> Bits.Mutable.t -> Base.unit
val of_bits : t -> Bits.t -> Base.unit
val of_int : t -> Base.int -> Base.unit
val to_node : t -> Hardcaml__.Cyclesim_lookup.Node.t

Convert to read-only Node.t.

val read_only_of_node : Hardcaml__.Cyclesim_lookup.Node.t -> t

Create a reg which can only be read. Raises at runtime if written.

OCaml

Innovation. Community. Security.