bliss: BLIF to SPICE Synthesis
Public Member Functions | Public Attributes

bliss.BlissBlock Class Reference

Class for encapsulating a Bliss Block. More...

List of all members.

Public Member Functions

def __init__
 Instantiates a Bliss block from a blif header.
def clean
 Cleans block parameters to guarantee compatibility with other processes.
def isBodyEqual
 Checks if body is equal with BLIF body.
def display
 Displays contents of names block.

Public Attributes

 lib
 Mapping of block to a library.
 head
 BLIF head string.
 body
 PLA block, used by Names Block.
 inputs
 List of inputs defined as string.
 outputs
 List of outputs defined as string.
 isSignal
 Defines if block is a signal.

Detailed Description

Class for encapsulating a Bliss Block.

Bliss blocks are devices synthesized in the output-circit file. Current blocks supported are .names blocks and .latch blocks.


Constructor & Destructor Documentation

def bliss.BlissBlock.__init__ (   self,
  head 
)

Instantiates a Bliss block from a blif header.

Parameters:
headBLIF header defined as a string.

Member Function Documentation

def bliss.BlissBlock.clean (   self)

Cleans block parameters to guarantee compatibility with other processes.

def bliss.BlissBlock.display (   self)

Displays contents of names block.

def bliss.BlissBlock.isBodyEqual (   self,
  blifbody 
)

Checks if body is equal with BLIF body.


Member Data Documentation

PLA block, used by Names Block.

BLIF head string.

List of inputs defined as string.

Defines if block is a signal.

Used as flag when cleaning signal blocks.

Mapping of block to a library.

Defined as a BlissLibraryEntry.

List of outputs defined as string.


The documentation for this class was generated from the following file: