EDA Solutions logo

Map testbench elements from third-party vendors to Tanner’s standard libraries

Published by James Mutumba – Latest update on 28/6/2021

ID: TN002
Relevant product(s): S-Edit
Operating systems: Windows and Linux
Versions affected: All
Area: Automation

Summary

This article discusses how to map testbench elements that were created in third-party vendor’s tools to Tanner’s standard libraries. The process may not yield 100% mapping success as some manual work may be needed to map some elements, however, it will help with mapping the majority of the testbench content.

Please note

  • Before making this mapping process, ensure backups of your original design are kept safely. This script is used at the user’s discretion and the user takes full responsibility to check and ensure the correctness of results and their implications 
  • Enure the AnalogLibMap.cmd file is satisfactorily written to map the elements per expectation

Details

TannerPDK_Import_Fix.tbc is a script used to automatically map third party vendor’s standard library elements to Tanner equivalents saving the user valuable time.

Two files are used i.e. TannerPDK_Import_Fix.tbc and AnalogLibMap.cmd. The files are stored in the examples directory of Tanner, which can install be from Help > Setup examples and tutorial and located in the Process/Standard_Libraries_160 folder.

The purpose of the above files are :

  • TannerPDK_Import_Fix.tbc: mapping process script
  • AnalogLibMap.cmd: the cmd (aka command file) contains how each element maps from the previous tool to Tanner’s standard libraries.

To perform the mapping:

  1. Opne lib.defs file in a text editor
  2. Remove the third-party vendor’s library (e.g. analoglib) entry and ensure to include the standard_libraries_160 library. The library ships with Tanner examples, which are installed from Help > Setup examples and tutorial ocated under the Process folder
  3. Open the design in S-Edit
  4. In the top menu bar, go to File -> Open -> Execute Script
  1. Locate and select the TannerPDK_Import_Fix.tbc in the Standard_Libraries_160 directory.

Ensure to select All files to make this file visible.

  1. In S-Edit’s commandline, type the command PostProcessImportedDesign

In the resulting explorer window, select the AnalogLibMap.cmd file