74 lines
5.3 KiB
XML
74 lines
5.3 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="404" height="257" viewBox="0 0 404 257">
|
|
<style>svg{stroke:#000;fill:none;stroke-linejoin:round}text{fill:#000;stroke:none;font-size:10px;font-weight:600;font-family:ui-monospace,"Cascadia Mono","SF Mono",Menlo,Consolas,"Courier New",monospace}.nodelabel{text-anchor:middle}.inputPortLabel{text-anchor:end}.splitjoinBody{fill:currentColor}.bus{stroke-width:1.75}.undef{color:#dc2626}.undef rect,.undef line{stroke:#dc2626}.undef text{fill:#dc2626}</style>
|
|
<g s:type="inputExt" transform="translate(34,225)" s:width="30" s:height="20" id="cell_clk">
|
|
<text x="-4" y="14" style="text-anchor:end" class="nodelabel cell_clk" s:attribute="ref">clk</text>
|
|
<path d="M0,0 L0,20 L15,20 L30,10 L15,0 Z" class="cell_clk"/>
|
|
<g s:x="30" s:y="10" s:pid="Y"/>
|
|
</g>
|
|
<g s:type="inputExt" transform="translate(34,173)" s:width="30" s:height="20" id="cell_rst">
|
|
<text x="-4" y="14" style="text-anchor:end" class="nodelabel cell_rst" s:attribute="ref">rst</text>
|
|
<path d="M0,0 L0,20 L15,20 L30,10 L15,0 Z" class="cell_rst"/>
|
|
<g s:x="30" s:y="10" s:pid="Y"/>
|
|
</g>
|
|
<g s:type="inputExt" transform="translate(34,121)" s:width="30" s:height="20" id="cell_en">
|
|
<text x="-4" y="14" style="text-anchor:end" class="nodelabel cell_en" s:attribute="ref">en</text>
|
|
<path d="M0,0 L0,20 L15,20 L30,10 L15,0 Z" class="cell_en"/>
|
|
<g s:x="30" s:y="10" s:pid="Y"/>
|
|
</g>
|
|
<g s:type="inputExt" transform="translate(34,69)" s:width="30" s:height="20" id="cell_in">
|
|
<text x="-4" y="14" style="text-anchor:end" class="nodelabel cell_in" s:attribute="ref">in</text>
|
|
<path d="M0,0 L0,20 L15,20 L30,10 L15,0 Z" class="cell_in"/>
|
|
<g s:x="30" s:y="10" s:pid="Y"/>
|
|
</g>
|
|
<g s:type="outputExt" transform="translate(340,44)" s:width="30" s:height="20" id="cell_out">
|
|
<text x="34" y="14" style="text-anchor:start" class="nodelabel cell_out" s:attribute="ref">out</text>
|
|
<path d="M30,0 L30,20 L15,20 L0,10 L15,0 Z" class="cell_out"/>
|
|
<g s:x="0" s:y="10" s:pid="A"/>
|
|
</g>
|
|
<g s:type="dff" transform="translate(245,107)" s:width="48" s:height="68" id="cell_$auto$ff.cc:337:slice$9">
|
|
<text x="24" y="-4" class="nodelabel cell_$auto$ff.cc:337:slice$9" s:attribute="ref">shift_reg</text>
|
|
<rect width="48" height="68" x="0" y="0" rx="2" class="cell_$auto$ff.cc:337:slice$9"/>
|
|
<text x="5" y="13" class="cell_$auto$ff.cc:337:slice$9" style="font-size:9px;font-weight:normal">D</text>
|
|
<text x="5" y="27" class="cell_$auto$ff.cc:337:slice$9" style="font-size:9px;font-weight:normal">EN</text>
|
|
<text x="5" y="41" class="cell_$auto$ff.cc:337:slice$9" style="font-size:9px;font-weight:normal">RST</text>
|
|
<path d="M0,47 L6,52 L0,57" class="cell_$auto$ff.cc:337:slice$9"/>
|
|
<text x="43" y="13" class="cell_$auto$ff.cc:337:slice$9" style="font-size:9px;font-weight:normal;text-anchor:end">Q</text>
|
|
<g s:x="0" s:y="10" s:pid="D"/>
|
|
<g s:x="0" s:y="24" s:pid="EN"/>
|
|
<g s:x="0" s:y="38" s:pid="SRST"/>
|
|
<g s:x="0" s:y="52" s:pid="CLK"/>
|
|
<g s:x="48" s:y="10" s:pid="Q"/>
|
|
</g>
|
|
<g s:type="join" transform="translate(194,70)" s:width="4" s:height="36" id="cell_$join$0">
|
|
<rect width="4" height="36" class="splitjoinBody cell_$join$0" s:generic="body"/>
|
|
<g transform="translate(0,9)" s:x="0" s:y="9" s:pid="in"><text x="-3" y="-3" class="inputPortLabel">0</text></g>
|
|
<g transform="translate(0,27)" s:x="0" s:y="27" s:pid="in"><text x="-3" y="-3" class="inputPortLabel">3:1</text></g>
|
|
<g s:x="4" s:y="18" s:pid="out"/>
|
|
</g>
|
|
<g s:type="split" transform="translate(108,27)" s:width="4" s:height="36" id="cell_$split$0">
|
|
<rect width="4" height="36" class="splitjoinBody cell_$split$0" s:generic="body"/>
|
|
<g s:x="0" s:y="18" s:pid="in"/>
|
|
<g transform="translate(4,9)" s:x="4" s:y="9" s:pid="out"><text x="3" y="-3">2:0</text></g>
|
|
<g transform="translate(4,27)" s:x="4" s:y="27" s:pid="out"><text x="3" y="-3">3</text></g>
|
|
</g>
|
|
<line x1="293" y1="117" x2="310" y2="117" class="net_7,8,9,6 bus"/>
|
|
<line x1="78" y1="12" x2="310" y2="12" class="net_7,8,9,6 bus"/>
|
|
<line x1="78" y1="45" x2="108" y2="45" class="net_7,8,9,6 bus"/>
|
|
<line x1="310" y1="12" x2="310" y2="117" class="net_7,8,9,6 bus"/>
|
|
<line x1="78" y1="12" x2="78" y2="45" class="net_7,8,9,6 bus"/>
|
|
<line x1="112" y1="54" x2="340" y2="54" class="net_6"/>
|
|
<line x1="112" y1="36" x2="145" y2="36" class="net_7,8,9 bus"/>
|
|
<line x1="145" y1="97" x2="194" y2="97" class="net_7,8,9 bus"/>
|
|
<line x1="145" y1="36" x2="145" y2="97" class="net_7,8,9 bus"/>
|
|
<line x1="64" y1="79" x2="194" y2="79" class="net_5"/>
|
|
<line x1="198" y1="88" x2="212" y2="88" class="net_5,7,8,9 bus"/>
|
|
<line x1="212" y1="117" x2="245" y2="117" class="net_5,7,8,9 bus"/>
|
|
<line x1="212" y1="88" x2="212" y2="117" class="net_5,7,8,9 bus"/>
|
|
<line x1="64" y1="131" x2="245" y2="131" class="net_4"/>
|
|
<line x1="64" y1="183" x2="212" y2="183" class="net_3"/>
|
|
<line x1="212" y1="145" x2="245" y2="145" class="net_3"/>
|
|
<line x1="212" y1="145" x2="212" y2="183" class="net_3"/>
|
|
<line x1="64" y1="235" x2="222" y2="235" class="net_2"/>
|
|
<line x1="222" y1="159" x2="245" y2="159" class="net_2"/>
|
|
<line x1="222" y1="159" x2="222" y2="235" class="net_2"/>
|
|
<text data-rapidrtl-mark="" x="396" y="249" text-anchor="end" font-family="system-ui, -apple-system, 'Segoe UI', sans-serif" font-size="14" font-weight="700" style="fill:rgba(0,0,0,0.3) !important;stroke:none !important">Made with RapidRTL · rapidrtl.com</text></svg> |