added $display
blink periodically, and shorten blink duration for bluesim
use XBSVDIR instead of ../..