Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ei9 committed Apr 12, 2021
1 parent 049b5c3 commit cda7487
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions src/tb_sap2_mini.v
Original file line number Diff line number Diff line change
Expand Up @@ -94,33 +94,33 @@ module tb_sap2_mini;
// #4 a = 8'hd; d = 12'h001; // 001H
// // End [ALU test]

// Start [Subroutine test]
#4 a = 8'h0; d = 12'h40b; // LDB 0BH
#4 a = 8'h1; d = 12'hb05; // JMS 05H
#4 a = 8'h2; d = 12'hfex; // OUT
#4 a = 8'h3; d = 12'hf0x; // NOP
#4 a = 8'h4; d = 12'h708; // JAN 08H
#4 a = 8'h5; d = 12'hf6x; // CMB
#4 a = 8'h6; d = 12'hf7x; // IOR
#4 a = 8'h7; d = 12'hfcx; // BRB
#4 a = 8'h8; d = 12'h00b; // LDA 0BH
#4 a = 8'h9; d = 12'hfex; // OUT
#4 a = 8'ha; d = 12'hffx; // HLT
#4 a = 8'hb; d = 12'h000; // 000h
// // Start [Subroutine test]
// #4 a = 8'h0; d = 12'h40b; // LDB 0BH
// #4 a = 8'h1; d = 12'hb05; // JMS 05H
// #4 a = 8'h2; d = 12'hfex; // OUT
// #4 a = 8'h3; d = 12'hf0x; // NOP
// #4 a = 8'h4; d = 12'h708; // JAN 08H
// #4 a = 8'h5; d = 12'hf6x; // CMB
// #4 a = 8'h6; d = 12'hf7x; // IOR
// #4 a = 8'h7; d = 12'hfcx; // BRB
// #4 a = 8'h8; d = 12'h00b; // LDA 0BH
// #4 a = 8'h9; d = 12'hfex; // OUT
// #4 a = 8'ha; d = 12'hffx; // HLT
// #4 a = 8'hb; d = 12'h000; // 000h

// Sequence:
// LDB 0BH
// JMS 05H
// CMB
// IOR
// BRB
// OUT
// NOP
// JAN 08H
// LDA 0BH
// OUT
// HLT
// End [Subroutine test]
// // Sequence:
// // LDB 0BH
// // JMS 05H
// // CMB
// // IOR
// // BRB
// // OUT
// // NOP
// // JAN 08H
// // LDA 0BH
// // OUT
// // HLT
// // End [Subroutine test]

// Start [Pointer test]
#4 a = 8'h0; d = 12'h004; // LDA 04H
Expand Down

0 comments on commit cda7487

Please sign in to comment.