Skip to content

Commit da415cf

Browse files
authored
Create README.md
1 parent f35735b commit da415cf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# :computer: MIPS Pipeline Processor simulator
2+
3+
<img src="arch.png" width="600px">
4+
5+
## Usage
6+
7+
### Clone or Download
8+
Clone or Download project as a zip file and import to your python environment
9+
10+
### Code with binary instructions
11+
Edit "Instruction.txt" file and insert your binary codes like this:
12+
```binary
13+
00000001000010010101000000100000
14+
00010001001010100000000000000011
15+
00000001000010010101000000100010
16+
```
17+
18+
### CPU.py
19+
Just import CPU.py to your main file and create MIPS CPU:
20+
```python
21+
import CPU
22+
23+
mips = CPU.MIPS('instruction.txt')
24+
```
25+
26+
### Opcodes
27+
Please check opcodes.py and functs.py that is equivalent with your architecture.

0 commit comments

Comments
 (0)