\begin{tikzpicture} 
  \shorthandoff{-}
  \ctikzset{label/align=smart}


  % st Inverter 
  \draw (2,1) node[nmos, xscale=-1](M2) at (2,1) {}
        (M2.D) -- ++(0,5mm)  node[pmos,anchor=D, xscale=-1](M1) {}
        (M1.G) -- (M2.G)
        (M1.S) node[rground, yscale=-1]{}
        (M2.S) node[rground]{}
        (M1.B) node[left=4mm]{$M1$}
        (M2.B) node[left=4mm]{$M2$};

  % nd Inverter
  \draw (5,1) node[nmos](M4) at (5,1) {}
        (M4.D) -- ++(0,5mm) node[pmos, anchor=D](M3) {}
        (M3.G) -- (M4.G)
        (M3.S) node[rground, yscale=-1]{}
        (M4.S) node[rground]{}
        (M3.B) node[right=4mm]{$M3$}
        (M4.B) node[right=4mm]{$M4$};

  % Connect inverters
  \draw [-] (M3.D) to[short,*-*]  (M3.D -| M1.G) to[short] (M1.G)
            (M2.D) to[short,*-*]  (M2.D -| M3.G) to[short] (M3.G)
            ;


  % Word selector TR
  \draw (M1.D) to[short,*-] ++(-5mm,0) node[nmos, rotate=270, anchor=D](M5) {}
        (M5.B) node[below=4mm]{$M5$};
  \draw (M3.D) to[short,*-] ++(5mm,0) node[nmos, rotate=90, anchor=D, xscale=-1](M6) {}
        (M6.B) node[below=4mm]{$M6$};


  %Word select line
  \draw (M5.G) to[short, -*] ++(0, 2mm) coordinate (word) -| (M6.G)
        (word) -- ++(-20mm,0) node[above]() {word};

  %Bitlines
  \draw (M5.S) to[short,-*] ++(-5mm, 0mm) to[short] ++(0, -20mm) node[right](b) {$b$} --
        ++(0, 40mm)
        (M6.S) to[short,-*] ++( 5mm, 0mm) to[short] ++(0, -20mm) node[right](bb) {$\overline{b}$} --
        ++(0, 40mm);
  
\end{tikzpicture}
