• 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. Copy a particular line of text file to a new file using...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 17149
  • 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

Copy a particular line of text file to a new file using SKILL

jarilak
jarilak over 10 years ago

Hi....

I have one text file.From that file, i need to copy some set of lines to a new file.For this copying, i need to read each & every line of the text file and compare them with some reference lines.Is there any keywords or SKILL function available in SKILL.? Can anyone help me......?

Thanks & regards 

Jarilak.r

  • Cancel
Parents
  • jarilak
    jarilak over 10 years ago
    Hi Andrew....

    This is my question.Here i have the part of text file that has more than 2000 lines.

    RULECHECK mt30m4_xx_mt30m4_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m4_xx_mt30m4_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m3_xx_mt30m3_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m3_xx_mt30m3_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m2_xx_mt30m2_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m2_xx_mt30m2_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m1_xx_mt30m1_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m1_xx_mt30m1_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt08m2_xx_mt08m2_un_mincoverage ................... TOTAL Result Count = 41
    RULECHECK mt08m2_xx_mt08m2_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt08m1_xx_mt08m1_un_mincoverage ................... TOTAL Result Count = 31
    RULECHECK m1_to_m1 .......................................... TOTAL Result Count = 1
    RULECHECK m1_no ............................................. TOTAL Result Count = 0
    RULECHECK m2_to_m2........................................... TOTAL Result Count = 5
    RULECHECK m1_ma ............................................. TOTAL Result Count = 0
    RULECHECK m1inv_ma .......................................... TOTAL Result Count = 0

    From the above file, i need to filter & copy particular lines as below as.

    RULECHECK mt08m2_xx_mt08m2_un_mincoverage ................... TOTAL Result Count = 41
    RULECHECK mt08m1_xx_mt08m1_un_mincoverage ................... TOTAL Result Count = 31
    RULECHECK m1_to_m1 .......................................... TOTAL Result Count = 1
    RULECHECK m2_to_m2........................................... TOTAL Result Count = 5

    Looking for help...

    Thanks & regards
    Jarilak.r
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jarilak
    jarilak over 10 years ago
    Hi Andrew....

    This is my question.Here i have the part of text file that has more than 2000 lines.

    RULECHECK mt30m4_xx_mt30m4_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m4_xx_mt30m4_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m3_xx_mt30m3_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m3_xx_mt30m3_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m2_xx_mt30m2_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m2_xx_mt30m2_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m1_xx_mt30m1_un_mincoverage ................... TOTAL Result Count = 0
    RULECHECK mt30m1_xx_mt30m1_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt08m2_xx_mt08m2_un_mincoverage ................... TOTAL Result Count = 41
    RULECHECK mt08m2_xx_mt08m2_un_maxcoverage ................... TOTAL Result Count = 0
    RULECHECK mt08m1_xx_mt08m1_un_mincoverage ................... TOTAL Result Count = 31
    RULECHECK m1_to_m1 .......................................... TOTAL Result Count = 1
    RULECHECK m1_no ............................................. TOTAL Result Count = 0
    RULECHECK m2_to_m2........................................... TOTAL Result Count = 5
    RULECHECK m1_ma ............................................. TOTAL Result Count = 0
    RULECHECK m1inv_ma .......................................... TOTAL Result Count = 0

    From the above file, i need to filter & copy particular lines as below as.

    RULECHECK mt08m2_xx_mt08m2_un_mincoverage ................... TOTAL Result Count = 41
    RULECHECK mt08m1_xx_mt08m1_un_mincoverage ................... TOTAL Result Count = 31
    RULECHECK m1_to_m1 .......................................... TOTAL Result Count = 1
    RULECHECK m2_to_m2........................................... TOTAL Result Count = 5

    Looking for help...

    Thanks & regards
    Jarilak.r
    • 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