!!!!    6    0    1  989257790  V9f69                                         

! Device           : 74s287
! Function         : PROM 3-state 256 x 4 Bit
! revision         : B.01.00
! safeguard        : standard_sttl
! Modifications    : Modified for AwareTest xi
!
  warning           "This library has not been verified with hardware."

sequential

assign  VCC         to pins 16
assign  GND         to pins 8

assign  Address     to pins 15,1,2,3,4,5,6,7

assign  Data        to pins 9,10,11,12
assign  Data_D0     to pins 12   !AT Added for minimum pin test.
assign  Data_D1     to pins 11   !AT Added for minimum pin test.
assign  Data_D2     to pins 10   !AT Added for minimum pin test.
assign  Data_D3     to pins 9    !AT Added for minimum pin test.

assign  Select_bar  to pins 13,14

family  TTL

power   VCC, GND

inputs  Address, Select_bar

outputs Data
outputs Data_D0, Data_D1, Data_D2, Data_D3 !AT Added for minimum pin test.

disable Data        with Select_bar     to    "1Z"
disable Data        with Select_bar     to    "Z1"

when Select_bar is "1X" inactive Data
when Select_bar is "X1" inactive Data
trace Data to Address, Select_bar
!*********************************************************************
!*********************************************************************

vector    Count_vector
     set  Select_bar        to "00"
     set  Address           to "00000000"
     set  Data              to "0000"
     graycounter            Address
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    Count_vector_D0
     set  Select_bar        to "00"
     set  Address           to "00000000"
     set  Data_D0           to "0"
     graycounter            Address
end vector

vector    Count_vector_D1
     set  Select_bar        to "00"
     set  Address           to "00000000"
     set  Data_D1           to "0"
     graycounter            Address
end vector

vector    Count_vector_D2
     set  Select_bar        to "00"
     set  Address           to "00000000"
     set  Data_D2           to "0"
     graycounter            Address
end vector

vector    Count_vector_D3
     set  Select_bar        to "00"
     set  Address           to "00000000"
     set  Data_D3           to "0"
     graycounter            Address
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      Count_vector_D0  compress
     repeat   255 times
          count     Count_vector_D0   compress
     end repeat
end unit

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

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

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

unit "test device"
     preset counter      Count_vector  compress
     repeat   255 times
          count     Count_vector   compress
     end repeat
end unit

!    End of test
