Home > Community > Blogs > RF Design > setting viva waveform color defaults when using ade
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits
Get email delivery of the RF Design blog (individual posts).


* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

Setting VIVA Waveform Color Defaults When Using ADE

Comments(6)Filed under: RF design, Virtuoso Spectre, Spectre, spectreRF, MMSIM71

I found myself getting a little bit frustrated with some of the default colors that would come up in the VIVA waveform tool while I was plotting from the Analog Design Environment (ADE). After working with Kabir, the Product Engineer for VIVA, I discovered that the colors for the waveform defaults are actually being set by ADE. There are a set of probe layers or Y layers in the Display Resource File that ADE cycles through to match up highlighted nets on the schematic with traces in the waveform tool. Setting these colors and line types correctly will define the palette that VIVA will cycle through as it draws traces.

If you are interested in how to set these layer defaults, please watch this short video presentation.




David Neilson


By Raj on April 23, 2009
Thanx for the tip. Is there a way you can change the background to black rather than white? How do you do that?

By DonDnile on April 24, 2009
Hello Raj....
Setting the background is a little less complicated.
On an individual waveform basis, go to the menus and select:
Frame -> Edit -> Rect Color Scheme
The choices are Black, White and Gray.
If you want to get really fancy and change it on a permanent basis, you can edit or create a file called .cdsenv in the location where you start the software. Here is the setting for this file.
honeydew is a personal favorite... LOL...
Specifies the background color for the default color scheme in rectangular graphs (Graph-Color Schemes-Default). You can change this in the Graph Attributes dialog box.
wavescan.rectGraph background string "background_color"
Background color in rectangular graphs.
Default: white
Valid values: Colors available on the palette below.

By Roland on December 31, 2009
Can somebody give an overview of all syntax to customize viva?

By Kevin on June 16, 2011
Tahnks! very useful!

By TheFunnyOne on August 2, 2011
Thank you very much for the information posted above. It helped me a lot in customizing my own viva environment. As a follow up, I want to describe the process that I used to initialize the viva background color. To be honest, I am not a big fan of black backgrounds as it is a little hard on my eyes. I usually prefer something softer like a dark gray so that the contrast between the axes and graph background is not too intrusive.

To set the default background of viva (not wavescan):

1) here is what I tried that did NOT work

a) First, I copied a default 'display.drf' to my cadence directory ~/cads/cadence

b) In the 'drDefineColor' section, I followed the syntax of other colors and created a custom color name called 'tfo1' and set the RGB value to 77,77,77

c) Then, I added a line in my .cdsenv file

viva.rectGraph background string "tfo1"

Everything loaded correctly but the background is still black! which is not what I wanted. Then, I changed the line to

viva.rectGraph background string "darkGray"

and the color changed to gray. This tells me that for some reason, viva does not recognize the custom color name that I set (perhaps due to loading order of the display.drf file compared to .cdsenv?? Your guess is probably better than mine.

I tried different color names listed above and the ones I've tried all works. But that still doesn't allow me to set the color that I wanted. Then it hit me that perhaps the color name can be replaced with HEX values instead.

2) So here is what I tired that did work

a) No need to modify the display.drf file.

b) Just add the following line to the .cdsenv file.

viva.rectGraph background string "#4D4D4D"

and that worked for me. 4Dh = 77d

Let me know if it works for you.

By Robin on January 24, 2012
is there a way to specify the number of waveform splits in the viewable window space such that each individual plots don't get squished. The function was present in the old waveform viewer but I haven't been able to find the function in VIVA.

Leave a Comment

E-mail (will not be published)
 I have read and agree to the Terms of use and Community Guidelines.
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.