example_top_map.ncd ) then 
  echo Failed in MAP
  exit
endif

echo Running PAR
par -w -intstyle ise -ol high -xe n example_top_map.ncd example_top.ncd example_top.pcf >> ise_flow_results.txt
if( ! -e example_top.ncd ) then 
  echo Failed in PAR
  exit
endif


echo Running TRACE 
trce -intstyle ise -v 3 -fastpaths -xml example_top example_top.ncd -o example_top.twr example_top.pcf >> ise_flow_results.txt
echo Running BITGEN
bitgen -intstyle ise example_top.ncd >> ise_flow_results.txt

if( ! -e example_top.bit ) then 
  echo Failed in BITGEN 
  exit
endif

echo IMPLEMENTATION SUCCESSFUL
