From 39c66c8d849059224f09d38523985067d5d3507b Mon Sep 17 00:00:00 2001 From: daquintero Date: Mon, 1 Jul 2024 14:14:12 +0100 Subject: [PATCH] status --- docs/conf.py | 1 + docs/sections/codesign/devices/comparators.rst | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 2592f912..8c8c1a6b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -106,6 +106,7 @@ \usepackage{tikz} \usepackage{circuitikz} \usetikzlibrary{circuits.ee.IEC} +\def\coord(#1){coordinate(#1)} """ templates_path = ["_templates"] texinfo_documents = [ diff --git a/docs/sections/codesign/devices/comparators.rst b/docs/sections/codesign/devices/comparators.rst index 05107104..c0c132de 100644 --- a/docs/sections/codesign/devices/comparators.rst +++ b/docs/sections/codesign/devices/comparators.rst @@ -4,7 +4,6 @@ Comparators .. tikz:: :align: center - \begin{circuitikz}[american] \draw (0,0) node[pfet](PMOS1){}; \draw (PMOS1.D) to[short, -*] ++(0,-0.25) \coord (PMOSJ1) to[short] ++(0,-0.25) node[pfet, anchor=source](PMOS2){}; \draw (PMOSJ1) to[short] ++(1,0) node[pfet, anchor=source, rotate=90](PMOS3){}; @@ -39,13 +38,11 @@ Comparators \draw (PMOS1.bulk) to[short, -*] ++(0.5,0) \coord(PMOS1BO); \draw (PMOS2.bulk) to[short] ++(0.5,0) \coord(PMOS2BO); \draw (PMOS2BO) to[short, -*] (PMOS1BO |- VCC); - \end{circuitikz} .. tikz:: :align: center - \begin{circuitikz}[american] \draw (0,0) node[npn](HBT1){}; \draw (HBT1.B) to[R] ++(-3,0) node[ocirc](IN){}; \draw (HBT1.C) to[short, -*] ++(0,0.5) \coord (HBTJ1) to[short] ++(0.5,0) node[npn, anchor=base](HBT2){}; @@ -56,4 +53,3 @@ Comparators \draw (HBT2.C) to[R] ++ (0,2) node[vcc](vcc){$V_{CC}=\SI{1}{V}$}; \draw (vcc) to[short, *-] (vcc -| HBT1.C) to[R] ++ (0, -2) \coord (HBT1CR1); \draw (HBT1CR1) -- (HBT1.C); - \end{circuitikz}