Skip to main content

Standard Tester Interface Library [IEEE1450] with python

Project description

STIL

Standard Tester Interface Language [IEEE1450]

CI CD

GitHub release (latest SemVer) GitHub commits since latest release (by date) PyPI

GitHub issues GitHub pull requests

codecov

This repository contains STIL parser and dump compiler written in Python using Lark parser library and Language Server Protocol (LSP) for integration into IDE. The work is in progress and the parser is not yet ready to be used in production environment.

Usage examples

Use syntax and semantic parsers to find out errors in the input STIL file:

from Semi_ATE.STIL.parsers.STILParser import STILParser

stil_file = "PATH_TO_STIL_FILE"
parser = STILParser(stil_file)
parser.parse_syntax()
parser.parse_semantic()
if parser.err_msg == None:
  print("No errors are found during STIL file parsing")
else:
  print("Found error during STIL file parsing")

Use a dump compiler to understand how to make a own compiler.

The dump compiler will save content of the STIL file into one or more text files. The files contain WFC data for signals, commands etc. The compiler can expand the procedures and shift statements if needed. For detail information, read the intro text of the Semi_ATE.STIL.parsers.STILDumpCompiler

from Semi_ATE.STIL.parsers.STILDumpCompiler import STILDumpCompiler

stil_file = "PATH_TO_STIL_FILE"
out_folder = "PATH_TO_OUTPUT_FOLDER"

compiler = STILDumpCompiler(
    stil_file, expanding_procs=True, is_scan_mem_available=True, out_folder = out_folder
)
compiler.compile()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Semi-ATE-STIL-0.2.5.tar.gz (62.7 kB view details)

Uploaded Source

File details

Details for the file Semi-ATE-STIL-0.2.5.tar.gz.

File metadata

  • Download URL: Semi-ATE-STIL-0.2.5.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for Semi-ATE-STIL-0.2.5.tar.gz
Algorithm Hash digest
SHA256 fa79b58bd7e81162ef9ce241f1063a926119f8d79ccb4e25d345652f0bfec3ae
MD5 dd73ede8644c529eb26279610d35fa3d
BLAKE2b-256 7106bd8f78cc1a5f6b11f0e01946208bb141ddf3db75b57f52684e4cee4bd5db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page