Note: This project was generated by AI — with thanks to GitHub Copilot and Claude Opus.
A Windows desktop tool that converts STIL (Standard Test Interface Language) ATPG pattern files — into the file formats consumed by the NI Semiconductor Test Module (STS):
| Output file | Format | Purpose |
|---|---|---|
.digipatsrc |
text | Digital pattern source (expanded test vectors) |
.pinmap |
XML | Pin map (instruments, DUT pins, pin groups) |
.digitiming |
XML | Digital timing (time sets, periods, pin edges) |
.digipat |
binary | Compiled pattern (when the NI compiler is installed) |
The tool also supports the CSV signal-configuration format used by VectorPort, so you can filter, rename and re-order the signals that end up in the generated files.
- STIL parsing for the ATPG subset emitted by TetraMAX / DFT Compiler — signals,
signal groups, timing (
WaveformTable), procedures, macros and the pattern block. - Signal mapping via the CSV format: keep/remove signals, rename them to DUT pin names, and preserve the mapping file's ordering in the output.
- Lazy pattern expansion — opening a STIL file only parses the lightweight configuration (signals/groups/timing) so the UI stays responsive; the (potentially huge) pattern block is expanded later, at generation time.
- Streaming generation — the expanded vectors are streamed straight to disk, so memory stays flat even for patterns with millions of cycles.
- Progress reporting during generation (
line N/total). - Validation harness(deleted) (
TestValidation) that diffs a freshly generated.digipatsrcagainst a reference conversion.
| Project | Type | Description |
|---|---|---|
PatternConversionTool |
WPF app (.NET 10) | The conversion GUI (MVVM). |
PatternConvert.slnx
PatternConversionTool/
Models/ Signal, PatternInfo (VectorRow), SignalGroup, TimingInfo
Services/ StilParser, SignalConfigService, DigiPatGenerator,
PinmapGenerator, TimingGenerator, DigitalPatternCompiler
ViewModels/ MainViewModel, RelayCommand
MainWindow.xaml / App.xaml
- .NET 10 SDK (target framework
net10.0-windows) - Windows (the main app uses WPF and Windows Forms dialogs)
dotnet build PatternConvert.slnxOr open PatternConvert.slnx in Visual Studio and build.
dotnet run --project PatternConversionTool- Load STIL — opens a STIL file and lists its signals (direction, STIL name). Only the configuration is parsed at this point; the pattern is expanded on generation.
- Load CSV — (optional) import a CSV mapping file to filter and rename
signals. Signals flagged
Remove? == trueare excluded; kept signals are listed first, in mapping-file order. - Edit signals — adjust pin name, enabled/remote flags and grouping directly in the grid.
- Export CSV — (optional) save the current signal configuration back to a CSV file.
- Generate — choose an output folder. The tool writes
<name>.digipatsrc,<name>.pinmapand<name>.digitiming, streaming the pattern vectors to disk with a progress indicator.
No license file is currently included in this repository.