#! /bin/csh -efx

if ( $#argv < 1) then
	echo "USAGE : $argv primary"
else
	if2blif -o $argv[0]".blif" $argv[1]
	sis -f script.scmos -o $argv[1]".bdnet" -t blif -T bdnet
	bd2vhd -w scmos -o "s"$argv[1]".vhd"
endif
