Created
December 1, 2025 20:58
-
-
Save ericfont/0f213409460ddd1d1e1b6afa5dbbfac9 to your computer and use it in GitHub Desktop.
test using unbuffered hex inverter amplifying RC for integration, fed into schmitt-input flip-flop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="476" height="340"><defs><linearGradient id="hSWnErdgplUn" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#807f7f"/><stop offset="1" stop-color="#6c936c"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="476" height="340"/><g transform="scale(1,1) translate(22,-78)"><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="356" y="362" text-anchor="start" dominant-baseline="central">export</text></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 336 320 L 377 348" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 96 128 L 112 128" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="117" y="134" text-anchor="start" dominant-baseline="alphabetic">D</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 192 128 L 176 128" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="157" y="134" text-anchor="start" dominant-baseline="alphabetic">Q</text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 192 192 L 176 192" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="157" y="198" text-anchor="start" dominant-baseline="alphabetic">Q</text><path fill="none" stroke="#ffffff" paint-order="fill stroke markers" d=" M 157 178 L 171 178" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 96 160 L 112 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 112 152 L 128 160 L 112 168 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="117" y="166" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 112 112 L 176 112 L 176 208 L 112 208 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 96 160 L 96 163" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="10px" font-style="normal" font-weight="normal" text-decoration="normal" x="87" y="177" text-anchor="start" dominant-baseline="central">CLK</text></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 336 128 L 336 320" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="342" y="230" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 192 128 L 336 128" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="264" y="122" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 192 240 L 272 320" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="236" y="284" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 336 320 L 328 320" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 296 320 L 288 320" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(-1,0,0,-1,328,320)"><path fill="none" stroke="url(#hSWnErdgplUn)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="306" y="310" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 288 320 L 288 332" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 300 332 L 276 332" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 288 352 L 288 340" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 300 340 L 276 340" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="302" y="342" text-anchor="start" dominant-baseline="alphabetic">1μF</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 288 352 L 288 368" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 298 368 L 278 368" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 294 373 L 282 373" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 290 378 L 286 378" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 272 320 L 288 320" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="280" y="314" text-anchor="start" dominant-baseline="alphabetic"></text><g><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 192 240 L 176 240" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="158" y="246" text-anchor="start" dominant-baseline="alphabetic">A</text><path fill="none" stroke="#6e916e" paint-order="fill stroke markers" d=" M 96 240 L 112 240" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="19px" font-style="normal" font-weight="normal" text-decoration="normal" x="117" y="246" text-anchor="start" dominant-baseline="alphabetic">V+</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 96 272 L 112 272" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="117" y="278" text-anchor="start" dominant-baseline="alphabetic">V-</text><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 112 224 L 176 224 L 176 288 L 112 288 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#6e916e" paint-order="fill stroke markers" d=" M 48 128 L 48 240" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="54" y="190" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6e916e" paint-order="fill stroke markers" d=" M 48 240 L 96 240" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="72" y="234" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 96 272 L 96 288" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 106 288 L 86 288" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 102 293 L 90 293" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 98 298 L 94 298" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="226" y="346" text-anchor="start" dominant-baseline="central">export</text></g><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 272 320 L 247 332" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#6e916e" paint-order="fill stroke markers" d=" M 48 128 L 56 128" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 85 128 L 96 128" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 56 112 L 56 144 L 83 128 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 60 125 L 69 125 L 69 131 L 72 131 L 63 131 L 63 125 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" stroke-dasharray=""/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 339 320 A 3 3 0 1 1 338.99999999995777 319.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 195 192 A 3 3 0 1 1 194.99999999995774 191.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 275 320 A 3 3 0 1 1 274.99999999995777 319.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 291 320 A 3 3 0 1 1 290.99999999995777 319.99998407846124 Z"/></g></g></svg> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sim
Screencast_20251201_155246.webm
Unfortuantely, the RC is averaged only around 2.17V, which is off-center, so the positive & negative slopes aren't equal. Hence, while appealing to use unbuffered inverters because they use fewer pins and can be placed closer, unfortunately being off center makes then unsuitable for accurate integration.