echo '#define NTHREAD' $1 > nthread.h make clean make tsim -c tsim.cmd