package hardcaml_xilinx

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Synthesis.Make_comb_primitivesSource

Parameters

Signature

type t = Synth.t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Base.Equal.S with type t := t
val equal : t Base.Equal.equal
val empty : t

the empty signal

val is_empty : t -> Base.bool
val width : t -> Base.int

returns the width of a signal

val of_constant : Hardcaml.Constant.t -> t

creates a constant

val to_constant : t -> Hardcaml.Constant.t
val concat_msb : t Base.list -> t

concatenates a list of signals

val select : t -> Base.int -> Base.int -> t

select a range of bits

val (--) : t -> Base.string -> t

names a signal

Sourceval (&:) : t -> t -> t

bitwise and

Sourceval (|:) : t -> t -> t

bitwise or

Sourceval (^:) : t -> t -> t

bitwise xor

Sourceval (~:) : t -> t

bitwise not

val to_string : t -> Base.string

create string from signal

Sourceval mux : t -> t Base.list -> t

multiplexer

Sourceval (+:) : t -> t -> t

addition

Sourceval (-:) : t -> t -> t

subtraction

Sourceval (*:) : t -> t -> t

unsigned multiplication

Sourceval (*+) : t -> t -> t

signed multiplication

Sourceval (==:) : t -> t -> t

equality

Sourceval (<:) : t -> t -> t

less than

OCaml

Innovation. Community. Security.