The Cadence Academic Network helps build strong relationships between academia and industry, and promotes the proliferation of leading-edge technologies and methodologies at universities renowned for their engineering and design excellence.

A huge knowledge exchange platform for academia to network with industry. We are looking for academic speakers to talk about their research to the industry attendees at the Academic Track at CDNLive EMEA and Silicon Valley.

Share

Custom IC SKILL Forums

add instance from library via pulldown menu.

Started by flintae32 on 20 Jan 2013 9:15 AM. Topic has 2 replies and 13648 views.
Last post on 21 Jan 2013 8:23 AM by dmay.

Hi IC Community

My experience with Cadence’s Skill is very limited. I have created a pull down menu with sliders in the upper layout editor banner window with some success. My question is, how do I utilize the callback function to place an instance from a cell library into the layout editor window, when selected.

software version: 5.1.41

Example below:

mlf_frame = hiCreatePulldownMenu( 'editMenu "edit"

list(

hiCreateMenuItem(

?name `3x3

?itemText "M_3X3"

?callback "??????()"

What command should I place here in the callback function ??????. Any help would be greatly

2 Replies

This is slightly tricky - if you don't want to have to enter the lib/cell/view in a form (as initiated by a call to leHiCreateInst() ) then you would need to call something like dbCreateInstByMasterName() - the problem is that this function needs a location (origin) to place the instance at. I would use something like "enterPoint" or "enterPoints" to gather the instance location(s) and use the addPointProc to place the instance at the most recently provided coordinate (which would be something like car(last(pts)), assuming "pts" was the argument used for the addPointProc function). The following is an approximation of what you need:

The name that you put in the edit menu item callback is "CCFeditMenuCB". Once you call this it starts a call to enterPoints that allows you to place one or more instances, and when you are doing you just hit the Escape key.

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.