howto run a single diag from a regression

Hello,

I am running the core1 regressions with the sims script.

Now I would like to rerun a single diag/testcase from the regression.

Looking into the core1.diaglist it does not appear to be easy to extract the right information by hand. So ideally I would like to list all diags in the core1 regression and and then take one of the names and run it.

Any hint is appreciate ...

[408 byte] By [gkiwi] at [2007-11-26 9:34:08]
# 1

Please use "-vcs_build -vcs_run -sys=core1" and the diag file name options to sims script

to run VCS simulator for core1 environment. e.g. to run bypass_win.s diag, type

sims -vcs_build -vcs_run -sys=core1 bypass_win.s

To get help on sims, type

sims -help

or read the Design Verification Guide document.

OpenSparc at 2007-7-7 0:22:53 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2

sorry, I was probably not clear enought.

I try again. How can I get the list of diags and their configuration of a given regression?

I could grep over the diaglist files but I am unsure about the ifdefs includes etc.

I have seen the dryrun option but that is still is quite slow and I am unsure how to get the configuration which goes with the diag file.

gkiwi at 2007-7-7 0:22:53 > top of Java-index,Open Source Technologies,OpenSPARC...
# 3

When you run sims with group=core1_mini,

master_diaglist.core1_mini file is created under your

$MODEL_DIR/<DateID> directory.

Search for <core1_mini> in master_diaglist.core1_mini file, all diags between

<core1_mini> and </core1_mini> are part of core1_mini.

So this list will give you list of all diags for core1_mini and

options with each diag.

OpenSparc at 2007-7-7 0:22:53 > top of Java-index,Open Source Technologies,OpenSPARC...