mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-11-10 01:35:49 +00:00
Add initial coursework deliverables
This commit is contained in:
parent
2e545f2ceb
commit
e6e4f17afe
0
docs/mips_data_sheet.pdf
Normal file
0
docs/mips_data_sheet.pdf
Normal file
16
rtl/mips_cpu_bus.v
Normal file
16
rtl/mips_cpu_bus.v
Normal 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
21
rtl/mips_cpu_harvard.v
Normal 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
|
||||
);
|
4
test/test_mips_cpu_bus.sh
Normal file
4
test/test_mips_cpu_bus.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# should not create any files in the rtl dir
|
||||
# but auxiliary files / dirs can be utilised
|
4
test/test_mips_cpu_harvard.sh
Normal file
4
test/test_mips_cpu_harvard.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# should not create any files in the rtl dir
|
||||
# but auxiliary files / dirs can be utilised
|
Loading…
Reference in a new issue