AMS Designer tcl script mode determination?

E

Erik Wanta

Guest
I am loading a tcl script at a project level in the project ams.env
with amsDirect.prep simVisScriptFile. I would like it to do one
thing if the simulation is run in tcl mode and another when run in the
interactive GUI mode. Is there a way to get the run mode and do an
if/then on it in the tcl script?
---
Erik
 
Erik,

The Tcl variable $simvision_attached will tell you if simvision is attached to
your simulation session (thanks to my colleague Kevin Chong for this).

Andrew.

On 6 Aug 2004 11:29:08 -0700, erikwanta@starband.net (Erik Wanta) wrote:

I am loading a tcl script at a project level in the project ams.env
with amsDirect.prep simVisScriptFile. I would like it to do one
thing if the simulation is run in tcl mode and another when run in the
interactive GUI mode. Is there a way to get the run mode and do an
if/then on it in the tcl script?
---
Erik
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top