package hardcaml_axi

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

Source file ram_with_byte_enables_intf.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
open Base
open Hardcaml

module type S = sig
  module Master_to_slave : Internal_bus_ports.Master_to_slave
  module Slave_to_master : Internal_bus_ports.Slave_to_master

  type t = (Signal.t Slave_to_master.t, unit) Slave_with_data.t [@@deriving sexp_of]

  val create : reg_spec:Reg_spec.t -> master:Signal.t Master_to_slave.t -> size:int -> t
end

module type Ram_with_byte_enables = sig
  module type S = S

  module Make
    (Master_to_slave : Internal_bus_ports.Master_to_slave)
    (Slave_to_master : Internal_bus_ports.Slave_to_master) :
    S
      with module Master_to_slave := Master_to_slave
       and module Slave_to_master := Slave_to_master
end
OCaml

Innovation. Community. Security.