Skip to main content

Shared helpers used by the different ate-apps, i.e. master-app, control-app, etc.)

Project description

Semi-ATE

Semiconductor Automated Test Equipment

GitHub Conda Supported Python versions CI-CD

GitHub release (latest SemVer) GitHub commits since latest release (by date) GitHub issues GitHub pull requests

Semi-ATE is a tester- and instruments AGNOSTIC framework for Semiconductor ATE ASIC testing projects.

This means that the system is not build around a specific instrument (let's consider an ATE tester for a moment as a super instrument), it rather focuses on organizing semiconductor testing in such a way that all use- (and special) corner cases have their well known place. This enables the users (read: DE's, TCE's, TE's & PE's) to focus on the REAL work, being the writing of good, fast and stable tests. Organizing tests into test-programs and test-programs in to flows is handled by wizards, so the only code that needs writing is the actual test! (motto: Code is our enemy)

The Semi-ATE package is written purely in Python (noarch) and provides besides libraries also a plugin to the Spyder IDE.

Packages

The Semi-ATE project is maintained in this single repository, however it is released as a set of packages (all with the same version number) to accomodate the different use-cases.

Package Name PyPI Version conda Version feedstock
Semi-ATE-common PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-project-database PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-sammy PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-plugins PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-testers PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-spyder PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-apps-common PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-control-app PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-master-app PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-test-app PyPI Conda (channel only) conda-forge feedstock
Semi-ATE-installer PyPI Conda (channel only) conda-forge feedstock

3rd party packages needed:

mosquitto : Conda (channel only) conda-forge feedstock

Installation (on a MiniSCT)

  1. login as sct/sct
  2. in the home directory there should be a directory repos
  3. in repos there is a Semi-ATE directory (holding the relevant Semi-ATE git repositories)
  • TCC_actuators : git clone

Run (on a MiniSCT)

  1. Make sure you have a "test cell" configured as follows : image

=== Installation of the packages can be achieved via conda or pip.

Installation using pip

Each package can be installed using python -m pip install <package-name>:

python -m pip install semi-ate-common
python -m pip install semi-ate-project-database
python -m pip install semi-ate-sammy
python -m pip install semi-ate-plugins
python -m pip install semi-ate-testers
python -m pip install semi-ate-spyder
python -m pip install semi-ate-apps-common
python -m pip install semi-ate-control-app
python -m pip install semi-ate-master-app
python -m pip install semi-ate-test-app

Or all at once:

python -m pip install semi-ate-common semi-ate-project-database semi-ate-sammy semi-ate-plugins semi-ate-testers semi-ate-spyder semi-ate-apps-common semi-ate-control-app semi-ate-master-app semi-ate-test-app

Installation via Conda

To be defined

Development Process

Test program development process documentation can be found here

The semi-ate-control-app package

This package provides some a command line tool (launch_control). In order to use this application you have to configure it first. This tool should be run on some test node, i.e. some host controlling measurement instruments. It communicates with the master application from the semi-ate-master-app package by MQTT. The master application sends mqtt-messages to steer the control application. The control application itself is responsible for loading/unloading and executing some test-program. Test results, i.e. STDF records, are send back to the master application.

Configuration

Configuration of the control application is done by writing a JSON file called control_config_file.json. The following key-value-pairs have to be defined:

{
    "broker_host": "127.0.0.1",
    "broker_port": 1883,
    "device_id": "SCT-82-1F",
    "site_id": "0",
    "loglevel": 10
}
  • broker_host defines the ip address of the mqtt broker.
  • broker_port defines the prot of the mqtt broker.
  • device_id defines a unique id of the so-called test-system. A test system can contain several host running he control applications. And some host running the master application.
  • site_id is the unique identifier of the host running the control application
  • loglevel defines the log-level of the control application

The device_id and site_id is used to build unique mqtt-message-topics automatically. The idea is that no test-system influences some other test system.

Starting the Control Application

We assume that the semi-ate-control-app has been installed in the current python environment. Further configuration control_config_file.json file is located in the current folder.

IMPORTANT: The configuration file has to be named control_config_file.json

(environment)> launch_control
control 0|21/03/2022 04:14:10 PM |INFO    |mqtt connected
control 0|21/03/2022 04:14:10 PM |INFO    |control state is: idle

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-control-app-1.0.15.tar.gz (20.9 kB view hashes)

Uploaded Source

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