Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4923

How to combine two procedure syntax and use by bindkey layer?

$
0
0

Hi! All:

I have question about syntax use,

And thru the toggle Bindkey combine two procedure syntax implement  I wanna to 

I think toggle keyboard "1" is setMetal1LayerVisible(), and toggle keyboard "Alt +2" is setMetal2LayerVisible()

and maybe toggle keyboard "1" + "Alt+3" can see layer ME1, CONT, M1_CAD_TEXT, ME3, VIA2, M3_CAD_TEXT

how could I set this bindkey combo?

Thanks!!

Virtuoso version is IC6.1.8-64b.500.16

I write the bindkey as below

------------------------------------------------------------------------------------------------------

hiSetBindkey("Layout" "Alt<Key3" "setMetal3LayerVisible()" hiredraw()")

hiSetBindkey("Layout" "<Key>1" "setMetal1LayerVisible()" hiredraw()")

procedure( setMetal1LayersVisible()
leSetEntryLayer('("M1" "drawing"))
foreach( laylsw list(
'("ME1" "drawing")
'("CONT" "drawing")
'("M1_CAD" "TEXT")
)
leSetLayerVisible (laylsw t)
leSetLayerSelectable(laysw t)
); end foreach
); end procedure


hiSetBindkey("Layout" "<Key>2" "setMetal2LayerVisible()" hiredraw()")
procedure( setMetal2LayersVisible()
leSetEntryLayer('("M2" "drawing"))
foreach( laylsw list(
'("ME2" "drawing")
'("VIA1" "drawing")
'("M2_CAD" "TEXT")
)
leSetLayerVisible (laylsw t)
leSetLayerSelectable(laysw t)
); end foreach
); end procedure

hiSetBindkey("Layout" "<Key>3" "setMetal3LayerVisible()" hiredraw()")
procedure( setMetal3LayersVisible()
leSetEntryLayer('("M3" "drawing"))
foreach( laylsw list(
'("ME3" "drawing")
'("VIA2" "drawing")
'("M3_CAD" "TEXT")
)
leSetLayerVisible (laylsw t)
leSetLayerSelectable(laysw t)
); end foreach
); end procedure


Viewing all articles
Browse latest Browse all 4923

Trending Articles



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