HDB tester is an utility program which tests that a function unit or register file implementation in HDB is equal to its simulation model. Tester can be used to test one or all implementations from HDB.
HDB tester uses simulation behaviour models to create reference output values from input stimulus. Then it creates an RTL testbench with the unit under test and compares the output to the reference. HDB tester requires an RTL simulator to be installed. Currently 'ghdl' and 'modelsim' are supported.
HDB tester executable is called testhdb and it is used as follows:
testhdb <options> hdb-file
HDB tester accepts following command line options:
Example: test all FU and RF implementations in HDB:
testhdb asic_130nm_1.5V.hdb
Example: test FU implementation id 1 from HDB, keep testbench files and print commands:
testhdb -d -v -f 1 asic_130nm_1.5V.hdb
Example: test RF implementation id 125 from HDB and use modelsim as RTL simulator:
testhdb -r 125 -s modelsim asic_130nm_1.5V.hdb
If 'verbose' option is not defined HDB tester won't output anything when test passes.
Function units is not tested if it meets one of these conditions:
Register file is not tested if it meets one of these conditions:
Pekka Jääskeläinen 2011-12-08