package p4spectec

  1. Overview
  2. Docs
P4-SpecTec: A mechanization toolchain for the P4 Programming Language

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.2.tar.gz
md5=1a3bc0a385fe1ecf403c019f49aa6de6
sha512=5d20b5821f33e2a3a5419b208606f27c01511994c2b3b1e1cdf4c077056dfd0aa81682af0720e1060ee2bfb0341918fcc4c53159820205a2bc32b725e5c1a714

doc/builtin/Builtin/Numerics/index.html

Module Builtin.NumericsSource

module Typ = Runtime.Type.Typ
module Value = Runtime.Value
Sourceval max_bit_width : Bigint.t
Sourceval bits_of_value : Lang.Il.value -> bool array
Sourceval value_of_bits : (Lang.Il.value -> unit) -> bool array -> Lang.Il.value
Sourceval bigint_of_value : Lang.Il.value -> Bigint.t
Sourceval value_of_bigint : (Lang.Il.value -> unit) -> Bigint.t -> Lang.Il.value
Sourceval shl' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval shr' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval shr_arith' : Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t
Sourceval shr_arith : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval pow2' : Bigint.t -> Bigint.t
Sourceval bitstr_to_int' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval bitstr_to_int : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval int_to_bitstr' : Bigint.t -> Bigint.t -> Bigint.t
Sourceval int_to_bitstr : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval bits_to_int_unsigned' : bool array -> Bigint.t
Sourceval bits_to_int_unsigned : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval bits_to_int_signed' : bool array -> Bigint.t
Sourceval bits_to_int_signed : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval int_to_bits_unsigned' : Bigint.t -> int -> bool array
Sourceval int_to_bits_unsigned : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval int_to_bits_signed : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value
Sourceval bitacc' : Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t
Sourceval bitacc_replace' : Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t -> Bigint.t
Sourceval bitacc_replace : (Lang.Il.value -> unit) -> Util.Source.region -> Lang.Il.targ list -> Lang.Il.value list -> Lang.Il.value