Package: ut-date
UTDATE: Design And Test Environmentutdateis a tool provided by Navabi Lab Group (University of Tehran) to facilitate design and test flow of digital circuits.In fact,utdateis a toolchain to generate some of files required for testing a design. It takes takes a high-level description of the circuit under test (CUT) in an HDL format, i.e., Verilog or VHDL, and in addition to synthesizing, it automatically generates the files needed for testing and executes simulations. Some stages might dependent on others, meaning that one phase might use outputs of the other. Hence, it is recommended to run all steps in specified order one after the other. However, it is possible to individually execute each stage. 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 installutdateis a python package hosted atPypi(the Python Package Index) and can be installed like any other usingpip 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.tkinteris the standard Python interface to the Tcl/Tk. According to officialpython documentation pageRunning 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 systemIt simply means thatTkinter(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 ontk documentation pagebut 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 withtkinterpackage as well. To find out, simply open python andimport tkinter. If no error occures you're good to go. butSometimes 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-tk2. For MacOsEasy Waythe easiest way to get Tk and Tkinter installed on your system is using Python's binary installer, available atpython.org.Install package using PIPAs was already mentioned,utdatecan be easily installed usingpip:(Although not neccessary) let's Start by making sure you have the latest version of "pip" installed:
Unix/MacOs:python3 -m pip install --upgrade pipWindows:py -m pip install --upgrade pipNext, download the package from PyPi:pip install -i https://test.pypi.org/simple/How to RunTo runutdate, open a terminal at your working dirctory and call:python3 -m utdateThis executesutdate'smainmodule and opens up the gui.Remember that opening the program would automatically creates new directories and places some file.