Skip to content

Complete the top.sv module - #31

Open
zw4892-ray wants to merge 1 commit into
NYU-Processor-Design:mainfrom
zw4892-ray:zw4892-ray-patch-1
Open

zw4892-ray wants to merge 1 commit into
NYU-Processor-Design:mainfrom
zw4892-ray:zw4892-ray-patch-1

Conversation

@zw4892-ray

Copy link
Copy Markdown

Implement src/top.sv for the single-cycle core.

The PC is the assembler halfword index and steps by 2, matching assembler.py and instr_imm.sv. The JAL and JALR link value is also PC+2.

This pull request changes only src/top.sv. The Level 1 testbench is issue #14 and is not included here.

Fixes #7

Implement the single-cycle top module. The PC uses the assembler halfword index and steps by 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete the top.sv module.

1 participant