\resizebox{!}{0.94\textheight}{%
\begin{circuitikz}
    \newcommand{\add}[2]{
        \draw #1 node[draw, circle](#2){$+$};
    }
    \newcommand{\basicevent}[4]{
        \draw #1 node[draw, circle,inner sep=0,minimum size=1cm,align=center](#2){#3 \\ \tiny $#4$};
    }
    \newcommand{\lane}[4]{
        \def\height{#3}
        \draw(#1) node[draw, minimum width=16cm, minimum height=\height, outer sep=0, anchor=south west](#2lane){};
        \draw(#2lane.west) node[anchor=south, outer sep=0, minimum width=\height,rotate=90](#2lable){#4};
    }
    % DRAM:
    \lane{0,0}{dram}{1.75cm}{DRAM}
    %outputs
    \draw (dramlane.north) ++(-5.25,0) node[outport, anchor=south](dram_wd_out){};
    \draw (dramlane.north) ++(-1.75,0) node[outport, anchor=south](dram_sbe_out) {};
    \draw (dramlane.north) ++(+1.75,0) node[outport, anchor=south](dram_dbe_out){};
    \draw (dramlane.north) ++(+5.25,0) node[outport, anchor=south](dram_mbe_out){};
    % blocks
    \basicevent{(dram_wd_out) ++(0,-1)}{wd}{WD}{172}
    \basicevent{(dram_sbe_out) ++(0,-1)}{sbe}{SBE}{1610}
    \basicevent{(dram_dbe_out) ++(0,-1)}{dbe}{DBE}{172}
    \basicevent{(dram_mbe_out) ++(0,-1)}{mbe}{MBE}{172}
    % inner connections
    \draw[-Triangle,red] (wd.north) -- (dram_wd_out);
    \draw[-Triangle,red] (sbe.north) -- (dram_sbe_out);
    \draw[-Triangle,red] (dbe.north) -- (dram_dbe_out);
    \draw[-Triangle,red] (mbe.north) -- (dram_mbe_out);
    
    % SEC:
    \lane{0,3.75}{sec}{3.5cm}{SEC}
    % inputs
    \draw (seclane.south) ++(-5.25,0) node[inport, anchor=north](sec_wd_in){};
    \draw (seclane.south) ++(-1.75,0) node[inport, anchor=north](sec_sbe_in) {};
    \draw (seclane.south) ++(+1.75,0) node[inport, anchor=north](sec_dbe_in){};
    \draw (seclane.south) ++(+5.25,0) node[inport, anchor=north](sec_mbe_in){};
    % outputs
    \draw (seclane.north) ++(-5.25,0) node[outport, anchor=south](sec_wd_out){};
    \draw (seclane.north) ++(-2.5,0) node[outport, anchor=south](sec_sbe_out){};
    \draw (seclane.north) ++(-1.0,0) node[outport, anchor=south](sec_sbe_lat_out){};
    \draw (seclane.north) ++(1,0) node[outport, anchor=south](sec_dbe_out){};
    \draw (seclane.north) ++(2.5,0) node[outport, anchor=south](sec_tbe_out){};
    \draw (seclane.north) ++(5.25,0) node[outport, anchor=south](sec_mbe_out){};
    \draw (seclane.north) ++(+7,0) node[outport, anchor=south](sec_sb_out){};
    % blocks
    \draw (sec_sbe_in.north) ++(0,0.5) node[coverage, anchor=in, coverage residual=10\%, coverage latent=0\%] (seccov){};
    \draw (sec_dbe_in.north) ++(0,0.5) node[split2, anchor=in, split2 left=83\%, split2 right=17\%] (secsplit){};
    \basicevent{(sec_sb_out) ++(0,-1.5)}{sb}{SB}{0.1}
    % inner connections
    \draw[-Triangle,red] (sec_wd_in) -- (sec_wd_out);
    \draw[-Triangle,red] (sec_mbe_in) -- (sec_mbe_out);
    \draw[-Triangle,red] (secsplit.out 1) -- (sec_dbe_out);
    \draw[-Triangle,red] (secsplit.out 2) -- (sec_tbe_out);
    \draw[-Triangle,red] (sec_sbe_in) -- (seccov.in);
    \draw[-Triangle,red] (sec_dbe_in) -- (secsplit.in);
    \draw[-Triangle,red] (seccov.res) -- (sec_sbe_out);
    \draw[-Triangle,blue] (seccov.lat) -- (sec_sbe_lat_out);
    \draw[-Triangle,blue] (sb) -- (sec_sb_out);
    
    % dram -> SEC
    \draw[-Triangle,red] (dram_wd_out.north) -- (sec_wd_in.south) node[anchor=east,midway,align=center]{WD \\ \tiny TODO};
    \draw[-Triangle,red] (dram_sbe_out.north) -- (sec_sbe_in.south) node[anchor=east,midway,align=center]{SBE \\ \tiny TODO};
    \draw[-Triangle,red] (dram_dbe_out.north) -- (sec_dbe_in.south) node[anchor=east,midway,align=center]{DBE \\ \tiny TODO};
    \draw[-Triangle,red] (dram_mbe_out.north) -- (sec_mbe_in.south) node[anchor=east,midway,align=center]{MBE \\ \tiny TODO};
    
    % DRAM-TRIM:
    \lane{0,8.5}{dramtrim}{5cm}{DRAM-TRIM}
    % inputs
    \draw (dramtrimlane.south) ++(-5.25,0) node[inport, anchor=north](dram_trim_wd_in){};
    \draw (dramtrimlane.south) ++(-2.5,0) node[inport, anchor=north](dram_trim_sbe_in){};
    \draw (dramtrimlane.south) ++(+1.0,0) node[inport, anchor=north](dram_trim_dbe_in){};
    \draw (dramtrimlane.south) ++(+2.5,0) node[inport, anchor=north](dram_trim_tbe_in){};
    \draw (dramtrimlane.south) ++(+5.25,0) node[inport, anchor=north](dram_trim_mbe_in){};
    % blocks
    \draw (dram_trim_sbe_in.north) ++(-2,0.5) node[split1, anchor=in, split1 top=94\%] (dram_trim_sbe_split){};
    \draw (dram_trim_dbe_in.north) ++(-2.5,0.5) node[split2, anchor=in, split2 left=11\%, split2 right=89\%] (dram_trim_dbe_split){};
    \draw (dram_trim_tbe_in.north) ++(0,0.5) node[split3, anchor=in, split3 left=0.9\%, split3 middle=16\%, split3 right=83\%] (dram_trim_tbe_split){};
    \add {(dram_trim_dbe_split.out 1) ++(0,0.75)}{dram_trim_sbe_add};
    \add {(dram_trim_tbe_split.out 1) ++(0,1.35)}{dram_trim_dbe_add};
    % outputs
    \draw (dramtrimlane.north) ++(-7,0) node[outport, anchor=south](dram_trim_wd_out){};
    \draw (dramtrimlane.north -| dram_trim_sbe_add) node[outport, anchor=south](dram_trim_sbe_out){};
    \draw (dramtrimlane.north -| dram_trim_dbe_add) node[outport, anchor=south](dram_trim_dbe_out){};
    \draw (dramtrimlane.north -| dram_trim_tbe_split.out 3) node[outport, anchor=south](dram_trim_tbe_out){};
    \draw (dramtrimlane.north) ++(5.25,0) node[outport, anchor=south](dram_trim_mbe_out){};
    % inner connections
    \draw[-Triangle,red] (dram_trim_wd_in) -- ++(0,0.5) coordinate(dram_trim_c0) -- (dram_trim_wd_out |- dram_trim_c0) -- (dram_trim_wd_out);
    \draw[-Triangle,red] (dram_trim_sbe_in) -- ++(0,0.25) coordinate(dram_trim_c1) -- (dram_trim_sbe_split.in |- dram_trim_c1) -- (dram_trim_sbe_split.in);
    \draw[-Triangle,red] (dram_trim_dbe_in) -- ++(0,0.25) coordinate(dram_trim_c2) -- (dram_trim_dbe_split.in |- dram_trim_c2) -- (dram_trim_dbe_split.in);
    \draw[-Triangle,red] (dram_trim_tbe_in) -- (dram_trim_tbe_split.in);
    \draw[-Triangle,red] (dram_trim_dbe_split.out 1) -- (dram_trim_sbe_add.south);
    \draw[-Triangle,red] (dram_trim_sbe_split.out 1) -- (dram_trim_sbe_split.out 1 |- dram_trim_sbe_add.west) -- (dram_trim_sbe_add.west);
    \draw[-Triangle,red] (dram_trim_tbe_split.out 1) -- (dram_trim_tbe_split.out 1 |- dram_trim_sbe_add.east) -- (dram_trim_sbe_add.east);
    \draw[-Triangle,red] (dram_trim_sbe_add.north) -- (dram_trim_sbe_out.south);
    \draw[-Triangle,red] (dram_trim_dbe_split.out 2) -- (dram_trim_dbe_split.out 2 |- dram_trim_dbe_add.west) -- (dram_trim_dbe_add.west);
    \draw[-Triangle,red] (dram_trim_tbe_split.out 2) -- (dram_trim_tbe_split.out 2 |- dram_trim_dbe_add.east) -- (dram_trim_dbe_add.east);
    \draw[-Triangle,red] (dram_trim_dbe_add.north) -- (dram_trim_dbe_out.south);
    \draw[-Triangle,red] (dram_trim_tbe_split.out 3) -- (dram_trim_tbe_out.south);
    \draw[-Triangle,red] (dram_trim_mbe_in.north) -- (dram_trim_mbe_out.south);

    % sec -> DRAM-TRIM
    \draw[-Triangle,red] (sec_wd_out.north) -- (dram_trim_wd_in.south) node[anchor=east,midway,align=center]{WD \\ \tiny TODO};
    \draw[-Triangle,red] (sec_sbe_out.north) -- (dram_trim_sbe_in.south) node[anchor=east,midway,align=center]{SBE \\ \tiny TODO};
    \draw[-Triangle,red] (sec_dbe_out.north) -- (dram_trim_dbe_in.south) node[anchor=east,midway,align=center]{DBE \\ \tiny TODO};
    \draw[-Triangle,red] (sec_tbe_out.north) -- (dram_trim_tbe_in.south) node[anchor=east,midway,align=center]{TBE \\ \tiny TODO};
    \draw[-Triangle,red] (sec_mbe_out.north) -- (dram_trim_mbe_in.south) node[anchor=east,midway,align=center]{MBE \\ \tiny TODO};

    % BUS-TRIM:
    \lane{0,15}{bustrim}{5cm}{BUS-TRIM}
    % inputs
    \draw (bustrimlane.south -| dram_trim_wd_out) node[inport, anchor=north](bus_trim_wd_in){};
    \draw (bustrimlane.south -| dram_trim_sbe_out) node[inport, anchor=north](bus_trim_sbe_in){};
    \draw (bustrimlane.south -| dram_trim_dbe_out) node[inport, anchor=north](bus_trim_dbe_in){};
    \draw (bustrimlane.south -| dram_trim_tbe_out) node[inport, anchor=north](bus_trim_tbe_in){};
    \draw (bustrimlane.south -| dram_trim_mbe_out) node[inport, anchor=north](bus_trim_mbe_in){};
    % DRAM-TRIM -> BUS-TRIM
    \draw[-Triangle,red] (dram_trim_wd_out.north) -- (bus_trim_wd_in.south) node[anchor=east,midway,align=center]{WD \\ \tiny TODO};
    \draw[-Triangle,red] (dram_trim_sbe_out.north) -- (bus_trim_sbe_in.south) node[anchor=east,midway,align=center]{SBE \\ \tiny TODO};
    \draw[-Triangle,red] (dram_trim_dbe_out.north) -- (bus_trim_dbe_in.south) node[anchor=east,midway,align=center]{DBE \\ \tiny TODO};
    \draw[-Triangle,red] (dram_trim_tbe_out.north) -- (bus_trim_tbe_in.south) node[anchor=east,midway,align=center]{TBE \\ \tiny TODO};
    \draw[-Triangle,red] (dram_trim_mbe_out.north) -- (bus_trim_mbe_in.south) node[anchor=east,midway,align=center]{MBE \\ \tiny TODO};
    % blocks
    \draw (bus_trim_sbe_in.north) ++(-1.5,0.5) node[split1, anchor=in, split1 top=43.8\%] (bus_trim_sbe_split){};
    \draw (bus_trim_dbe_in.north) ++(-2,0.5) node[split2, anchor=in, split2 left=49.6\%, split2 right=31.4\%] (bus_trim_dbe_split){};
    \draw (bus_trim_tbe_in.north) ++(0,0.5) node[split3, anchor=in, split3 left=32.5\%, split3 middle=41.9\%, split3 right=17.5\%] (bus_trim_tbe_split){};
    \basicevent{(bus_trim_sbe_split) ++(-2,1.75)}{az}{AZ}{172}
    \add {(bus_trim_dbe_split.out 1) ++(0,0.75)}{bus_trim_sbe_add};
    \add {(bus_trim_tbe_split.out 1) ++(0,1.35)}{bus_trim_dbe_add};
    % outputs
    \draw (bustrimlane.north -| bus_trim_mbe_in) ++(1,0)  node[outport, anchor=south](bus_trim_mbe_out){};
    \draw (bustrimlane.north -| bus_trim_wd_in) node[outport, anchor=south](bus_trim_wd_out){};
    \draw (bustrimlane.north -| az) node[outport, anchor=south](bus_trim_az_out){};
    \draw (bustrimlane.north -| bus_trim_sbe_add) node[outport, anchor=south](bus_trim_sbe_out){};
    \draw (bustrimlane.north -| bus_trim_dbe_add) node[outport, anchor=south](bus_trim_dbe_out){};
    \draw (bustrimlane.north -| bus_trim_tbe_split.out 3) node[outport, anchor=south](bus_trim_tbe_out){};
    % inner connections
    \draw[-Triangle,red] (bus_trim_wd_in.north) -- (bus_trim_wd_out.south);
    \draw[-Triangle,red] (az.north) -- (bus_trim_az_out.south);
    \draw[-Triangle,red] (bus_trim_wd_in.north) -- (bus_trim_wd_out.south);
    \draw[-Triangle,red] (bus_trim_sbe_in) -- ++(0,0.25) coordinate(bus_trim_c0) -- (bus_trim_sbe_split.in |- bus_trim_c0) -- (bus_trim_sbe_split.in);
    \draw[-Triangle,red] (bus_trim_dbe_in) -- ++(0,0.25) coordinate(bus_trim_c1) -- (bus_trim_dbe_split.in |- bus_trim_c1) -- (bus_trim_dbe_split.in);
    \draw[-Triangle,red] (bus_trim_tbe_in.north) -- (bus_trim_tbe_split.in);
    \draw[-Triangle,red] (bus_trim_mbe_in) -- ++(0,0.5) coordinate(bus_trim_c2) -- (bus_trim_mbe_out |- bus_trim_c2) -- (bus_trim_mbe_out);
    \draw[-Triangle,red] (bus_trim_dbe_split.out 1) -- (bus_trim_sbe_add.south);
    \draw[-Triangle,red] (bus_trim_sbe_split.out 1) -- (bus_trim_sbe_split.out 1 |- bus_trim_sbe_add.west) -- (bus_trim_sbe_add.west);
    \draw[-Triangle,red] (bus_trim_tbe_split.out 1) -- (bus_trim_tbe_split.out 1 |- bus_trim_sbe_add.east) -- (bus_trim_sbe_add.east);
    \draw[-Triangle,red] (bus_trim_sbe_add.north) -- (bus_trim_sbe_out.south);
    \draw[-Triangle,red] (bus_trim_dbe_split.out 2) -- (bus_trim_dbe_split.out 2 |- bus_trim_dbe_add.west) -- (bus_trim_dbe_add.west);
    \draw[-Triangle,red] (bus_trim_tbe_split.out 2) -- (bus_trim_tbe_split.out 2 |- bus_trim_dbe_add.east) -- (bus_trim_dbe_add.east);
    \draw[-Triangle,red] (bus_trim_dbe_add.north) -- (bus_trim_dbe_out.south);
    \draw[-Triangle,red] (bus_trim_tbe_split.out 3) -- (bus_trim_tbe_out.south);

    % LINK-ECC:
    \lane{0,22}{linkecc}{5cm}{LINK-ECC}
    % inputs
    \draw (linkecclane.south -| bus_trim_wd_out) node[inport, anchor=north](linkecc_wd_in){};
    \draw (linkecclane.south -| bus_trim_az_out) node[inport, anchor=north](linkecc_az_in){};
    \draw (linkecclane.south -| bus_trim_sbe_out) node[inport, anchor=north](linkecc_sbe_in){};
    \draw (linkecclane.south -| bus_trim_dbe_out) node[inport, anchor=north](linkecc_dbe_in){};
    \draw (linkecclane.south -| bus_trim_tbe_out) node[inport, anchor=north](linkecc_tbe_in){};
    \draw (linkecclane.south -| bus_trim_mbe_out) node[inport, anchor=north](linkecc_mbe_in){};
    % outputs
    \draw (linkecclane.north -| linkecc_wd_in) node[outport, anchor=south](linkecc_wd_out){};
    \draw (linkecclane.north -| linkecc_az_in) node[outport, anchor=south](linkecc_az_out){};
    \draw (linkecclane.north -| linkecc_sbe_in) ++(-3.25,0) node[outport, anchor=south](linkecc_sbe_out){};
    \draw (linkecclane.north -| linkecc_dbe_in) node[outport, anchor=south](linkecc_dbe_out){};
    \draw (linkecclane.north -| linkecc_tbe_in) node[outport, anchor=south](linkecc_tbe_out){};
    \draw (linkecclane.north -| linkecc_mbe_in) node[outport, anchor=south](linkecc_mbe_out){};
    % BUS-TRIM -> LINK-ECC
    \draw[-Triangle,red] (bus_trim_wd_out.north) -- (linkecc_wd_in.south) node[anchor=east,midway,align=center]{WD \\ \tiny TODO};
    \draw[-Triangle,red] (bus_trim_az_out.north) -- (linkecc_az_in.south) node[anchor=east,midway,align=center]{AZ \\ \tiny TODO};
    \draw[-Triangle,red] (bus_trim_sbe_out.north) -- (linkecc_sbe_in.south) node[anchor=east,midway,align=center]{SBE \\ \tiny TODO};
    \draw[-Triangle,red] (bus_trim_dbe_out.north) -- (linkecc_dbe_in.south) node[anchor=east,midway,align=center]{DBE \\ \tiny TODO};
    \draw[-Triangle,red] (bus_trim_tbe_out.north) -- (linkecc_tbe_in.south) node[anchor=east,midway,align=center]{TBE \\ \tiny TODO};
    \draw[-Triangle,red] (bus_trim_mbe_out.north) -- (linkecc_mbe_in.south) node[anchor=east,midway,align=center]{MBE \\ \tiny TODO};
    % blocks
    \basicevent{(linkecc_sbe_in) ++(1,1)}{linkecc_sbe}{SBE}{6 \cdot 10^8}
    \draw (linkecc_sbe) ++(0,0.9) node[coverage, anchor=in, coverage residual=100\%, coverage latent=100\%] (linkecc_cov){};
    \add {(linkecc_sbe_out) ++(0,-0.75)}{linkecc_add};
    \draw (linkecclane.north -| linkecc_cov.lat) node[outport, anchor=south](linkecc_sbe_lat_out){};
    % inner connections
    \draw[-Triangle,red] (linkecc_wd_in) -- (linkecc_wd_out);
    \draw[-Triangle,red] (linkecc_az_in) -- (linkecc_az_out);
    \draw[-Triangle,red] (linkecc_add.north) -- (linkecc_sbe_out);
    \draw[-Triangle,red] (linkecc_dbe_in) -- (linkecc_dbe_out);
    \draw[-Triangle,red] (linkecc_tbe_in) -- (linkecc_tbe_out);
    \draw[-Triangle,red] (linkecc_mbe_in) -- (linkecc_mbe_out);
    \draw[-Triangle,red] (linkecc_cov.res) -- (linkecc_add.east -| linkecc_cov.res) -- (linkecc_add.east);
    \draw[-Triangle,red] (linkecc_sbe) -- (linkecc_cov.in);
    \draw[-Triangle,red] (linkecc_sbe_in) -- ++(0,0.5) coordinate(linkecc_c0) -- (linkecc_add |- linkecc_c0) -- (linkecc_add.south);
    \draw[-Triangle,blue] (linkecc_cov.lat) -- (linkecc_sbe_lat_out);

    % SEC-DED:
    \lane{0,29}{secded}{6cm}{SEC-DED}
    % inputs
    \draw (secdedlane.south -| linkecc_wd_out) node[inport, anchor=north](secded_wd_in){};
    \draw (secdedlane.south -| linkecc_az_out) node[inport, anchor=north](secded_az_in){};
    \draw (secdedlane.south -| linkecc_sbe_out) node[inport, anchor=north](secded_sbe_in){};
    \draw (secdedlane.south -| linkecc_dbe_out) node[inport, anchor=north](secded_dbe_in){};
    \draw (secdedlane.south -| linkecc_tbe_out) node[inport, anchor=north](secded_tbe_in){};
    \draw (secdedlane.south -| linkecc_mbe_out) node[inport, anchor=north](secded_mbe_in){};
    % LINK-ECC -> SEC-DED
    \draw[-Triangle,red] (linkecc_wd_out.north) -- (secded_wd_in.south) node[anchor=east,midway,align=center]{WD \\ \tiny TODO};
    \draw[-Triangle,red] (linkecc_az_out.north) -- (secded_az_in.south) node[anchor=east,midway,align=center]{AZ \\ \tiny TODO};
    \draw[-Triangle,red] (linkecc_sbe_out.north) -- (secded_sbe_in.south) node[anchor=east,midway,align=center]{SBE \\ \tiny TODO};
    \draw[-Triangle,red] (linkecc_dbe_out.north) -- (secded_dbe_in.south) node[anchor=east,midway,align=center]{DBE \\ \tiny TODO};
    \draw[-Triangle,red] (linkecc_tbe_out.north) -- (secded_tbe_in.south) node[anchor=east,midway,align=center]{TBE \\ \tiny TODO};
    \draw[-Triangle,red] (linkecc_mbe_out.north) -- (secded_mbe_in.south) node[anchor=east,midway,align=center]{MBE \\ \tiny TODO};
    % blocks
    \draw (secded_sbe_in) ++(-0.75,0.5) node[coverage, anchor=in, coverage residual=100\%, coverage latent=100\%] (secded_sbe_cov){};
    \draw (secded_sbe_cov.east) ++(0.5,0) node[coverage, anchor=west, coverage residual=100\%, coverage latent=100\%] (secded_dbe_cov){};
    \draw (secded_dbe_cov.east) ++(0.5,0) node[split2, anchor=west] (secded_tbe_split){};
    \draw (secded_tbe_split.east) ++(0.5,0) node[coverage, anchor=west, coverage residual=50\%, coverage latent=100\%] (secded_mbe_cov){};
    \basicevent{(secded_mbe_cov.north east) ++(0.65,1.5)}{secded_sdb}{SDB}{0.1}
    \draw (secded_tbe_split.out 1) ++(0,0.5) node[coverage, anchor=in, coverage residual=100\%, coverage latent=100\%] (secded_tbe_cov){};
    \add {(secded_mbe_cov.res) ++(0,1.5)}{secded_add};
    % outputs
    \draw (secdedlane.north -| secded_wd_in) ++(-0.5,0) node[outport, anchor=south](secded_wd_out){};
    \draw (secdedlane.north -| secded_wd_out) ++(0.5,0) node[outport, anchor=south](secded_az_out){};
    \draw (secdedlane.north -| secded_sbe_cov.res) node[outport, anchor=south](secded_sbe_out){};
    \draw (secdedlane.north -| secded_sbe_cov.lat) node[outport, anchor=south](secded_sbe_lat_out){};
    \draw (secdedlane.north -| secded_dbe_cov.res) node[outport, anchor=south](secded_dbe_out){};
    \draw (secdedlane.north -| secded_dbe_cov.lat) node[outport, anchor=south](secded_dbe_lat_out){};
    \draw (secdedlane.north -| secded_tbe_cov.res) node[outport, anchor=south](secded_tbe_out){};
    \draw (secdedlane.north -| secded_tbe_cov.lat) node[outport, anchor=south](secded_tbe_lat_out){};
    \draw (secdedlane.north -| secded_add) node[outport, anchor=south](secded_mbe_out){};
    \draw (secdedlane.north -| secded_mbe_cov.lat) node[outport, anchor=south](secded_mbe_lat_out){};
    \draw (secdedlane.north -| secded_sdb) node[outport, anchor=south](secded_sdb_lat_out){};
    % inner connections
    \draw[-Triangle,red] (secded_sbe_cov.res) -- (secded_sbe_out);
    \draw[-Triangle,blue] (secded_sbe_cov.lat) -- (secded_sbe_lat_out);
    \draw[-Triangle,red] (secded_dbe_cov.res) -- (secded_dbe_out);
    \draw[-Triangle,blue] (secded_dbe_cov.lat) -- (secded_dbe_lat_out);
    \draw[-Triangle,red] (secded_tbe_cov.res) -- (secded_tbe_out);
    \draw[-Triangle,blue] (secded_tbe_cov.lat) -- (secded_tbe_lat_out);
    \draw[-Triangle,blue] (secded_mbe_cov.lat) -- (secded_mbe_lat_out);
    \draw[-Triangle,blue] (secded_sdb) -- (secded_sdb_lat_out);
    \draw[-Triangle,red] (secded_wd_in) -- ++(0,0.25) coordinate (secded_c0) -- (secded_c0 -| secded_wd_out) -- (secded_wd_out);
    \draw[-Triangle,red] (secded_az_in) -- ++(0,0.5) coordinate (secded_c1) -- (secded_c1 -| secded_az_out) -- (secded_az_out);
    
\end{circuitikz}%
}