aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mode10.v
blob: 7405ae423140bb47dc4d97d5de6c611b0e0184d9 (plain) (blame)
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
/* (c) Peter McGoron 2022
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v.2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

module mode10 (
	input clk,
	input [23:0] data_ctrl,
	input activate,
	input ss,
	input rdy,
	output master_finished
);

spi_write_read
#(
	.POLARITY(1),
	.PHASE(0)
) base (
	.clk(clk),
	.data_ctrl(data_ctrl),
	.activate(activate),
	.master_finished(master_finished),
	.ss(ss),
	.rdy(rdy)
);

initial begin
	$dumpfile("mode10.vcd");
	$dumpvars();
end

endmodule