Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Creating Pcells based on certain condition or passing variables to pcell code

$
0
0

procedure(CreatePcell(libName cellName "tt")
      libId = ddGetObj( libName )
      pcDefinePCell( 
      .....................
      let ((......)
          foreach(i VarList
          ...................
          );end_foreach
      .).....................
);end_createPcell


procedure(MainCode(.........................)
    Let( (.............)
    VarList = setof(......)
    if( !(VarList== nil) then
         CreatePcell(libName cellName)
    );end_if
    );end_let
);end_procedure


1) Can pcell code be called based on conditional checks?
2) Whether pcell code can access "VarList" variable from MainCode. Esp. while instantiate them to other cellviews
3) Can I pass this variable to pcell code like "CreatePcell(libName cellName Variable)"

Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>