• 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 SKILL
  3. Issue facing in working with concatenated list

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 12654
  • 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

Issue facing in working with concatenated list

varun kumar D
varun kumar D over 10 years ago

procedure(c()

 

cv=geGetEditCellView()

 

 

 

TT=nil

 

foreach(tan cv~>instances

 

 

 

foreach(tan1 tan~>prop~>name

 

 

          if(member(tan1 list("PAD")) 

               

                     then

       

         b=list(tan)

        TT=append1(b TT)

 

printf("%L", tan)

 

))

 

for(i 0 1

mm=nth(i TT)

 

if(nth(i TT)

;printf("%L", mm)

 

 

println("hh")

foreach(prop2 mm~>prop

        foreach(prop1 list(prop2 )

                                                                if( rexMatchp("vddcore3v" prop1~>name) == t  then

                                                                                rexCompile("!")

                                                                                nmOfLbl = rexReplace(prop1~>value "" 0)

                                                                                padLabel = append1(padLabel list(prop1~>name nmOfLbl))

                                                                )                             

 

       

                                                                )

 

      ))

)))

problem:   Just FYI 

TT= (db:0x1879a313    (db:0x1879a312 nil))

I want to work on one dbid at a time. but second dbid is having 2 element which is creating issue.

but after nth command nth (0 TT) is taking first element out but in second element  is combination of two ((db:0x1879a312 nil)) .

Pls let me how to work on one element at a time if its a concatenated list.

  • Cancel
Parents
  • theopaone
    theopaone over 10 years ago
    TT=append1(b TT) is your problem. Your use of append1 appends the complete TT list to b. Try: TT = append(TT b) or use cons to put b on the front of the list (get rid of the b=list(b)) => TT = cons( b TT)
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • theopaone
    theopaone over 10 years ago
    TT=append1(b TT) is your problem. Your use of append1 appends the complete TT list to b. Try: TT = append(TT b) or use cons to put b on the front of the list (get rid of the b=list(b)) => TT = cons( b TT)
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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