Professional Documents
Culture Documents
Flow of Documentation:
• Processor Guidelines
• Simulations performed and results
o Simulation ALU
o Simulation Registers
o Synthesis
o Routing
• Verilog and Design Directory
• Number of Cells Used
• Size of Core
• Descriptions of Challenges
Processor Guidelines:
- Because of the simplicity of the design IN and OUT might not be needed. Direct output from AC
will suffice.
ALU:
Decoder/Control Unit
Final Assignment JHU Fall 2018 Harvish Mehta
• NOT
• AND
Data bus Instruction: 24’B b0001 0000 1111 0000 1100 1100
AC_OUT: 16’b 0000 0000 1100 0000
• OR
Data bus Instruction: 24’B b0010 0000 1111 0000 1100 1100
AC_OUT: 16’b 0000 0000 1111 1100
• XOR
Data bus Instruction: 24’B b0011 0000 1111 0000 1100 1100
AC_OUT: 16’b 0000 0000 0011 1100
Final Assignment JHU Fall 2018 Harvish Mehta
• ADD
Data bus Instruction: 24’B b0100 0000 1111 0000 1100 1100
AC_OUT: 16’b 0000 0001 1011 1100
• NEG
Data bus Instruction: 24’B b0011 0000 1111 0000 1100 1100
AC_OUT: 16’b 1111 1111 0011 0100
• SUB
Data bus Instruction: 24’B b0011 0000 1111 0000 1100 1100
AC_OUT: 16’b 0000 0000 0010 0100
Final Assignment JHU Fall 2018 Harvish Mehta
The Test Bench was adjusted to do you multiple register functions at a single time for all three registers.
• Load
Databus_in = 24'b1000 0100 0101 0101 0000 0000; DR1 Load
Databus_in = 24'b1000 0101 0000 0000 0110 0110; DR2 Load
Databus_in = 24'b1000 0110 0011 0011 0011 0011; AC Load
• Clear
Databus_in = 24'b1000 0001 0000 0000 0000 0000; DR1 Clear
Databus_in = 24'b1000 0010 0000 0000 0000 0000; DR2 Clear
Databus_in = 24'b1000 0011 0000 0000 0000 0000; AC Clear
• Increment
o Using the same load function
Databus_in = 24'b1000 0111 0000 0000 0000 0000; DR1 Increment
Databus_in = 24'b1000 1000 0000 0000 0000 0000; DR2 Increment
Databus_in = 24'b1000 1001 0000 0000 0000 0000; AC Increment
• Shift Right
o Using the same load function
Databus_in = 24'b1000 1101 0000 0000 0000 0000; DR1 Shift Right
Databus_in = 24'b1000 1110 0000 0000 0000 0000; DR2 Shift Right
Databus_in = 24'b1000 1111 0000 0000 0000 0000; AC Shift Right
• Shift Left
o Using the same load function
Databus_in = 24'b1000 1010 0000 0000 0000 0000; DR1 Shift Left
Databus_in = 24'b1000 1011 0000 0000 0000 0000; DR2 Shift Left
Databus_in = 24'b1000 1100 0000 0000 0000 0000; AC Shift Left
All documents and logs are in the Zipped file posted on blackboard. The toplevel module is decoder
However, all of these files related to the final project are located and zipped up here:
-/raid/fall2018/hmehta1/Fall_Project_FA2018
Size of Core
Attached is the size of the core: 1593 cells, with cell size defined below.
Final Assignment JHU Fall 2018 Harvish Mehta
Descriptions of Challenges
The most challenging component of the project was the openness of the project. The lecture discusses
using a memory system within a CPU and using branch architecture with interrupts. So this combined
with the minimal of constraints on the project made it a little tough. After understanding the key
functionality, the project became progressively became easier.