luni, 20 iulie 2009

Specman Tip

If you want to create for example a file logger and you need a custom log file name, one idea, which I find it useful, is to have the file name something like:
TESTNAME_SEED.log

Tricky part:

to get the test name:
covers.get_test_name()

to get the seed number:
get_config(gen, seed)

Niciun comentariu:

Trimiteți un comentariu