The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 18th, 2024, 6:16pm
Pages: 1
Send Topic Print
Assura Rule deck developing. (Read 1174 times)
skas20
New Member
*
Offline



Posts: 9

Assura Rule deck developing.
Apr 25th, 2007, 12:10am
 
Hi,

I am trying to write a Assura rule deck to plot a particular net in the Layout and output it to another layout view.
Basically, I want to see all the layers connected to a supply or ground rail in a layout, means a powerplot of vdd or  gnd.

Please help me of someone already tried to solve this kind of a problem.

Thanks,
Sk.
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Assura Rule deck developing.
Reply #1 - Apr 25th, 2007, 3:24am
 
In principal this can look like follows in a 'extract.rul' like file.
You then have to set the LVS 'avParameters'
?var ( Net_Name = "myNet" )
and for extraction use the 'rcxParameters'
?lvsExtractedCellView       t
This will create a extracted view with the desired net only.

Bernd

Code:
drcExtractRules(
;; DFII database input layer
layerDefs( "df2"
	    m1   	     	= layer( "METAL1"		type( "drawing" ) )
	    via12	     	= layer( "VIA12"	type( "drawing" ) )
	    m2   	     	= layer( "METAL2"		type( "drawing" ) )
	    via23	     	= layer( "VIA23"	type( "drawing" ) )
	    m3   	     	= layer( "METAL3"		type( "drawing" ) )
	    via34	     	= layer( "VIA34"	type( "drawing" ) )
	    m4   	     	= layer( "METAL4"		type( "drawing" ) )

	  rmdmy1	    = layer( "RMDMY" 	type( "drawing1" ) )
)

;; one dummy devices is needed
rm1 = geomAnd( geomAnd( m1 rmdmy1 ) )

geomConnect(
	    via( via12 m2 m1 )
	    via( via23 m3 m2 )
	    via( via34 m4 m3 )

	label( m1_text m1 )
	    label( m2_text m2 )
	    label( m3_text m3 )
) ;; close geomConnect

;; Selected net derivation section
m1net   	= geomGetNet( m1 avGetVariable( "VDD" Net_Name "Net Name" ) )
via12net	= geomGetNet( via12 avGetVariable( "VDD" Net_Name "Net Name" ) )
m2net   	= geomGetNet( m2 avGetVariable( "VDD" Net_Name "Net Name" ) )
via23net	= geomGetNet( via23 avGetVariable( "VDD" Net_Name "Net Name" ) )
m3net   	= geomGetNet( m3 avGetVariable( "VDD" Net_Name "Net Name" ) )
via34net	= geomGetNet( via34 avGetVariable( "VDD" Net_Name "Net Name" ) )
m4net   	= geomGetNet( m4 avGetVariable( "VDD" Net_Name "Net Name" ) )

;; metal resitor extraction
extractRES(
 	"rm1"
	rm1
	m1( "PLUS" "MINUS" )
	spiceModel( "rm1s" )
	cellView( "rm1 ivpcell myLib" )
	flagMalformed
	)

;; copy shapes into the extracted cellview
  saveInterconnect(
	    ( m1net	    "METAL1" )
	    ( via12net 	"VIA12" )
	    ( m2net	    "METAL2" )
	    ( via23net 	"VIA23" )
 	    ( m3net     "METAL3" )
	    ( via34net  "VIA34" )
		( m4net     "METAL4" )
	    )

) ;; end drcExtractRules
 

Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
skas20
New Member
*
Offline



Posts: 9

Re: Assura Rule deck developing.
Reply #2 - Apr 26th, 2007, 1:07am
 
Bernd,

Thanks a lot for this detailed description on what could be done.
Please give me 2 more days to experiment this and get back to you.

Thanks and regards,
SK.
Back to top
 
 
View Profile   IP Logged
skas20
New Member
*
Offline



Posts: 9

Re: Assura Rule deck developing.
Reply #3 - May 2nd, 2007, 1:40am
 
Bernd,

Thanks. This stuff works.
I tried it by using your extract rule section and did outLayer command in  the rsf file to output the layer.

It started ploting the Metal and via layers. But I am yet to try how to propagate the signal through NWELL, diffusion etc...

Regards,
Sk.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.