Skip to content

Commit

Permalink
Add test support files
Browse files Browse the repository at this point in the history
  • Loading branch information
sbethur committed Nov 8, 2019
1 parent 3b7c604 commit fd1c5b6
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 0 deletions.
Binary file not shown.
14 changes: 14 additions & 0 deletions src/nidigital/system_tests/test_files/pin_levels.digilevels
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<PinLevelsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="1.0" xmlns="http://www.ni.com/Semiconductor/PinLevels">
<PinLevelsSheet>
<DigitalPinLevelSets>
<DigitalPinLevelSet pin="AllPins">
<Vil>1 V</Vil>
<Vih>5 V</Vih>
<Vol>2 V</Vol>
<Voh>4 V</Voh>
<TerminationMode>HighZ</TerminationMode>
</DigitalPinLevelSet>
</DigitalPinLevelSets>
</PinLevelsSheet>
</PinLevelsFile>
43 changes: 43 additions & 0 deletions src/nidigital/system_tests/test_files/pin_map.pinmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<PinMap xmlns="http://www.ni.com/TestStand/SemiconductorModule/PinMap.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="1.5">
<Instruments>
<NIDigitalPatternInstrument name="PXI1Slot2" numberOfChannels="32" group="Digital" />
<NIDigitalPatternInstrument name="PXI1Slot5" numberOfChannels="32" group="Digital" />
</Instruments>
<Pins>
<DUTPin name="LO0" />
<DUTPin name="HI0" />
<DUTPin name="LO1" />
<DUTPin name="HI1" />
</Pins>
<PinGroups>
<PinGroup name="AllPins">
<PinReference pin="LO0" />
<PinReference pin="HI0" />
<PinReference pin="LO1" />
<PinReference pin="HI1" />
</PinGroup>
<PinGroup name="LowPins">
<PinReference pin="LO0" />
<PinReference pin="LO1" />
</PinGroup>
<PinGroup name="HighPins">
<PinReference pin="HI0" />
<PinReference pin="HI1" />
</PinGroup>
</PinGroups>
<Sites>
<Site siteNumber="0" />
<Site siteNumber="1" />
</Sites>
<Connections>
<Connection pin="HI0" siteNumber="0" instrument="PXI1Slot5" channel="0" />
<Connection pin="HI0" siteNumber="1" instrument="PXI1Slot5" channel="1" />
<Connection pin="HI1" siteNumber="0" instrument="PXI1Slot5" channel="2" />
<Connection pin="HI1" siteNumber="1" instrument="PXI1Slot5" channel="3" />
<Connection pin="LO0" siteNumber="0" instrument="PXI1Slot2" channel="16" />
<Connection pin="LO0" siteNumber="1" instrument="PXI1Slot2" channel="17" />
<Connection pin="LO1" siteNumber="0" instrument="PXI1Slot2" channel="18" />
<Connection pin="LO1" siteNumber="1" instrument="PXI1Slot2" channel="19" />
</Connections>
</PinMap>
8 changes: 8 additions & 0 deletions src/nidigital/system_tests/test_files/specifications.specs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Specifications xmlns:f="http://www.ni.com/schemas/Semiconductor/Formula.xsd" schemaVersion="1.0" xmlns="http://www.ni.com/schemas/Semiconductor/Specifications.xsd">
<Section name="AC">
<f:Formula symbol="Period">
<f:Definition>10 µ</f:Definition>
</f:Formula>
</Section>
</Specifications>
24 changes: 24 additions & 0 deletions src/nidigital/system_tests/test_files/timing.digitiming
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<TimingFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="1.0" xmlns="http://www.ni.com/Semiconductor/Timing">
<TimingSheet>
<TimeSets>
<TimeSet name="t0">
<Period>AC.Period</Period>
<PinEdges>
<PinEdge pin="AllPins">
<ReturnToLow>
<On>AC.Period * 0.1</On>
<Data>AC.Period * 0.2</Data>
<Return>AC.Period * 0.8</Return>
<Off>AC.Period * 0.9</Off>
</ReturnToLow>
<CompareStrobe>
<Strobe>AC.Period * 0.5</Strobe>
</CompareStrobe>
<DataSource>Pattern</DataSource>
</PinEdge>
</PinEdges>
</TimeSet>
</TimeSets>
</TimingSheet>
</TimingFile>

0 comments on commit fd1c5b6

Please sign in to comment.