本篇笔记学习于:https://blog.csdn.net/m0_46360532/article/details/114441150?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167801078116782425149077%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=167801078116782425149077&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2alltop_positive~default-1-114441150-null-null.142v73control,201v4add_ask,239v2insert_chatgpt&utm_term=%E9%80%BB%E8%BE%91%E9%97%A8&spm=1018.2226.3001.4187
符号
(1)与门 Y=A B(有0出0)
(2)或门(有1 出1)
(3)非门(取反)
(4)与非 Y=!(A&&B)
(5)或非 Y=!(A||B)
(6)异或门 相异为1
(7)同或门(相同为1)