-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c25ce3
commit 58715b8
Showing
6 changed files
with
101 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.mti | ||
*.mpf | ||
*.wlf | ||
*/work | ||
*/work | ||
transcript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,11 @@ | ||
0011100000010001 | ||
0000000000000100 | ||
0011100000010000 | ||
0000000000000011 | ||
0000100000000000 | ||
0000000000000101 | ||
0011100000010000 | ||
0000000000000001 | ||
0011100000010001 | ||
0000000000000001 | ||
0000001000110000 | ||
1001000000100010 | ||
0001011000010001 | ||
1111111111111100 | ||
0000001000010001 | ||
1001100000100000 | ||
1010111001010011 | ||
0000000000010000 | ||
1000111001010100 | ||
0000000000010000 | ||
0000001000010100 | ||
1010100000101010 | ||
1000111001010011 | ||
0000000000010000 | ||
0011101001010011 | ||
0000000000000001 | ||
0011101010110101 | ||
0000000000000001 | ||
0000001010100000 | ||
0000000000001000 | ||
1000100000001100 | ||
0000000000000001 | ||
1000100000010100 | ||
0000000000000010 | ||
0000000000000000 | ||
0000000000000000 | ||
0100100010010000 | ||
0001101010101000 | ||
0000000000000000 | ||
0000000000000000 | ||
1001100100110000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
restart | ||
|
||
add wave sim:/BWZZ_TB/clk | ||
add wave sim:/BWZZ_TB/reset | ||
|
||
add wave -position insertpoint sim:/BWZZ_TB/yarb/PC | ||
add wave -position insertpoint sim:/BWZZ_TB/yarb/NextPC | ||
|
||
add wave sim:/BWZZ_TB/yarb/fetchStage/immediate | ||
add wave sim:/BWZZ_TB/yarb/fetchStage/finalInstruction | ||
|
||
add wave sim:/BWZZ_TB/yarb/IF_ID_Buffer/oInstruction | ||
add wave sim:/BWZZ_TB/yarb/IF_ID_Buffer/oimm | ||
|
||
add wave -position end sim:/BWZZ_TB/yarb/ALUStage/* | ||
add wave sim:/BWZZ_TB/yarb/DataMemory/Data_result | ||
add wave sim:/BWZZ_TB/yarb/DataMemory/Data | ||
add wave sim:/BWZZ_TB/yarb/MEM_WB_Buffer/oRegWrite | ||
add wave sim:/BWZZ_TB/yarb/MEM_WB_Buffer/oMemOrReg | ||
add wave sim:/BWZZ_TB/yarb/MEM_WB_Buffer/oRegDestAddress | ||
add wave sim:/BWZZ_TB/yarb/MEM_WB_Buffer/oDataRes | ||
add wave sim:/BWZZ_TB/yarb/MEM_WB_Buffer/oData | ||
add wave sim:/BWZZ_TB/yarb/WriteBackStage/memData | ||
add wave sim:/BWZZ_TB/yarb/WriteBackStage/aluData | ||
add wave sim:/BWZZ_TB/yarb/WriteBackStage/outputRes | ||
add wave sim:/BWZZ_TB/yarb/StatusRegisterBank/CCR | ||
add wave sim:/BWZZ_TB/yarb/StatusRegisterBank/carryFlag | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run | ||
run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,9 @@ | ||
MOV R1,R5 | ||
SETC | ||
CLRC | ||
LDM R1,1 | ||
LDM R2,2 | ||
NOP | ||
NOT R1 | ||
DEC R1 | ||
INC R1 | ||
NOP | ||
SETC | ||
CLRC | ||
NOT R0 | ||
INC R0 | ||
DEC R0 | ||
OUT R0 | ||
IN R2 | ||
MOV R7,R2 | ||
ADD R7,R2 | ||
SUB R2,R2 | ||
AND R2,R3 | ||
OR R2,R3 | ||
SHL R4,6 | ||
SHR R4,8 | ||
PUSH R3 | ||
POP R3 | ||
LDM R3,9 | ||
LDD R7,R4 | ||
STD R7,R4 | ||
JZ R4 | ||
JN R4 | ||
JC R5 | ||
JMP R5 | ||
CALL R5 | ||
ADD R1,R2 | ||
NOT R5 | ||
NOP | ||
NOP | ||
STD R2,R6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
MOV R1,R5 | ||
SETC | ||
CLRC | ||
NOP | ||
NOT R1 | ||
DEC R1 | ||
INC R1 | ||
NOP | ||
SETC | ||
CLRC | ||
NOT R0 | ||
INC R0 | ||
DEC R0 | ||
OUT R0 | ||
IN R2 | ||
MOV R7,R2 | ||
ADD R7,R2 | ||
SUB R2,R2 | ||
AND R2,R3 | ||
OR R2,R3 | ||
SHL R4,6 | ||
SHR R4,8 | ||
PUSH R3 | ||
POP R3 | ||
LDM R3,9 | ||
LDD R7,R4 | ||
STD R7,R4 | ||
JZ R4 | ||
JN R4 | ||
JC R5 | ||
JMP R5 | ||
CALL R5 |