package hardcaml_axi

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

Source file internal_bus_ports_intf.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
open! Base
open! Hardcaml

module type Master_to_slave = sig
  type 'a t =
    { write_valid : 'a
    ; write_first : 'a
    ; read_valid : 'a
    ; read_first : 'a
    ; address : 'a
    ; write_data : 'a
    ; write_byte_en : 'a
    }
  [@@deriving sexp_of, hardcaml]

  include Master_slave_bus_config.S
end

module type Slave_to_master = sig
  type 'a t =
    { write_ready : 'a
    ; read_ready : 'a
    ; read_data : 'a
    }
  [@@deriving sexp_of, hardcaml]

  include Master_slave_bus_config.S
end

module type Internal_bus_ports = sig
  module type Master_to_slave = Master_to_slave
  module type Slave_to_master = Slave_to_master

  module Master_to_slave (C : Master_slave_bus_config.S) : Master_to_slave
  module Slave_to_master (C : Master_slave_bus_config.S) : Slave_to_master
end
OCaml

Innovation. Community. Security.