Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/patricnilackshan/nano-processor-design

Nano Processor capable of executing simple set of instructions: 4-bit Add/Subtract unit, 3-bit adder, 3-bit Program Counter, k-way b-bit multiplexers
https://github.com/patricnilackshan/nano-processor-design

Last synced: 7 days ago
JSON representation

Nano Processor capable of executing simple set of instructions: 4-bit Add/Subtract unit, 3-bit adder, 3-bit Program Counter, k-way b-bit multiplexers

Awesome Lists containing this project

README

        

# Nano-Processor-Design
Nano Processor capable of executing simple set of instructions: 4-bit Add/Subtract unit , 3-bit adder, 3-bit Program Counter, k-way b-bit multiplexers

| Instruction | Description | Format (12-bit instruction) |
|-------------|-------------|-----------------------------|
| MOVI R, d | Move immediate value d to register R, i.e., R ← d
R ∈ [0, 7], d ∈ [0, 15] | 1 0 R R R 0 0 0 d d d d |
| ADD Ra, Rb | Add values in registers Ra and Rb and store the result in Ra, i.e., Ra ← Ra + Rb
Ra, Rb ∈ [0, 7] | 0 0 Ra Ra Ra Rb Rb Rb 0 0 0 0 |
| NEG R | 2’s complement of registers R, i.e., R ← −R
R ∈ [0, 7] | 0 1 R R R 0 0 0 0 0 0 0 |
| JZR R, d | Jump if value in register R is 0, i.e.,
 If R == 0
   PC ← d;
 Else
   PC ← PC + 1;
R ∈ [0, 7], d ∈ [0, 7] | 1 1 R R R 0 0 0 0 d d d |




---
## Import the `NanoProcessor_G39` folder in Vivado and Run the Simulations or Test it on **BASYS3**.
---