Marking of Assignment 3
Each part of the assignment was marked independently and each
counts as one assignment.
Part 1
- For cpu_package.vhd:
- 1 for byte declaration
- 1 for instruction mnemonic declarations
- 1 for direction type and constant declarations
- For rom.vhd:
- 1 for an entity declaration
- 1 for any reasonable architecture
- For stack_register.vhd:
- 1 for an entity declaration
- 1 for a selected/conditional assignment
- 1 for a register-instantiating process
- For ROM simulation:
- 5 marks (1/4 mark per correct output) (but 0 marks if
opcodes do not match student number)
- for stack_register simulation:
- 3 marks for correct stack up/down/hold operation
(1 mark for each correct load)
Total: 16 marks
Part 2
Marks were assigned as follows:
- 1 for the top-level entity declaration
- for the architecture:
- 2 marks for stack instantiation
(0.5 per register)
- 2 marks for PC and O registers (1 each)
- 4 marks for instruction decoding logic: (1 each for
X, Y and PC registers, 1 for stack direction)
- for simulation results:
- for I=1:
5 marks for correct output (on for about 12 cycles, off
for about 27)
- for I=4:
5 marks for correct output (on for about 27 cycles, off
for about 12)
Total: 19 marks
EECE 379 Home Page