A C++ SAIF parser

SAIF is short for “switching activity interchange format”, which is a universal file format to record the signal switching activities in VLSI circuits. Both Synopsys and Cadence tools use this file format to save the signal switching results from simulations.

Recently due to the need of my own project, I need to extract switching information from SAIF files generated by commercial simulation tools. Due to the lack of an opensourced parser, I have written my own. It seems to work.

The parser can be accessed from https://github.com/wsong83/cppSaif

It reads a SAIF file and store the switching information into a C++ class called SaifDB, which is a C++ representation of the abstract syntax tree.

For the details of this parser, see the saif_db.hpp file.

Advertisements