-
Notifications
You must be signed in to change notification settings - Fork 0
/
CPU_test.v
executable file
·53 lines (43 loc) · 965 Bytes
/
CPU_test.v
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
50
51
52
`timescale 1ns / 1ns
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 13:42:52 11/30/2015
// Design Name: CPU
// Module Name: /ad/eng/users/a/u/austinmw/Desktop/verilog projects/CPU_Multicycle/CPU_test.v
// Project Name: CPU_Multicycle
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: CPU
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
module CPU_test;
// Inputs
reg clk;
reg rst;
// Outputs
wire [31:0] pc_out;
wire [31:0] ALU_OUT;
always #25 assign clk = ~clk;
// Instantiate the Unit Under Test (UUT)
CPU uut (
.clk(clk),
.rst(rst),
.pc_out(pc_out),
.ALU_OUT(ALU_OUT)
);
initial begin
// Initialize Inputs
clk = 0;
rst = 0;
end
endmodule