• 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. Reading and changing CIW input line

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 145
  • Views 19782
  • 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

Reading and changing CIW input line

PatrikOsgnach
PatrikOsgnach over 8 years ago

Hello,

are there any functions that allows me to know what is currently typed on the input line of CIW and change it, eventually? My goal is to write an autocompletion script.

As an example, if I type 'a' and press Ctrl+Up I want the input line to be substituted with the latest line that begins with an 'a' character.

Best regards,

Patrik

  • Cancel
Parents
  • PatrikOsgnach
    PatrikOsgnach over 8 years ago

    Hello Amit,

    think about what happens in a shell if I bind the up key to "history-search-backward". I type a string and, when I press the up key, the shell tries to autocomplete it by looking in the history for commands that begin with that string. I want to replicate this behaviour in the CIW. Currently, if I press the up key in the CIW, it will scan all the commands in the history. So, I need a function that tells me what the user has typed so far in the input line of the CIW before pressing the enter key

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • PatrikOsgnach
    PatrikOsgnach over 8 years ago

    Hello Amit,

    think about what happens in a shell if I bind the up key to "history-search-backward". I type a string and, when I press the up key, the shell tries to autocomplete it by looking in the history for commands that begin with that string. I want to replicate this behaviour in the CIW. Currently, if I press the up key in the CIW, it will scan all the commands in the history. So, I need a function that tells me what the user has typed so far in the input line of the CIW before pressing the enter key

    • 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