Skip to content

Ninth lab assignment for CSE2441 (Introduction to Digital Logic). Implementing the TRISC Processor Control Unit

Notifications You must be signed in to change notification settings

ShameenShetty/CSE-2441--Lab9_TRISC_Processor_Control_Unit

Repository files navigation

CSE-2441--Lab9_TRISC_Processor_Control_Unit

Ninth lab assignment for CSE2441 (Introduction to Digital Logic). Implementing the TRISC Processor Control Unit.

TRISC Organization

The TRISC organization is

TRISC Instruction Set

The TRISC Instruction Set for Lab 9 is

And the Controller Finite State Machine (FSM) State Diagram for INC and CLR Instructions is

Lab Parts

The lab was done in multiple parts:

  • The first part was to build an Instruction Decoder (ID) that can receive the input and decode it.

  • The second part was to build a Three Instruction Controller - which is a Controller that can execute three instructions -> INC, CLR, and JMP (Increment, Clear, and Jump commands).
    NOTE: The Three Instruction Controller has two files - one where I wrote the verilog code, and created a symbol file. The second is where I used the symbol file to create a .bdf (block diagram file) using the mentioned symbol file
    The bdf of our Three Instruction Controller is

  • The third part was to build a Six Instruction Controller - which is a Controller that can execute six instructions -> INC, CLR, JMP, LDA, STA, and ADD (Increment ACC, Clear ACC, Jump, Load ACC, Store ACC, and Add ACC instructions).
    NOTE: The Six Instruction Controller has two files - one where I wrote the verilog code, and created a symbol file. The second is where I used the symbol file to create a .bdf (block diagram file) using the mentioned symbol file

  • And the final part was a bonus question where we combined the Instruction Decoder and Six Instruction Controller and demonstrated it on the DE1 Altera Board to the teacher.

The bdf of our Six Instruction Controller is

About

Ninth lab assignment for CSE2441 (Introduction to Digital Logic). Implementing the TRISC Processor Control Unit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published