!!!! 6 0 1 974786215 Vd6cb ! Device : 74als465 ! Function : Octal buffers with three state outputs ! revision : B.01.00 ! safeguard : high_out_als ! Modifications : Modified for AwareTest xi ! warning "This library has not been verified with hardware." combinatorial !NOTE: This device has outputs that can be put in a high impedance state. ! Inorder to test the enables (G1bar, G2bar) pullups have to be used ! on the outputs. Uncomment the two execute statements in the disable ! unit to test these pins. !ALSO Unused inputs can cause problems with this test reliably working if ! they are left floating. vector cycle 1u receive delay 900n ! warning "Pull-ups are required to test high-impedance outputs." assign VCC to pins 20 assign GND to pins 10 assign A1 to pins 2 assign A2 to pins 4 assign A3 to pins 6 assign A4 to pins 8 assign A5 to pins 12 assign A6 to pins 14 assign A7 to pins 16 assign A8 to pins 18 assign Y1 to pins 3 assign Y2 to pins 5 assign Y3 to pins 7 assign Y4 to pins 9 assign Y5 to pins 11 assign Y6 to pins 13 assign Y7 to pins 15 assign Y8 to pins 17 assign G1bar to pins 1 assign G2bar to pins 19 family TTL power VCC,GND inputs A1, A2, A3, A4, A5, A6 inputs A7, A8, G1bar, G2bar outputs Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8 disable Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8 with G1bar to "1" disable Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8 with G2bar to "1" when G1bar is "1" inactive Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8 when G2bar is "1" inactive Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8 trace Y1 to A1, G1bar, G2bar trace Y2 to A2, G1bar, G2bar trace Y3 to A3, G1bar, G2bar trace Y4 to A4, G1bar, G2bar trace Y5 to A5, G1bar, G2bar trace Y6 to A6, G1bar, G2bar trace Y7 to A7, G1bar, G2bar trace Y8 to A8, G1bar, G2bar set load on groups Y8 to pull up !*************************************************************** !*************************************************************** vector A1_high set G1bar to "0" set G2bar to "0" set A1 to "1" set Y1 to "1" end vector vector A2_high set G1bar to "0" set G2bar to "0" set A2 to "1" set Y2 to "1" end vector vector A3_high set G1bar to "0" set G2bar to "0" set A3 to "1" set Y3 to "1" end vector vector A4_high set G1bar to "0" set G2bar to "0" set A4 to "1" set Y4 to "1" end vector vector A5_high set G1bar to "0" set G2bar to "0" set A5 to "1" set Y5 to "1" end vector vector A6_high set G1bar to "0" set G2bar to "0" set A6 to "1" set Y6 to "1" end vector vector A7_high set G1bar to "0" set G2bar to "0" set A7 to "1" set Y7 to "1" end vector vector A8_high set G1bar to "0" set G2bar to "0" set A8 to "1" set Y8 to "1" end vector vector A1_low set G1bar to "0" set G2bar to "0" set A1 to "0" set Y1 to "0" end vector vector A2_low set G1bar to "0" set G2bar to "0" set A2 to "0" set Y2 to "0" end vector vector A3_low set G1bar to "0" set G2bar to "0" set A3 to "0" set Y3 to "0" end vector vector A4_low set G1bar to "0" set G2bar to "0" set A4 to "0" set Y4 to "0" end vector vector A5_low set G1bar to "0" set G2bar to "0" set A5 to "0" set Y5 to "0" end vector vector A6_low set G1bar to "0" set G2bar to "0" set A6 to "0" set Y6 to "0" end vector vector A7_low set G1bar to "0" set G2bar to "0" set A7 to "0" set Y7 to "0" end vector vector A8_low set G1bar to "0" set G2bar to "0" set A8 to "0" set Y8 to "0" end vector vector Disable_G1bar_pullups set G1bar to "1" set G2bar to "0" set A8 to "0" set Y8 to "1" end vector vector Disable_G2bar_pullups set G1bar to "0" set G2bar to "1" set A8 to "0" set Y8 to "1" end vector !*************************************************************** !*************************************************************** !**************************************************************** unit "awaretest E1 A in, Y out" !AT Modified the unit name execute A1_low execute A1_high end unit !AT Added a new "end unit" unit "awaretest E2 A in, Y out" !AT Added this unit execute A2_low execute A2_high end unit !AT Added a new "end unit" unit "awaretest E3 A in, Y out" !AT Added this unit execute A3_low execute A3_high end unit !AT Added a new "end unit" unit "awaretest E4 A in, Y out" !AT Added this unit execute A4_low execute A4_high end unit !AT Added a new "end unit" unit "awaretest E5 A in, Y out" !AT Added this unit execute A5_low execute A5_high end unit !AT Added a new "end unit" unit "awaretest E6 A in, Y out" !AT Added this unit execute A6_low execute A6_high end unit !AT Added a new "end unit" unit "awaretest E7 A in, Y out" !AT Added this unit execute A7_low execute A7_high end unit !AT Added a new "end unit" unit "awaretest E8 A in, Y out" !AT Added this unit execute A8_low execute A8_high end unit unit "Enable test" execute Disable_G1bar_pullups execute Disable_G2bar_pullups end unit !End of test