summaryrefslogtreecommitdiff
path: root/platform/wavelet3d/gfx_beats.sv
blob: fcbb091487f97080f9c4165ae27ee7eef67fbd74 (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
interface gfx_beats
#(int WIDTH = $bits(gfx::word));

	logic[WIDTH - 1:0] data;
	logic              ready;
	logic              valid;

	modport tx
	(
		input  ready,
		output data,
		       valid
	);

	modport rx
	(
		input  data,
		       valid,
		output ready
	);

	modport peek
	(
		input  data,
		       ready,
		       valid
	);

endinterface