提交 5e8a6a99 创建 作者: 赵鹏翀's avatar 赵鹏翀

replace xor gate

上级 30e0e552
没有这种文件类型的预览
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<svg height="795" version="1.1" width="2121" xmlns="http://www.w3.org/2000/svg">
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="307" x2="247" y1="257" y2="257"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="307" x2="247" y1="307" y2="307"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="447" x2="497" y1="277" y2="277"/>
<path d="M315 235 A 160 160 0 1 1 312 326" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<polyline fill="none" points="316 235, 366 235" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="47 227, 247 227, 247 257" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="313 326, 364 326" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="47 427, 247 427, 247 307" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M367 235 C 434 235, 443 279, 443 279" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="497 277, 547 277, 547 457" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M365 326 C 433 326, 443 280, 443 280" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="47 627, 547 627, 547 507" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M306 234 A 213 213 0 0 1 304 326" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<polyline fill="none" points="797 477, 947 477, 947 617, 1477 617" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="350" y="227">U1</text>
<polyline fill="none" points="1727 587, 1777 587, 1777 417" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="332" y="370">XOR</text>
<polyline fill="none" points="2027 387, 2097 387" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="47 227, 247 227, 247 257" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="657" y="777">偶校验电路</text>
<polyline fill="none" points="47 427, 247 427, 247 307" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="227" y="67">偶校验码 F = A1⊕A2⊕A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="607" x2="547" y1="457" y2="457"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="1397" y="67">检错码 E = A1⊕A2⊕A3⊕F</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="607" x2="547" y1="507" y2="507"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="917" y="777">当E=0时,说明传输无误</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="747" x2="797" y1="477" y2="477"/>
<polyline fill="none" points="1777 367, 1777 257, 1717 257" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M615 435 A 160 160 0 1 1 612 526" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<polyline fill="none" points="1467 237, 1287 237" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="616 435, 666 435" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1467 287, 1467 377, 1287 377" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="613 526, 664 526" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1477 567, 1477 507, 1287 507" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M667 435 C 734 435, 743 479, 743 479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="17" y="177">原始信号</text>
<path d="M665 526 C 733 526, 743 480, 743 480" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1247" y="187">待检信号</text>
<path d="M606 434 A 213 213 0 0 1 604 526" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1307" y="227">A1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="650" y="427">U2</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="77" y="217">A1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="632" y="570">XOR</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="77" y="417">A2</text>
<polyline fill="none" points="497 277, 547 277, 547 457" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="77" y="617">A3</text>
<polyline fill="none" points="47 627, 547 627, 547 507" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="807" y="467">校验码F</text>
<polyline fill="none" points="797 477, 947 477, 947 617, 1477 617" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1307" y="367">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1537" x2="1477" y1="567" y2="567"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1307" y="497">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1537" x2="1477" y1="617" y2="617"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="2027" y="377">E</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1677" x2="1727" y1="587" y2="587"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="307" x2="247" y1="257" y2="257"/>
<path d="M1545 545 A 160 160 0 1 1 1542 636" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="307" x2="247" y1="307" y2="307"/>
<polyline fill="none" points="1546 545, 1596 545" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="447" x2="497" y1="277" y2="277"/>
<polyline fill="none" points="1543 636, 1594 636" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="316 235, 366 235" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1597 545 C 1664 545, 1673 589, 1673 589" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="313 326, 364 326" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1595 636 C 1663 636, 1673 590, 1673 590" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M367 235 C 434 235, 443 279, 443 279" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1536 544 A 213 213 0 1 1 1534 636" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<path d="M365 326 C 433 326, 443 280, 443 280" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1580" y="537">U3</text>
<path d="M314 235 C 327 281, 313 326, 313 326" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1562" y="680">XOR</text>
<path d="M305 236" fill="none" stroke="#ff0000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1837" x2="1777" y1="367" y2="367"/>
<path d="M304 236 C 313 283, 304 326, 304 326" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1837" x2="1777" y1="417" y2="417"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1977" x2="2027" y1="387" y2="387"/>
<path d="M1845 345 A 160 160 0 1 1 1842 436" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="350" y="227">U1</text>
<polyline fill="none" points="1846 345, 1896 345" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="332" y="370">XOR</text>
<polyline fill="none" points="1843 436, 1894 436" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="607" x2="547" y1="457" y2="457"/>
<path d="M1897 345 C 1964 345, 1973 389, 1973 389" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="607" x2="547" y1="507" y2="507"/>
<path d="M1895 436 C 1963 436, 1973 390, 1973 390" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="747" x2="797" y1="477" y2="477"/>
<path d="M1836 344 A 213 213 0 0 1 1834 436" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<polyline fill="none" points="616 435, 666 435" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1880" y="337">U4</text>
<polyline fill="none" points="613 526, 664 526" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1862" y="480">XOR</text>
<path d="M667 435 C 734 435, 743 479, 743 479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1727 587, 1777 587, 1777 417" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M665 526 C 733 526, 743 480, 743 480" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2027 387, 2097 387" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M614 435 C 627 481, 613 526, 613 526" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="657" y="777">偶校验电路</text>
<path d="M605 436" fill="none" stroke="#ff0000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="227" y="67">偶校验码 F = A1⊕A2⊕A3</text>
<path d="M604 436 C 613 483, 604 526, 604 526" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="1397" y="67">检错码 E = A1⊕A2⊕A3⊕F</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="650" y="427">U2</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="37" font-weight="400" text-anchor="start" x="917" y="777">当E=0时,说明传输无误</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="632" y="570">XOR</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1527" x2="1467" y1="237" y2="237"/>
......@@ -117,8 +105,6 @@
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1667" x2="1717" y1="257" y2="257"/>
<path d="M1535 215 A 160 160 0 1 1 1532 306" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<polyline fill="none" points="1536 215, 1586 215" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1533 306, 1584 306" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
......@@ -127,38 +113,62 @@
<path d="M1585 306 C 1653 306, 1663 260, 1663 260" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1526 214 A 213 213 0 1 1 1524 306" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<path d="M1534 215 C 1547 261, 1533 306, 1533 306" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1570" y="207">U5</text>
<path d="M1525 216" fill="none" stroke="#ff0000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1524 216 C 1533 263, 1524 306, 1524 306" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1570" y="207">U3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1552" y="350">XOR</text>
<polyline fill="none" points="1777 367, 1777 257, 1717 257" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1537" x2="1477" y1="567" y2="567"/>
<polyline fill="none" points="1467 237, 1287 237" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1537" x2="1477" y1="617" y2="617"/>
<polyline fill="none" points="1467 287, 1467 377, 1287 377" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1677" x2="1727" y1="587" y2="587"/>
<polyline fill="none" points="1477 567, 1477 507, 1287 507" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1546 545, 1596 545" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="17" y="177">原始信号</text>
<polyline fill="none" points="1543 636, 1594 636" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1247" y="187">待检信号</text>
<path d="M1597 545 C 1664 545, 1673 589, 1673 589" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1307" y="227">A1</text>
<path d="M1595 636 C 1663 636, 1673 590, 1673 590" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="77" y="217">A1</text>
<path d="M1544 545 C 1557 591, 1543 636, 1543 636" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="77" y="417">A2</text>
<path d="M1535 546" fill="none" stroke="#ff0000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="77" y="617">A3</text>
<path d="M1534 546 C 1543 593, 1534 636, 1534 636" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="807" y="467">校验码F</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1580" y="537">U4</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1307" y="367">A2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1562" y="680">XOR</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1307" y="497">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1837" x2="1777" y1="367" y2="367"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="2027" y="377">E</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1837" x2="1777" y1="417" y2="417"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1977" x2="2027" y1="387" y2="387"/>
<polyline fill="none" points="1846 345, 1896 345" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1843 436, 1894 436" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1897 345 C 1964 345, 1973 389, 1973 389" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1895 436 C 1963 436, 1973 390, 1973 390" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1844 345 C 1857 391, 1843 436, 1843 436" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1835 346" fill="none" stroke="#ff0000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1834 346 C 1843 393, 1834 436, 1834 436" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1880" y="337">U5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1862" y="480">XOR</text>
</svg>
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论