-
Notifications
You must be signed in to change notification settings - Fork 0
/
router_io.sv
49 lines (42 loc) · 1.14 KB
/
router_io.sv
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
37
38
39
40
41
42
43
44
45
46
47
48
49
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 04/01/2024 08:33:14 PM
// Design Name:
// Module Name: router_io
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
interface router_io(input bit clock);
logic reset_n;
logic [15:0] din;
logic [15:0] valid_n;
logic [15:0] frame_n;
logic [15:0] dout;
logic [15:0] valido_n;
logic [15:0] frameo_n;
logic [15:0] busy_state;
clocking cb @(posedge clock);
default input #0 output #0;
output reset_n;
output din;
output valid_n;
output frame_n;
input dout;
input valido_n;
input frameo_n;
input busy_state;
endclocking: cb
modport TB(clocking cb, output reset_n,output din,output valid_n,output frame_n);
endinterface: router_io