Cadence® system design and verification solutions, integrated under our System Development Suite, provide the simulation, acceleration, emulation, and management capabilities.
System Development Suite Related Products A-Z
Cadence® digital design and signoff solutions provide a fast path to design closure and better predictability, helping you meet your power, performance, and area (PPA) targets.
Full-Flow Digital Solution Related Products A-Z
Cadence® custom, analog, and RF design solutions can help you save time by automating many routine tasks, from block-level and mixed-signal simulation to routing and library characterization.
Overview Related Products A-Z
Driving efficiency and accuracy in advanced packaging, system planning, and multi-fabric interoperability, Cadence® package implementation products deliver the automation and accuracy.
Cadence® PCB design solutions enable shorter, more predictable design cycles with greater integration of component design and system-level simulation for a constraint-driven flow.
An open IP platform for you to customize your app-driven SoC design.
Comprehensive solutions and methodologies.
Helping you meet your broader business goals.
A global customer support infrastructure with around-the-clock help.
24/7 Support - Cadence Online Support
Locate the latest software updates, service request, technical documentation, solutions and more in your personalized environment.
Cadence offers various software services for download. This page describes our offerings, including the Allegro FREE Physical Viewer.
Get the most out of your investment in Cadence technologies through a wide range of training offerings.
This course combines our Allegro PCB Editor Basic Techniques, followed by Allegro PCB Editor Intermediate Techniques.
Virtuoso Analog Design Environment Verifier 16.7
Learn learn to perform requirements-driven analog verification using the Virtuoso ADE Verifier tool.
Exchange ideas, news, technical information, and best practices.
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.
It's not all about the technlogy. Here we exchange ideas on the Cadence Academic Network and other subjects of general interest.
Cadence is a leading provider of system design tools, software, IP, and services.
I want to parse a string and rename it.
e.g. I would like to check for a cell name, and if there is an hyphen(-) in a cell name, I would like to convert it to an underscore(_).
so if a cell name is 'create-gds' I want to convert it to 'create_gds'. Any help would be appreciated.
Here is one way:
s="create-gds"when(rexMatchp("-" s) rexCompile("-") s=rexReplace(s "_" 0))
In IC61, you can do:
; only need to compile the pattern oncehyphen=pcreCompile("-") ; then any time you need to do the replace, can reference the pattern object in var hyphencellName="create-gds"newCell=pcreReplace(hyphen cellName "_" 0)
In IC61 and IC5141 you can use the less powerful rex functions (but the compiled pattern will get overwritten if it is used elsewhere since it only has a single compiled pattern at once):
rexCompile("-")cellName="create-gds"newCell=rexReplace(cellName "_" 0)
The pcre functions have a much richer pattern matching syntax - see the PCRE web site for more details.
In reply to dmay:
My feeling is that for char substitution the most safe,simple, fast way is to use buildString() and parseString() procedures.
myCellName = "create-gds-2"myCellName = buildString(parseString(myCellName "-") "_")"create_gds_2"
In reply to marcelpreda:
Actually I'd go for a regular expression approach. If you have multiple occurrences of the delimiter, or leading or trailing delimiters, it won't work properly. For example:
myCellName="-hello-world--test" myCellName = buildString(parseString(myCellName "-") "_") "hello_world_test"
In reply to Andrew Beckett:
This type of replacement happens where ? Is it in the Schematic viewer or in the Created Netlist or in the Layout Editor ?
In reply to RFStuff:
I don't understand your question. This post is about doing pattern replacement in SKILL, so it's nothing to do with a particular application.