!!!!    6    0    1  989967585  V91b8                                         

! Device           : 2532
! Function         : uv_prom 3-state 4k x 8
! revision         : B.01.00
! safeguard        : med_out_mos
! Modifications    : Modified for AwareTest xi
!
  warning           "This library has not been verified with hardware."

vector cycle  600n
receive delay  500n

assign      VCC               to pins        24
assign      GND               to pins        12
assign      VPP               to pins        21

assign      Address_bus       to pins        18,19,22,23,1,2,3,4,5,6,7,8
assign      Data_bus          to pins        17,16,15,14,13,11,10,9
assign      Data_D0           to pins   9    !AT Added for minimum pin test.
assign      Data_D1           to pins   10   !AT Added for minimum pin test.
assign      Data_D2           to pins   11   !AT Added for minimum pin test.
assign      Data_D3           to pins   13   !AT Added for minimum pin test.
assign      Data_D4           to pins   14   !AT Added for minimum pin test.
assign      Data_D5           to pins   15   !AT Added for minimum pin test.
assign      Data_D6           to pins   16   !AT Added for minimum pin test.
assign      Data_D7           to pins   17   !AT Added for minimum pin test.

assign      E_Prog_bar        to pins        20

family      TTL

power       VCC, GND

inputs      Address_bus, E_Prog_bar
outputs     Data_bus
outputs     Data_D0, Data_D1, Data_D2, Data_D3 !AT Added for minimum pin test.
outputs     Data_D4, Data_D5, Data_D6, Data_D7 !AT Added for minimum pin test.

nondigital  VPP

when     E_Prog_bar  is "1"   inactive Data_bus

trace    Data_bus    to    Address_bus,E_prog_bar

disable     Data_bus  with    E_Prog_bar   to     "1"

!****************************************************************************
!****************************************************************************

vector      Address_Counter
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_bus          to  "00000000"
     graycounter   Address_bus
end vector

!AT The following vectors have been added for a minimum pins test. Any
!AT vectors that references the data bus was copied and modified to reference
!AT only a single pin of the data bus.

vector      Address_Counter_D0
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D0           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D1
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D1           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D2
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D2           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D3
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D3           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D4
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D4           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D5
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D5           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D6
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D6           to  "0"
     graycounter   Address_bus
end vector

vector      Address_Counter_D7
     set    E_Prog_bar        to  "0"
     set    Address_bus       to  "000000000000"
     set    Data_D7           to  "0"
     graycounter   Address_bus
end vector

!****************************************************************************
!****************************************************************************

!AT The following AwareTest units have been added for minimum pins tests. Each
!AT unit tests a separate data pin starting with D0.

unit "awaretest D0 Test"
     preset counter    Address_Counter_D0  compress
     repeat   255  times
         count    Address_Counter_D0  compress
     end repeat
end unit

unit "awaretest D1 Test"
     preset counter    Address_Counter_D1  compress
     repeat   255  times
         count    Address_Counter_D1  compress
     end repeat
end unit

unit "awaretest D2 Test"
     preset counter    Address_Counter_D2  compress
     repeat   255  times
         count    Address_Counter_D2  compress
     end repeat
end unit

unit "awaretest D3 Test"
     preset counter    Address_Counter_D3  compress
     repeat   255  times
         count    Address_Counter_D3  compress
     end repeat
end unit

unit "awaretest D4 Test"
     preset counter    Address_Counter_D4  compress
     repeat   255  times
         count    Address_Counter_D4  compress
     end repeat
end unit

unit "awaretest D5 Test"
     preset counter    Address_Counter_D5  compress
     repeat   255  times
         count    Address_Counter_D5  compress
     end repeat
end unit

unit "awaretest D6 Test"
     preset counter    Address_Counter_D6  compress
     repeat   255  times
         count    Address_Counter_D6  compress
     end repeat
end unit

unit "awaretest D7 Test"
     preset counter    Address_Counter_D7  compress
     repeat   255  times
         count    Address_Counter_D7  compress
     end repeat
end unit

!    ROM contents are completely verified by performing CRC check of the
!    outputs while a counter cycles through the address locations.
!    Results are compared against those of a known good board.

unit  "ROM Test"

     preset counter    Address_Counter     compress
     repeat  4095  times
         count    Address_Counter     compress
     end repeat
end unit

!    End of Test
