Skip to content
ET - A Tool for Schematic Design and Style Checks
Ada Other
  1. Ada 99.9%
  2. Other 0.1%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf/ET
examples
old_stuff
src
.gitignore
LICENSE
README.md

README.md

SYSTEM ET

An ECAD-Tool for complex schematics and layouts

The Idea behind

  • Most ECAD tools do not allow opening, checking and editing of multiple designs simultaneously.
  • We need real hierarchic and modular designs.
  • We need a text based, machine and human readable format for design files.
  • Design checks provided by common ECAD tools are way too superficial and trivial.
  • Style guides must be checked against.
  • The tool must be highly scripting capable.
  • We want to do agile hardware develpment which requires the features mentioned above.
  • The tool must be open sourced.
  • In the long run, a nice GUI will come with ET.
  • Your feedback and collaboration is highly welcome !

Outstanding Features

  • native Linux support
  • ASCII / text based design and device model files - optimized for version control with GIT
  • human readable and editable design and model files
  • multi-schematic/board/layout support
  • true hierarchic and modular design with interfaces at the module boundaries
  • submodules instantiated in parent module by reference
  • extensive design rule checking (device prefixes, purpose of user-interactive devices, partcodes, pinout of board-to-board connections ...)
  • interfacing with system modelling tools

Examples of design and component models

Example of an ERC configuration file

Supported CAE formats

  • KiCad V4, V5 (import only)
  • Planned is to support also EAGLE (import only)
  • An ET native format as shown above.

Usage

For everything ET does you will find in the current working directory a folder named "ET/reports" for log messages.

Importing a KiCad project

To import a single KiCad V5 design into a native project 'my_et_project' run this command:

$ et --import_format kicad_v5 --import_project my_kicad_project/

Optionally provide a log level for debugging:

$ et --import_format kicad_v5 --import_project my_kicad_project/ --log_level 2

ET creates in the current working directory a folder named "ET/et_import" where you find the now native project. There is also an import report where log messages can be found. See "ET/reports". Depending on the log level this report contains more or less debug information.

Creating a conventions file

The conventions file is the place where file where prefixes, units of measurement and other things are defined. It is not mandatory. This step can be omitted. If so, lots of design checks wil not be performed. Change into the root directory of your projects and generate a conventions with this command:

$ et --make_conventions conventions.txt

This file can now be found in the root directory of your projects. Edit it according to your customs.

Creating an ET native project

To create a new project like 'my_new_et_project' run this command. CAUTION: An already existing project of the same name will be deleted without warning !

$ et --create my_new_et_project/

Opening an ET native project

To open a native project like 'my_et_project' run this command:

$ et --open my_et_project/

Or if the project lives somewhere else:

$ et --open /home/user/ecad/my_et_project/

A log level can also be passed:

$ et --open /home/user/ecad/my_et_project/ --log_level 2

If a conventions file is available run:

$ et --conventions conventions.txt --open /home/user/ecad/my_et_project/ --log_level 2

The project can also be saved under a different name at a different place:

$ et --conventions conventions.txt --open /home/user/ecad/my_et_project/ --save_as /home/user/tmp/eval --log_level 2

ET has an internal script processor that reads and executes a script file. The scripting feature allows manipulating designs without GUI:

$ et --open my_et_project/ --script my_et_project/my_script.scr --save_as modified_project --log_level 2

Executing scripts

An example of a script that modifies things in a dummy module (named "submoduletest") can be seen here: https://github.com/Blunk-electronic/ET_training/blob/master/submoduletest/test.scr As the script processor is evolving more an more commands are moving up from section "not supported" to "supported".

Installation

  • Currently there is no proper install script.

  • Install the following packages:

    • the GNAT Ada compiler (version 7 or later). It should come along with major linux distros.
    • make
    • gprbuild
    • gtkada
  • Change into src/et and follow the instructions in readme.txt.

Why Ada ??

  • The only programming language that provides a robust and strong typing system is Ada.
  • Objects and structures within a schematic, library and board layout are very very complex things and require sound modelling.
  • If saftey/mission critical and military applications use Ada, then is must be good for an advanced ECAD system as well.
  • Ada is defined by ISO/IEC 8652:2012 and MIL-STD-1815
  • Ada is beautiful :-)

Roadmap, things to do and issues

  • zero-Ohms resistors
  • accessories of components (screws, washers, clamps, ...)
  • import EAGLE projects and libraries
  • graphical user interface (GTKada based)
  • web browser support so that ET can be operated on every operating system

Collaboration

  • We need a nice web site for the project.
  • You are highly welcome !
You can’t perform that action at this time.