The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> running ocean in the background from CIW possible?
https://designers-guide.org/forum/YaBB.pl?num=1189802618

Message started by svenn on Sep 14th, 2007, 1:43pm

Title: running ocean in the background from CIW possible?
Post by svenn on Sep 14th, 2007, 1:43pm

Hi,
ocean control of spectre from CIW offer the design() command with lib/cell/view arguments. Very nice as the function finds out if the schematic has been checked and saved and netlists again. If I start an ocean-script from CIW it locks up the GUI until the ocean file has finished running. Is there any possibility to background this process. I could also do an ipc* session and start ocean in a sub-process from the beginning on, but then I fear that I cannot use the design() command in lib/cell/view mode.

The skipcref does not seem to cover running cadence tools in the background.

Title: Re: running ocean in the background from CIW possi
Post by haikom on Sep 15th, 2007, 5:10am

hi,
i'm not 100% shure, but i think if you start the simulation using the ocean command run() in the non-blocking mode, the simulation will be carried out as background process. --> run(?block t) ; the default value is nil; then the blocking mode is active
kind regards,
haikom

Title: Re: running ocean in the background from CIW possi
Post by jorobins on Sep 29th, 2007, 6:10am

Probably late to help you out. But I remember a sourcelink solution on starting an icfb session in the -nograph mode which allows you to create a netlist like you were talking about ....  
Essentially, you then divide your problem into two parts - 1. create a netlist  2. run a simulation . You don't have to worry about blocking or noblocking mode. The solution # is 11053238 . You could search for it there. I've copied and pasted the script that they gave on how to create the netlist. You could possibly do an ocean run in the script after this...


Code:
#! /usr/bin/csh
icms -nograph -log ./icms.log <</
envSetVal("asimenv.startup" "projectDir" 'string "./simulation")
simulator('spectre)
design("my_design" "test" "schematic")
createNetlist()
exit()
/
exit 1

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