Intro to Processor Architecture (Spring 2023) Course Project
- Architecture: y86 Instruction Set Architecture
- Instruction Type: CISC
- No. of Registers: 15
- Implementation: Pipeline
Implemented using Structural Logic.
- 64-bit inputs.
- Performs the following operations:
ADD
: AdditionSUB
: SubtractionAND
: Bit-wise ANDXOR
: Bit-wise XOR
- 3 flags:
OF
: Overflow FlagSF
: Sign FlagZF
: Zero Flag
Implemented using Behavioural Logic.
- 5 Stages of instructuon execution:
- Fetch
- Decode
- Execute
- Memory
- Write Back
- Status Codes:
- 4 Status Codes:
HLT
: Halt InstructionINS
: Invalid InstructionADR
: Invalid Instruction Memory AddressAOK
: All OK
- Except for
AOK
, processor halts in all other status codes.
- 4 Status Codes:
Handles following Pipeline Hazards:
- Mispredicted Branch
- Load/Use
- Return