달력

12

« 2024/12 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
2008. 8. 21. 21:10

유용한 Skill 함수들 Language/SKILL2008. 8. 21. 21:10

1. 유용한 Skill 함수
⑴ Print함수
   ① print()와 println()함수: 변수 하나 볼 때 주로 사용. 특히 Debug시
                                           println() = print() + 개행문자
   ② printf(): C의 printf와 같이 Format control기능이 있음(%L은 알아서 뿌려줌)
⑵ 좌표관련 함수
   ① lowerLeft( bBox )
   ② upperRight( bBox )
   ③ xCoord( lowerLeft( bBox ))
   ④ yCoord( upperRight( bBox ))

⑶ 윈도우관련 함수
   ① window(번호) : 윈도우ID
   ② hiGetWindowList(), hiGetAbsWindowScreenBBox()
   ③ hiGetCurrentWindow()
   ④ hiSetCurrentWindow(windowID)
   ⑤ hiGetWindowName(windowID)
   ⑥ hiSetWindowName(windowID, s_String)
   ⑦ hiRaiseWindow(windowID), hiLowerWindow(windowID)
   ⑧ hiGetMaxScreenCoords()
   ⑨ hiGetAbsWindowScreenBBox(windowID t)
   ⑩ hiResizeWindow(windowID, bBox)
   ⑪ hiIconifyWindow(windowID), hiGetWindowIconifyState(windowID), hiDeiconifyWindow(windowID)
   ⑫ geOpen( ?lib "master
                      ?cell "mux2"
                      ?view "schematic"
                      ?mode "r" )
⑷ Bindkey관련: hiGetBindKey(...), hiSetBindKey(), hiGetAppType()
⑸ Text파일 보기: view(...)
⑹ Database Query
   ① geGetWindowCellView(). geGetEditCellView()
   ② lengh( mux2~>nets)
   ③ dbFindNetByName( db s_String), dbFindAnyInstByName( db s_string), dbFindTermByName( db s_string)
   ④ geGetSelSet(), geSelectFig()
⑺ Menu
   ① hiCreateSimpleMenu()
   ② hiCreateMenuItem()
   ③ hiCreatePulldownMenu()
   ④ hiInsertBannerMenu()
   ⑤ hiDeleteBannerMenu()
⑻ Customization
   ① getSkillPath()
   ② setSkillPath()
   ③ load(), loadi() : 에러발생시 중단/계속 진행
   ④ simplifyFilename(), prependInstallPath()
   ⑤ getDirFiles()
   ⑥ isFile(), isDIr(), isDirFiles()
   ⑦ getShellEnvVar("HOME")
   ⑧ buildString( l_list "/") parseString( s_string "/" )
   ⑨ sstatus()
   ⑩ hiSetFilterOptions()
   ⑪ installDebugger()
   ⑫ alias( c continue )
⑼ File IO
   ① outfile()
   ② close()
   ③ fprintf(), fscanf()
   ④ infile()
   ⑤ gets()

2 . Data Type
     Data Type                                Internal Name   Single Character Mnemonic
    -------------------------------+---------------+-----------------------------
     array                                          array                 a
     Cadence database object           dbobject           d
     floating-point number                  flonum              f
     any data type                              general             g
     linked list                                     list                   l
     integer or floating point number                           n
     user-defined type                                               o
     I/O port                                      port                 p
     defstruct                                                             r
     ROD object                                rodObj            R
     symbol                                                               s
     symbol or character string                                   S
     character string (text)                   string               t
     function object                                                    u
     window type                                                       w
     integer number                             fixnum              x
     binary function                             binary               y

 3. Function header
    hi- : User Interface
    ge-: Graphic Editor
    de-: Design Editor
    dd-: Desgin Management
    tr-: Trigger

※ Skill관련 참고도서 (sourcelink login이 필요)
1. SKILL Language User Guide(Product Version 06.30)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/sklanguser/sklanguser06.30/sklanguserTOC.html
2. SKILL Language Reference(Product Version 06.30)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/sklangref/sklangref06.30/sklangrefTOC.html
3.  SKILL Development Help(Product Version 06.30)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skhelp/skhelp07.02/skhelpTOC.html
4. SKILL Development Functions Reference (Product Version 06.30)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skdevref/skdevref06.30/skdevrefTOC.html
5. SKILL Object System Functions Reference(Product Version 06.30)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skoopref/skoopref06.30/skooprefTOC.html
6. Interprocess Communication SKILL Functions Reference(Product Version 06.30)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skipcref/skipcref06.30/skipcrefTOC.html
7. Technology File and Display Resource File SKILL Reference Manual(Product Version 5.1.41)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/sktechfile/sktechfile5.1.41/sktechfileTOC.html
8. Cadence Design Framework II SKILL Functions Reference(Product Version 6.31)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skdfref/skdfref6.31/skdfrefTOC.html
9. Cadence User Interface SKILL Functions Reference(Product Version 5.0)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skuiref/skuiref5.0/skuirefTOC.html
10. Custom Layout SKILL Functions Reference(Product Version 5.1.41)
   http://sourcelink.cadence.com/docs/files/Release_Info/Docs/sklayoutref/sklayoutref5.1.41/sklayoutrefTOC.html

    
:
Posted by austine