• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. modgen issue (layout flipping horizontally/vertically)

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 487
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

modgen issue (layout flipping horizontally/vertically)

supriyo1985
supriyo1985 11 months ago

Hi All, 

I am facing some issues with the Modgen editor. 

Some patterns are automatically getting flipped, sometimes horizontally and sometimes vertically. The one in the attachment got flipped horizontally. Please compare the Table on the right with the layout. 

This happens only when modgen is created through skill command (gpe*). This means that when I start with a layout with no flip issue and manually modify it to a problematic layout, it does not flip.

I have the following skill code to generate the modgen automatically. Any help is highly appreciated. 

SKILL code

procedure(topologyGen(layout_view data noOfRows noOfCols noOfDevices T_vec Map_vec)
geSelectAll()
instList = geGetSelectedSet()
sbox = gpeCreateSandbox(?sync t)
masterList=()
i=0
while(i<noOfDevices
;println(i)
;printf("%s %s\n", T_vec[i], Map_vec[i])
tmp=list(T_vec[i] Map_vec[i])
masterList = cons(tmp masterList)
i=i+1
)
gpeSetMap(sbox masterList)

masterList=()
itr=0
i=0
while(i<noOfRows
j=0
tmp=()
while(j<noOfCols
tmp = nconc(tmp list(data[itr]))
itr=itr+1
j=j+1
)
;println(tmp)
masterList = cons(tmp masterList)
i=i+1
)
gpeSetGrid(sbox masterList)

masterList=()
i=0
while(i<noOfRows
j=0
while(j<noOfCols
tmp=list(i,j)
masterList = cons(tmp masterList)
j=j+1
)
i=i+1
)
gpeAbutGridEntries(sbox masterList)
gpeSetAbut(sbox nil) ;comment this out for abutment
geDeselectAll()
printf("finished creating topology\n")
)

Regards

Supriyo

  • Cancel

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.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information