diff --git a/docs/mips_data_sheet.pdf b/docs/mips_data_sheet.pdf new file mode 100644 index 0000000..e69de29 diff --git a/rtl/mips_cpu_bus.v b/rtl/mips_cpu_bus.v new file mode 100644 index 0000000..111a7b3 --- /dev/null +++ b/rtl/mips_cpu_bus.v @@ -0,0 +1,16 @@ +module mips_cpu_bus( + /* Standard signals */ + input logic clk, + input logic reset, + output logic active, + output logic[31:0] register_v0, + + /* Avalon memory mapped bus controller (master) */ + output logic[31:0] address, + output logic write, + output logic read, + input logic waitrequest, + output logic[31:0] writedata, + output logic[3:0] byteenable, + input logic[31:0] readdata +); diff --git a/rtl/mips_cpu_harvard.v b/rtl/mips_cpu_harvard.v new file mode 100644 index 0000000..9442239 --- /dev/null +++ b/rtl/mips_cpu_harvard.v @@ -0,0 +1,21 @@ +module mips_cpu_harvard( + /* Standard signals */ + input logic clk, + input logic reset, + output logic active, + output logic [31:0] register_v0, + + /* New clock enable. See below. */ + input logic clk_enable, + + /* Combinatorial read access to instructions */ + output logic[31:0] instr_address, + input logic[31:0] instr_readdata, + + /* Combinatorial read and single-cycle write access to instructions */ + output logic[31:0] data_address, + output logic data_write, + output logic data_read, + output logic[31:0] data_writedata, + input logic[31:0] data_readdata +); \ No newline at end of file diff --git a/test/test_mips_cpu_bus.sh b/test/test_mips_cpu_bus.sh new file mode 100644 index 0000000..bee7f43 --- /dev/null +++ b/test/test_mips_cpu_bus.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# should not create any files in the rtl dir +# but auxiliary files / dirs can be utilised \ No newline at end of file diff --git a/test/test_mips_cpu_harvard.sh b/test/test_mips_cpu_harvard.sh new file mode 100644 index 0000000..bee7f43 --- /dev/null +++ b/test/test_mips_cpu_harvard.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# should not create any files in the rtl dir +# but auxiliary files / dirs can be utilised \ No newline at end of file