#!/usr/bin/sh
echo 'OpenLane wrapper via [flow.tcl]'
set -x
export PDK="sky130A"
export PDK_ROOT="/usr/share/pdk"
export STD_CELL_LIBRARY=sky130_fd_sc_hd
export STD_CELL_LIBRARY_OPT=sky130_fd_sc_hd
export OPENLANE_ROOT="/usr/share/openlane"

trap 'tput init' err exit

unset module
unset _module_raw
/usr/share/openlane/flow.tcl ${@}
