\subsubsection{Name}

SetRefIns -- Defines the new "reference instance" for placement

\subsubsection{Synopsys}

\begin{verbatim}
SetRefIns ( ins )
\end{verbatim}

\subsubsection{Description}

This function defines the new "reference instance", used as starting point in the relative placement functions.\\
\indent It's regarding the abutmentbox of the instance \verb-ins- that the next instance is going to be placed, if using the appropriate functions.\\
    
\indent Note that the more recently placed instance becomes automaticaly the "reference instance", if SetRefIns isn't called.
    
\subsubsection{Parameters}

\begin{itemize}
    \item \verb-ins- : defines the new "reference instance"
\end{itemize}
    
\subsubsection{Example}

\begin{verbatim}
Place      ( myInst1, NOSYM, 0, 0 )
PlaceRight ( myInst2, NOSYM       )

SetRefIns  ( myInst1 )
PlaceTop   ( myInst3, SYM_Y       )
\end{verbatim}

\indent \verb-myInst3- is on top of \verb-myInst1- instead of \verb-myInst2-.

\subsubsection{Errors}
    
Some errors may occur :
\begin{itemize}
    \item \verb-[Stratus ERROR] SetRefIns : the instance doesn't exist.-\\If the instance has not been instanciated, it is impossible do to any placement from it.
    \item \verb-[Stratus ERROR] SetRefIns : the instance ...is not placed.-\\If the instance has not been placed, it is impossible do to any placement from it.
\end{itemize}

\begin{htmlonly}
         
\subsubsection{See Also}

\hyperref[ref]{\emph{Introduction}}{}{Introduction}{secintroduction}
\hyperref[ref]{\emph{Place}}{}{Place}{secplace}
\hyperref[ref]{\emph{PlaceTop}}{}{PlaceTop}{sectop}
\hyperref[ref]{\emph{PlaceBottom}}{}{PlaceBottom}{secbottom}
\hyperref[ref]{\emph{PlaceRight}}{}{PlaceRight}{secright}
\hyperref[ref]{\emph{PlaceLeft}}{}{PlaceLeft}{secleft}
\hyperref[ref]{\emph{DefAb}}{}{DefAb}{secdefab}
\hyperref[ref]{\emph{ResizeAb}}{}{ResizeAb}{secresizeab}

\end{htmlonly}
