Skip to main content

UTDATE: Design And Test Environment

utdate is a tool provided by Navabi Lab Group (University of Tehran) to facilitate design and test flow of digital circuits.

In fact, utdate is a toolchain to generate some files required for testing a design. It takes a high-level description of the circuit under test (CUT) in an HDL format, i.e., Verilog or VHDL. In addition to synthesizing, it automatically generates the files needed for testing and executes simulations. Some stages might be dependent on others, meaning that one phase might use the outputs of the other. Hence, it is recommended to run all steps in the specified order one after the other. However, it is possible to execute each stage individually. After running the toolchain, two main categories of files will be generated, synthesis and test-related files. The synthesis directory contains pre- and post-mapped synthesis outputs. The former is netlists of the default library of Yosys and the latter is netlists mapped to our custom library. The test directory gathers all files needed for test purposes including the “.bench” format of the CUT, fault list, and test set.

How to install

utdate is a python package hosted at Pypi (the Python Package Index) and can be installed like any other using pip install <package> command. The package is self-contained and takes care of prerequisites. But before starting to use it you must make sure you have the right version of python installed.

This package relys on tcl/tk to run its GUI. tkinter is the standard Python interface to the Tcl/Tk. According to official python documentation page

Running python -m tkinter from the command line should open a window demonstrating a simple Tk interface, letting you know that tkinter is properly installed on your system

It simply means that Tkinter (and, since Python 3.1, ttk, the interface to the newer themed widgets) is included in the Python standard library and it relies on Tcl/Tk being installed on your system. But depending on how you install Python, this may not happen automatically.

There is a detailed tutorial on how to get Python and Tkinter onto your machine on tk documentation page but here's a brief overview:

1. For Linux Distribution (Using Package Manager)

Usually Linux distributions comes with a recent version of Python 3.x installed (if don't go a head and install it using Package Manager). That is most likely to contained with tkinter package as well. To find out, simply open python and import tkinter. If no error occures you're good to go. but

Sometimes Linux distributions separate out their Tkinter support into a separate package. If so, you'll need to find and install this package, which will also ensure that appropriate versions of the Tcl/Tk libraries are installed on your system. For example, running Ubuntu 20.04LTS, Python 3.8.2 is already installed. However, to use Tkinter, you need to install a separate package, named python3-tk:

%sudo apt-get install python3-tk

2. For MacOs

Easy Way

the easiest way to get Tk and Tkinter installed on your system is using Python's binary installer, available at python.org.

Install package using PIP

As was already mentioned, utdate can be easily installed using pip:

  • (Although not neccessary) let's Start by making sure you have the latest version of "pip" installed: Unix/MacOs:

    python3 -m pip install --upgrade pip
    

    Windows:

    py -m pip install --upgrade pip
    
  • Next, download the package from PyPi:

    pip install ut-date
    

How to Run

To run utdate, open a terminal at your working dirctory and call:

python3 -m utdate

This executes utdate's main module and opens up the gui.

Remember that opening the program would automatically creates new directories and places some file.

Metadata

Release files for ut-date 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ut-date 1.6.1
File Size Uploaded
ut-date-1.6.1.tar.gz 67.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ut-date 1.6.1
File Interpreter ABI Platform
ut_date-1.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 136.2 MB

Release files / ut-date-1.6.1.tar.gz

Download URL ut-date-1.6.1.tar.gz
Size 67.8 MB
Tags Source
SHA-256 checksum
How to use checksums
2e08c3c4416537bc6c965b5bafdbb797bbf791299f158b9ee9ab7d5b4bea1a0c
BLAKE2b-256 checksum
How to use checksums
8db71068abc4c919b4067a68e16ba7c48ee8a13257cc1562a7b7e4f64f8a9fd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release files / ut_date-1.6.1-py3-none-any.whl

Download URL ut_date-1.6.1-py3-none-any.whl
Size 68.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
94f2ca26ece5b01f791f7abdff746e9b5fe58399f81791ccec30fefd995b5d9e
BLAKE2b-256 checksum
How to use checksums
be11b2dc3e1a586687869f313b3527552051518c25f69d5e67c91ccf6d1034e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page