summaryrefslogtreecommitdiff
path: root/rtl/bus/ari_segment.sv
blob: 052310175bc24485a434f8270f634832ecaf3254 (plain)
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
//
// Copyright (c) 2026, Apollo Telephone Laboratories.
// Provided under the BSD-3 clause.
//

`include "bus/ari.svh"

//
// Represents an ARI segment that routes bus data
//
// @clk_i:      Clock input
// @reset_i:    Reset input
// @ingress_i:  Ingress frame input
// @tap_i:      Tap port input
// @egress_o:   Egress frame output
//
module ari_segment (
    input wire clk_i,
    input wire reset_i,
    input AriFrame ingress_i,
    input AriFrame tap_i,

    output AriFrame egress_o
);
    // Frame multiplexer
    ari_framemux fmux (
        .clk_i(clk_i),
        .reset_i(reset_i),
        .ingress_i(ingress_i),
        .tap_i(tap_i),
        .egress_o(egress_o)
    );
endmodule