pavel_adameyko said:
To prchen,
what is the error message?
hi,
***************example from cdsdoc*******************
design("mylib" "ampTest" "schematic")
;
design using lib-cell-view can only be specified in CIW of workbench
createNetlist()
run()
****************************************************
i tried the following, not in CIW, but in Terminal,
**********1. part of the ocean script*************************
ocnWaveformTool( 'wavescan )
simulator( 'spectre )
design( ?lib "/projects/umc/users/kzhu/lib_kzhu" ?cell "tb_lochain2" ?view "schematicj")
createNetlist(?recreateAll t)
resultsDir( "/projects/umc/users/kzhu/simulation/tb_lochain2/spectre/schematic" )
******************************************************
there is no error message pops out, but not running, either, with following note:
********************************************************
spectre completes with 0 errors, 23705 warnings, and 28 notices.
You do not have the required cellViews or properties open
for this session. You may have purged the data from virtual
memory or the schematic data has been closed. You can type:
simulator('simulatorName) to reset the session or quit the
application that you are using.
The design has not been specified as yet. Please specify
the design using the design() command, or refer to
ocnHelp(' design).
The design has not been specified as yet. Please specify
the design using the design() command, or refer to
ocnHelp(' design).
You must specify a design before using the "paramAnalysis"
command. See ocnHelp( 'design )................
*********************************************************
then i tried the following in Terminal, it runs with error pops out
**********2. part of the ocean script*************************
ocnWaveformTool( 'wavescan )
simulator( 'spectre )
design( "/projects/umc/users/kzhu/lib_kzhu/tb_lochain2/schematicj")
createNetlist(?recreateAll t)
resultsDir( "/projects/umc/users/kzhu/simulation/tb_lochain2/spectre/schematic" )
******************************************************
***********error of 2. part of the ocean script*****************
*Error* Specified filename does not exist: /projects/umc/users/kzhu/lib_kzhu/tb_lochain2/schematic
You do not have the required cellViews or properties open
for this session. You may have purged the data from virtual
memory or the schematic data has been closed. You can type:
simulator('simulatorName) to reset the session or quit the
application that you are using.
The design has not been specified as yet. Please specify
the design using the design() command, or refer to
ocnHelp(' design)...............................
************************************************************
and i read from CDSDOC for createNetlist item
**********************************************************
createNetlist( [?recreateAll b_recreateAll] [?display b_display] )
=> t_filename / nil
**********************************************************
it says "If the design is specified as lib/cell/view, this command netlists the design, if required, and creates the simulator input file"
so, i think this is the right one for me to run ocean in Terminal with design specified as ib/cell/view.
but why error?
t_filename means Returns the name of the simulator input file on success, otherwise nil is returned. and i dont know
how to use => t_filename, also with something wrong here when i run it
********example from cdsdoc**********
createNetlist()
=> "/usr/foo/netlist/input.scs"
*****************************************
anyway, i can only run when the design is specified as netlist file as following
**********3. part of script********************
design( "/projects/umc/users/kzhu/simulation/tb_lochain2/spectre/schematic/netlist/netlist")
createNetlist(?recreateAll t)
***************************************
this works! but how to use => t_filename / nil ?
PS: i am not get used to run ocean in CIW, but rather in Terminal, b/c i can still do something else in CIW while the ocean is running