• 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. Text editor or framework for SKILL...

Stats

  • Locked Locked
  • Replies 29
  • Subscribers 153
  • Views 31825
  • 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

Text editor or framework for SKILL...

ToMWUT
ToMWUT over 16 years ago
Hello All,

I've got some general questions about tools which could be used to write programs in SKILL. First of all could you recommend some text editor which highlights the SKILL syntax. Right now my main problems concerns syntax errors based on the problem that I'm for example passing wrong argument types to my procedures... Is there maybe a tool which could help me with this problem in SKILL, such as for example Eclipse for J2EE or Visual Studio for .Net? If not – even some text editor with the right syntax highlight for SKILL will be sufficient.

Thanks,

ToM
  • Cancel
  • ebecheto
    ebecheto over 13 years ago

    That way, I keep the same context in virtuoso, allready activ. But this function only work if you launch emacs through the ipcBeginProcess function.And in fact I only use myself send-line-to-icfb-mv-forward, since others have not been well adapted.

    I don't know all the steps to use your  'inferior-lisp-program tweak. Could you provide the full code tweeks ?

     

    ;; Needs ~/.emacs.d/skillMode.el to work with
    procedure(socketHandler(ipcId data)
    let((inPort nextline)
    inPort=infile(data) ; once for printing
      when(inPort while(gets(nextLine inPort) printf("\n%s \n" nextLine)))  close(inPort)
    inPort=infile(data) ; once for evaluating
      when(inPort while(gets(nextLine inPort) return(print(evalstring(nextLine))))  )   close(inPort)
    ;;return(printf("%s\n" ""))
    ;; load("~/.emacs2icfb.newline.il") printf("OLDLINE")
    ))
    ipcBeginProcess("emacs ~/../ebecheto/Skill/my-log.txt" "" 'socketHandler)
    
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jake Skolnik
    Jake Skolnik over 13 years ago
    Can you send me a copy at jacob.skolnik@huawei.com?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tweeks
    tweeks over 13 years ago

    ebecheto said:

    I don't know all the steps to use your  'inferior-lisp-program tweak. Could you provide the full code tweeks ?

     

     

    That is the full code: Just set "inferior-lisp-program" to start Virtuoso in -nographE mode; no additional setup is necessary.

    You can start Virtuoso in the current buffer's current directory with M-x inferior-lisp.  In another buffer/window, find a SKILL file and start Lisp mode with M-x lisp-mode.  It's helpful (but not required) to have this happen automatically when you visit files that end in ".il" or ".ils":

       (add-to-list 'auto-mode-alist '("\\.ils?$" . lisp-mode))

    Once you're editing a Lisp (SKILL) file in Lisp mode, and you have your virtuoso prompt open in the inferior lisp buffer, you can send commands to it for evaluation with C-c C-e (eval defun) or C-c C-r (eval region).  As usual, C-h m will show you the Lisp mode keys, and C-h b will list all the bindkeys for you. 

    Editing via Inferior Lisp Mode is much easier and more powerful than using the CIW: you have word completion via M-/, command history search via M-r, and of course all the usual Emacs editing commands, not to mention the entire history of your session (and previous Inferior Lisp sessions) is saved in the buffer, unlike the CIW which only keeps the last few lines.

    I'm currently lobbying my AE to improve -nographE mode; e.g. currently you can't use the Library Manager normally in -nographE mode.  You can still open schematics and layouts via deOpenCellView(), but return values from GUI events (e.g. mouse clicks and bindkeys) cannot be filtered: if you pan and zoom a bit, the inferior lisp buffer filles up with lines consisting only of "t".  Still, the overall integration with Emacs is so smooth that I am willing to put up with these little issues.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • phill1127
    phill1127 over 9 years ago

    Hi Andrew,

    I am also looking to get my hands on skill-mode for emacs but I'm having trouble sending you a private message (recipients field always returning no results). Is there a link from which I can download the necessary files? Or could you try sending me a private message to get the conversation started?

    Thanks,
    Phill

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Phill,

    You can't sent private messages unless we're "friends" (for some reason), so please send me a Friend Request.

    Note to all: Please don't send me Friend Requests containing individual questions unless asked to by me. I won't answer them, because you should ask questions on the forums so that you're not dependent upon just me (often I'm busy and not available, so cannot guarantee to respond). Anything urgent should always go to customer support anyway.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • berndfi
    berndfi over 9 years ago

    Since the editor question is a never ending story
    and the built in SKILL IDE for me personally is not
    configurable enough I recently switch form "nedit"
    to "sublimetext" building my own SKILL highlighting
    scheme.
    If someone is interested in:
    http://www.sublimetext.com
    https://github.com/berndfis/SublimeSKILL

    Bernd

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abhi10
    abhi10 over 6 years ago in reply to Andrew Beckett

    Hi Andrew! 

    I am pretty new to the cadence community as a requester / asking questions. I've mostly always found solutions without having to ask. But this I have not! 

    Sorry to open up a decade old thread, but I wanted to ask:

    I am a vim user, and I do have syntax highlighting on for vim, But I am not very happy with the way vim indents / un-indents code blocks for skill files. I am not sure if it even recognizes that its LISP mode.

    I see that you use vi / vim. Would you be kind enough to let me know if there are any special settings you use for skill syntax in vim ?

    Thanks,

    Abhiram

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to abhi10

    Abhiram,

    Well, the forum guidelines ask you not to post on the end of old threads, but in this case I'll make an exception as it's useful related information for others.

    I don't have anything enormously unusual in my vi setup (well, I have a number of bindings to invoke programs to create the box comment style I use, but other than that). In my ~/.exrc I have:

    set shiftwidth=4
    set autoindent
    set showmatch showmode

    which are my usual settings for C mode. Then whenever I'm using LISP mode, I enter;

    :set lisp

    Note that whether this is supported depends on how vim was compiled, I think; on my machine "vi" doesn't support lisp mode but "vim" and "gvim" do. Note that you can also use ":set" to see what opens are set having set them, or ":set all" to see all available options (so if lisp/nolisp shows up it's available).

    In addition, I have ~/.vim/filetype.vim which contains this:

    " my filetype file
    if exists("did_load_filetypes")
    finish
    endif
    augroup filetypedetect
    au! BufRead,BufNewFile *.ocn setfiletype skill
    au! BufRead,BufNewFile *.ils setfiletype skill
    au! BufRead,BufNewFile *.sv setfiletype verilog
    augroup END

    This then means that the syntax highlighting mode for gvim tuns on for OCEAN scripts and SKILL++ code as well as .il (which is done by default).

    Hope that helps,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RK56
    RK56 over 6 years ago in reply to Andrew Beckett

    I would like to link here one of my post posted sometime back on VIM settings for SKILL

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/37796/vim-settings-for-skill

    I use it regularly and found it useful. Please feel free to share your thoughts

    -Ramakrishnan

    • Cancel
    • Vote Up 0 Vote Down
    • 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