Virtual library

Description

The virtual library permits to create a cell and map it to different libraries without having to change it.

List of the generators provided

Mapping file

The virtual library is mapped to the sxlib library. A piece of the corresponding mapping file is shown below.
In order to map the virtual library to another library, on has to write a .xml file which makes correspond models and interfaces.
Note that the interfaces of the cells must be the same (except for the names of the ports). Otherwise, one has to create .vst file in order to make the interfaces match.

The environment variable used to point the right file is STRATUS_MAPPING_NAME.

Image xml

Generators

Some generators are also provided in order to use the cells of the library with nets of more than 1 bit. One has to upper the first letter of the model name in order to user those generators. What is simply done is a for loop with the bits of the nets. The parameter 'nbit' gives the size of the generator.

Example

for i in range ( 4 ) :
  Inst ( 'a2'
       , map = { 'i0'  : neti0[i]
               , 'i1'  : neti1[i]
               , 'q'   : netq[i]
               , 'vdd' : netvdd
               , 'vss' : netvss
               }
       )

Generate ( 'A2', "my_and2_4bits", param = { 'nbit' : 4 } )
Inst ( 'my_and2_4bits'
     , map  = { 'i0'  : neti0
              , 'i1'  : neti1
              , 'q'   : netq
              , 'vdd' : vdd
              , 'vss' : vss
              }
     )

Errors

Some errors may occur :

See Also

Introduction



Subsections
Sophie BELLOEIL
20051116.1