The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> How to know current origin in Cadence Virtuoso Symbol Editor ?
https://designers-guide.org/forum/YaBB.pl?num=1241258651

Message started by pancho_hideboo on May 2nd, 2009, 3:04am

Title: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by pancho_hideboo on May 2nd, 2009, 3:04am

I can set an origin in Virtuoso Symbol Editor.
However I can't find a method to know where current origin is located.

How to know current origin in Cadence Virtuoso Symbol Editor ?
Any expert of Cadence Tools, teach me.

Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by Andrew Beckett on Jul 10th, 2009, 8:45am

Pancho,

Sorry about the delay. Been a tad busy the last few weeks.

Anyway, in the Symbol Editor go to Options->Display and turn on "Coordinates on Status Banner".

You'll then see the coordinates as you move your cursor. 0,0 is the origin.
You can do Edit->Origin to move the origin (actually everything moves if you do this).

Best Regards,

Andrew.

Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by pancho_hideboo on Nov 24th, 2009, 3:32am

By setting "Schematics > Options > Display : Coordinates_on_Status_Banner" as "on" manually, I can show coordinate information in Symbol Editor.

However I would like to this as default setting.
So I write the following in ".cdsinit".
    envSetVal( "schematic" "statusBannerXY" 'boolean t )

But this does not work.
Maybe kewords such as "schematic" and "statusBannerXY" are improper.

How should I write to set "Schematics > Options > Display : Coordinates_on_Status_Banner" as "on".

Any expert of Cadence Tools, teach me.

Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by oermens on Nov 24th, 2009, 5:31am

In your .cdsenv try adding the following:

schematic      statusBanner      boolean      t
schematic      statusBannerXY      boolean      t

Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by pancho_hideboo on Nov 24th, 2009, 5:37am


oermens wrote on Nov 24th, 2009, 5:31am:
In your .cdsenv try adding the following:
schematic      statusBanner      boolean      t
schematic      statusBannerXY      boolean      t
I don't use ".cdsenv".

I already have the following in ".cdsinit".
  envSetVal( "schematic" "statusBannerXY" 'boolean t )

I will try add the following in ".cdsinit".
  envSetVal( "schematic" "statusBanner" 'boolean t )


Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by pancho_hideboo on Nov 27th, 2009, 2:12am


oermens wrote on Nov 24th, 2009, 5:31am:
In your .cdsenv try adding the following:
schematic      statusBanner      boolean      t
This is for "Display Status Banner=on".

So even if I set following two, still I can't set "Schematics > Options > Display : Coordinates_on_Status_Banner" as "on".
     schematic      statusBanner      boolean      t
     schematic      statusBannerXY      boolean      t


How should I write to set "Schematics > Options > Display : Coordinates_on_Status_Banner" as "on".

Any expert of Cadence Tools, teach me.




Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by Andrew Beckett on Jan 4th, 2010, 9:13am

Pancho Hideboo,

You have to use the function:

schChangeStatusBanner("xy")

I suspect this is for some strange historical reason - probably predating cdsenv settings...

It seems that the form sets the cdsenv setting based on which banner is in place (the other value is "default").

Ah, I found a CCR about this, asking for this to be made public - CCR 78112 - and it seems the original reason was for performance - it was expensive to have to keep consulting the cdsenv setting (even in memory) every time the cursor was moved.

Apparently it does work if you use a .cdsenv file (I didn't check), and so this workaround SKILL function is only needed if you want to do it via SKILL rather than via a .cdsenv file.

Regards,

Andrew.

Title: Re: How to know current origin in Cadence Virtuoso Symbol Editor ?
Post by pancho_hideboo on Jan 7th, 2010, 1:46am


Andrew Beckett wrote on Jan 4th, 2010, 9:13am:
You have to use the function:
schChangeStatusBanner("xy")
Thanks.

schChangeStatusBanner() can work
as schChangeStatusBanner("xy") for "on",
and as schChangeStatusBanner("") for "off".


The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.