asyncvlsi / xcell

Cell library characterizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xcell: a cell library characterizer

xcell takes a cell library in the ACT format as well as a top-level module that instantiates all the cells to be characterized as input. It creates a large number of scenarios that are simulated using an external SPICE simulator, and the results of SPICE simulation are analyzed. These results are used to create a Synopsys-format .lib file suitable for use by timing analysis and power analysis tools.

Usage

To run, use:

xcell [-Ttech] top.act out

This will create out.lib. xcell also requires:

  • A configuration file xcell.conf in the current directory that is used to specify the details of the characterization process.
  • A spice file stdspice.spi containing the spice models for the devices.

An example configuration is provided in the example/ directory.

Input Format

The input actfile must have a process called characterize with no parameters, which is instantiated at the end of the file. The process must have a list of cells named g1, g2 ... gN in order. xcell starts looking for these cells sequentially, starting from g1. If any of them are not found, it exits. See char.act in the example directory for the exact input format that is required.

Installation

This program is for use with the ACT toolkit.

  • Please install the ACT toolkit first; installation instructions are here.
  • Build this program using the standard ACT tool install instructions here.

Requirements

xcell invokes an external SPICE simulator. Currently it supports Xyce as well as hspice as external SPICE simulators. The simulator to be used is specified in the xcell.conf file. The simulator binary must be in the current path so that xcell can invoke it successfully.

About

Cell library characterizer

License:GNU General Public License v2.0


Languages

Language:C++ 98.6%Language:Makefile 1.4%