Digital PDFs
Documents
Guest
Register
Log In
MAINDEC-9A-D0HC-D
September 2000
8 pages
Original
0.4MB
view
download
Document:
EAE-2 maindec-9a-d0hc-d
Order Number:
MAINDEC-9A-D0HC-D
Revision:
Pages:
8
Original Filename:
http://bitsavers.org/pdf/dec/pdp9/EAE-2_maindec-9a-d0hc-d.pdf
OCR Text
IDENTIFICATION Product Code: MAINDEC-9A-DOHC-D Product No~: Date Created: September 23 1968 Maintainer: Diagnostic Group Author: J. Hittell I 1. ABSTRACT Part 2 of the PDP-9 EAE Diagnostic veriFies only correct operation of the EAE multiply and divide in~tructions. Part 2 is written in two sections: Section 1 checks EAE instructions agaif,lst pr,edetermined results. This ranges from setup operation, through multiply and divid~ instructions executed bock to back; Section 2 is a random-number check of the signed multiply and signed divide instructions. Hardware malfunctions in Section 1 result in an error halt. Hardware malfunction~ in Section 2 result in an error. message on the teleprinter. 2. REQUIREMENTS Storage The program when loaded occupies locations 20 to 7100. Subprograms and/or Subroutines Teletype Output Package Signed Multiply Subroutine (modified) Signed Divide Subroutine (modified) Equipm:nt Minimum configuration PDP-9 with EAE option installed 3. USAGE 3.1 Loading Hardware read in (HIR) SA=017720 3.2 Calling Sequence The program is self-starting; after an explanatory printout, press CONTINUE buttpn to proceed. 3.3 Switch Settings AC Switches = 0 or Down With all AC switches down, the program results in the following: a. Hardware malfunctions detected in Section 1 result in an error holt. b. Hardware malfunctions detected in Section 2 result in an error typeout. c. At the completion of the error typeout, the processor halts. d. The program completes whichever section of test it wos started in, sequence from each subt'est of the section to the next, without halting. AC Switches 1 or Up SW o 3.4 Description Operation Delete error typeouts The program will not type out error messages, but wi II ri ng be \I on error. Halt after EAE operation The processor halts after each EAE operation is initiated and its results are verified. (Note: Press CONTINUE to proceed.) 2 Repeat EAE operation (Scope Loop) The program repeats the lost EAE operation. If SW2 is set during an error typeout or holt, the program repeots the operation that caused the error (Note: SW1 is tested' before SW2.) 3 Halt after EAE sequence The processor halts after each sequence of testing an EAE operation. 4 Repeat EAE sequence The program repeats the lost sequence of testing an EAE operation; i.e., the program repeats the EAE AC sign test and does not proceed to multiply/divide test. (Note: The program tests SW3 before SW4.) 5 Cycle all sections At the completion of 77 posses through the Set-Up Test, the program proceeds to the Random Multiply and Divide Test. At the completion of posses through Random Test the program repeats the Set-Up Test. 6 Holt after Set-Up or Random Test. 7 Error printout for module lookup (to be supplied later). Start-Up and/or Entry Start up, Section 1 Set AC switches = 000000 Set address =6512 Press START 2 Start Up, Section 2 Set AC switch .0 000000 Se t address '" 6515 Press START 3.5 Errors in Usage Hardware malfunctions detected in Section 1 will result in an error halt. Refer to the listing using the address in the memory register to identify the error. Hardware malfunctions detected in Section 2 will result in an error typeout on the teleprinter, and a processor halt. a. Error typeouts are in standard format and inclvde the fo II owi ng information. b. Type of failure, multiply or divide. c. Initial problem set-up, contents of the AC, MQ, and the divisor and multipHcand. d. The results of the instruction, i.e., if divide, the quotient and remainder; if multi- ply, the high and low order product. A comparison of thl.: results {software vs hardware}. e. A printout of the ratio of failure, based on 100 octal iterations. f. If the ration is small, it is recommended that CONTINUE be depressed to find a setup that produces a higher failure ratio. g. Then set the address register equal to the contents of the AC and depress START. This will generate a simulated printout of the EAE failure. After the printout the program will go into a scope loop, executing the instruction that foiled. The abbreviations used by the header are as follows: Abbreviation Meaning C(L} The information under this header is the contents of LINK. C(AC) The information under this header is the contents of AC. C(MQ) The information under this header is the contents of MQ. C(SC) The information under this header is the contents of SHIFT COUNT. (DIVISOR) The information under this header is the contents of MB not sign corrected. (MULTIPLICAND) The information under this header is the contents of MB not sign corrected. 3 .....,' Error, Typeout Examples: n. Sign Multiply MULS FAILED MULTIPLIER 705722 MULTIPLICAND 167372 HIGH ORDER PRODUCT LOW ORDER PRODUCT 133015 762343 SOFTWARE 762343 HARDWARE 762443 OUT OF 100 CHECKS BAD 100 6571XX (XX = SHIFT COUNT) b. Sign Divide DIVS C(DIVISOR) 235012 REMAINDER 146136 146135 QUOTIENT 741320 SOFTWARE HARDWARE 741320 OUT OF 100 CHECKS BAD 1 6443XX (XX = SHIFT COUNT) c. d. C(MQ) 304176 C(AC) 223506 (Overflow condition that should set link on divide) BAD LINK FAILED TO SET DIVS FAILED C(DIVISOR) 172052 AC 160723 C(MQ) 403073 SOFTWARE HARDWARE QUOTIENT 604323 604323 REMAINDER 263471 263471 Example of Multiply Simulation MULS FAILED SOFTWARE HARDWARE OUT OF 100 CHECK BAD 100 65711 0 (10 SHIFTS) MULTIPLIER (AC) 235037 MUL TIPLICAND 534247 HIGH ORDER PRODUCT 754134 754134 LOW ORDER PRODUCT 257305 57305 C(L} C(AC) C(MQ) 0 0 0 0 0 121654 172602 217155 231342 236435 117216 47507 754134 235037 116417 47207 23503 411641 204720 502350 241164 257305 0 0 0 0 0 4 ((SC) 70 (2'5 compliment of 10, 71 72 73 74 75 76 77 0 til ~ e. Example of Divide Simulation SOFTWARE HARDWARE OUT OF 100 CHECKS BAD 0 (21 SHIFTS) 644321 QUOTIENT 665007 666112 C(MQ) 567264 REMAINDER 666055 113135 C(l) C(AC} C(MQ} C(SC} 0 1 0 0 1 0 1 0 67505 20232 701505 742172 73344 747730 56641 776522 134224 131470 124201 111422 64065 11172 663404 705771 752742 111722 666055 56726:! 356550 735321 672642 565504 353211 726422 655045 532112 264225 550453 321127 642257 504537 211277 422576 45374 112770 665007 57 (2's compliment of 21) 60 61 62 63 1 0 0 0 1 e C(AC) 710272 C(DIVISOR) 136760 DIVS FAILED 0 64 65 66 67 70 71 72 73 74 75 76 77 0 0 ~ 3.6 Recovery from such Errors In Section I, a malfunction causes a processor halt. In Section 2, a malfunction will gen- erate an error typeout, then halt the p!'oce5sor. One of the following operations may be necessary if more information about the failure is needed to repair the malfunction. a. Repeat the exact operation that detected the failure (possibly a scope loop). b. Continue normally in the test to generate more information about the failure. c. Repeat the sequence of operation, or data patterns that detected the fai lure. d. Produce a simulation printout of failing multiply or divide instruction. AC switch control is built into the program to allow for any of these operations assuming the processor has halted after an error. 5 These operations may be accomplished as follows: a. Repeat same operation Set AC switch 2 up or to a 1 Press CONTINUE Not that AC switch 0 allows deletion of error typeout for a scope loop. b. Continue normally Press CONTINUE c. Repeat Sequence Set AC switch 4 up to a 1 Press CONTINUE d. Simulation Printout Set Address Switch = C(AC) Press START (At completion of Printout the program goes to on automatic scope loop.) 4. PROGRAM DESCRIPTION 4.1 General , The PDP-9 EAE Diagnostic part 2 verifies correct operation of the Multiply and Divide EAE Instruction. Part 2 itself is written in two logical sections as follows. Section i-Set up test using fixed number Verifies correct operation of all EAE Multiply and Divide instructions with fixed numbers. Section 2 - Random Number Verifies correct operation of signed Multiply and Signed Divide instruction with random numbers. The above sections are to be run sequentially; that is, Section 1 must· run before Section 2. 4.2 Test Descri ption 4.2.1 Section 1 Set-Up Test - The Set-Up Test incrementally verifies correct operation of, the multiply and divide instruction. 6 o. · . "ADVP" Checks that the memory location following the multiply and/or divide instruction is not modified by the execution of the instruction and that the program address counter is properly incremented during the execution of the instruction. b. "NEAE" Set up check - Checks the set-up of all EAE signed, unsigned, integ~r and fraction, multiply and divide instructions. These instructions are executed with a shift count of zero. c. "SHCT" Shift Counter Test - Executes the Multiply instruction sequentially starting at a shift count of 1 and incrementing it up to a shift count of 22. d. "STMUl" Sign multiply and divide test - Test all signed multiply and divide e. "MUlTST" Multiply and Divide Test - This test using worse-case number patterns instructions. ac ts as both a EAE and Adder Test. f. "MSPEED" Speed Multiply and Divide - This test is in three operations: (1) a sequence of multiply instructions are executed bock to back, (2) then a sequence of divide instruc<ions ~re e)tecuted, (3) followed by a sequence of MUl, DIY, MUL, and DIY executed bock to bock. 4.2.2 Section 2 Random Data Multiply and Divide Test - The Random Data Test verifies that the EAE will multiply and divide random numbers at shift counts 1 through maximum (22 for multiply, 23 for divide) and checks that the LINK is set on divide averflow. The sequence of testing is as follows: a. Test the Multiply (l) Generate a random number (2) Do a software multiply (3) Do a hardware multiply (4) Compare the results of both operations (5) b. lOOP BACK TO 1 TILL DONE Test the Divide (J) Generate a random number (2) Do a software divide (3) Do a hardware divide (4) Cam pare the results of both operations (5) lOOP BACK TO 1 TIll DONE 7
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies