-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
33 lines (23 loc) · 1.72 KB
/
README.txt
File metadata and controls
33 lines (23 loc) · 1.72 KB
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
**************************************************************************************
16-BIT MULTICYCLE RISC PROCESSOR
**************************************************************************************
To initialze the values of all 16 registrs (R0 to R15) to 0000H each, the rst signal
needs to be made high momentarily (given a posedge). The values of these before and
after the execution can be checked using the data file "reg_file.dat".
______________________________________________________________________________________
To initalize the 64k locations of the data memory, write the values in a byte
organized (8-bits in one line) and in little endian format (lower 8-bits of data in
even address) in the data file "data_mem.dat". Some values have been poplulated in the
file.
______________________________________________________________________________________
Instructions can be provided by populating the data file "ins_mem.dat" in a byte
organized way(8-bits in one line), in little endian format (lower 8-bits of data in
even address) and consecutively (without skipping memory locations). Sample values
are provided in the file already.
______________________________________________________________________________________
In case the user wants to start the execution from a particular address, pass that
value through PC_init (in the testbench) and give a posedge to rst.
______________________________________________________________________________________
In case of an invalid instruction, the error messages are displayed in the
log file/terminal and the execution is terminated immediately.
______________________________________________________________________________________