Add initial coursework deliverables

This commit is contained in:
jl7719 2020-11-24 14:20:29 +09:00
parent 2e545f2ceb
commit e6e4f17afe
5 changed files with 45 additions and 0 deletions

0
docs/mips_data_sheet.pdf Normal file
View file

16
rtl/mips_cpu_bus.v Normal file
View file

@ -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
);

21
rtl/mips_cpu_harvard.v Normal file
View file

@ -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
);

View file

@ -0,0 +1,4 @@
#!/bin/bash
# should not create any files in the rtl dir
# but auxiliary files / dirs can be utilised

View file

@ -0,0 +1,4 @@
#!/bin/bash
# should not create any files in the rtl dir
# but auxiliary files / dirs can be utilised