!!!!    6    0    1  989956041  V48cd                                         

! Device           : Am27S291A
! Function         : 16,384 Bit Generic Series Bipolar IMOX PROM
! revision         : B.01.00
! safeguard        : standard_sttl
! Modifications    : Modified for AwareTest xi
!
  warning           "This library has not been verified with hardware."

sequential

vector cycle  400n
receive delay 300n

assign    VCC       to pins   32
assign    GND       to pins   16

assign    Address   to pins   28,29,30,3,4,5,6,7,8,9,10
assign    Data      to pins   22,21,20,19,17,14,13,12
assign    Data_D0   to pins   12   !AT Added for minimum pin test.
assign    Data_D1   to pins   13   !AT Added for minimum pin test.
assign    Data_D2   to pins   14   !AT Added for minimum pin test.
assign    Data_D3   to pins   17   !AT Added for minimum pin test.
assign    Data_D4   to pins   19   !AT Added for minimum pin test.
assign    Data_D5   to pins   20   !AT Added for minimum pin test.
assign    Data_D6   to pins   21   !AT Added for minimum pin test.
assign    Data_D7   to pins   22   !AT Added for minimum pin test.

assign    Chip_Enable         to pins   26,25,24

assign    NC        to pins   1,2,11,15,18,23,27,31

nondigital   NC

family    TTL

power     VCC, GND

inputs    Address, Chip_Enable
outputs   Data
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.

disable   Data      with Chip_Enable         to   "1XX"
disable   Data      with Chip_Enable         to   "X0X"
disable   Data      with Chip_Enable         to   "XX0"

when Chip_Enable is "1XX" inactive Data
when Chip_Enable is "X0X" inactive Data
when Chip_Enable is "XX0" inactive Data
trace Data to Address, Chip_Enable
!***************************************************************
!***************************************************************

vector    Address_counter
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data                to   "00000000"
upcounter         Address
end vector

!vector    Address_counter_2
!set  Chip_Enable         to   "011"
!set  Address             to   "11111111111"
!set  Data                to   "00000000"
!downcounter       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    Address_counter_D0
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D0             to   "0"
upcounter         Address
end vector

vector    Address_counter_D1
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D1             to   "0"
upcounter         Address
end vector

vector    Address_counter_D2
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D2             to   "0"
upcounter         Address
end vector

vector    Address_counter_D3
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D3             to   "0"
upcounter         Address
end vector

vector    Address_counter_D4
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D4             to   "0"
upcounter         Address
end vector

vector    Address_counter_D5
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D5             to   "0"
upcounter         Address
end vector

vector    Address_counter_D6
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D6             to   "0"
upcounter         Address
end vector

vector    Address_counter_D7
set  Chip_Enable         to   "011"
set  Address             to   "00000000000"
set  Data_D7             to   "0"
upcounter         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      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

unit "ROM Test"
!    This unit tests the response of a ROM against a
!    response learned from a known good device.
preset counter      Address_counter     compress
repeat             2048  times
count          Address_counter     compress
end repeat
end unit

!unit "ROM Test 2"
!preset counter      Address_counter_2   compress
!repeat             2048  times
!count          Address_counter_2   compress
!end repeat
!end unit

!    End of test

