logic gates(˛8 '%# & ! ˇ " !#ˆ #$%$"& ! !˝ ˆ ' (the nand gate and...
TRANSCRIPT
����������� ������������������������ ��� ���������
������������� ���������������������������������������������������������
�����������
������������� �����������
LOGIC GATES
�����������
�����������
!� �"�����"#��"��$%&'
(� �"�����"#����)$*&'
!(� �"�����"#�������#�� $+&,������-)�������$.&�����,
��$/&#�������������#��'
�0������
12 '� ����"31��-)���� !��'4
12 *�����"31��-)����0(��'4
12 ����"31��-)����!(� '4
��������$!(�&
�����������
! !�����
!�����
�����������
!(�����
(�����
�����������
5(�����
�)����
������������������� ��������������
��� ������
Histand, M.B., Alciatore, D.G., “Introduction to Mechatronics and Measurement Systems”, McGraw-Hill, 2011.
����������������
Histand, M.B., Alciatore, D.G., “Introduction to Mechatronics and Measurement Systems”, McGraw-Hill, 2011.
����������������
Histand, M.B., Alciatore, D.G., “Introduction to Mechatronics and Measurement Systems”, McGraw-Hill, 2011.
��� ��!�
������� ���#��6�7��"�"�������
Histand, M.B., Alciatore, D.G., “Introduction to Mechatronics and Measurement Systems”, McGraw-Hill, 2011.
��� ��!�
�������������������
�����������������
��� ��!�
������ �!���������
�"#$���%��&�'�
��� ��!�
��(�$��)"�'���
��(�$��)"�'����*���+ �,�
��� ��!�
-'� ��./ ����'����0���'����� ��./ ��1����
Histand, M.B., Alciatore, D.G., “Introduction to Mechatronics and Measurement Systems”, McGraw-Hill, 2011.
"��#$
�"��2��340$�' �+' ��5�!'�����%�6/��7
�1��*"/��'�����$!�8'�(�������"��2��9��/�' �9���9�'����0���:;�$� '�$5��</ �' �"��7
�����������
�������������������� ��������������������������������������� �!"
�#$�%�������&'()�8�*�����+�� �,��-����� $���������������������.��
�����+�� �,��+��/�!��-
��6� 8 (�
��������������� ������ ���������������������������������������
�%#�&�� ���'�8(
����������� �����!����������� ����� "���!�#�������#$%$"&�����
�%#�&�� ���'�8(
����������� �����!����������� ����� "���!�#�������#$%$"&�����
���! !�
�������� ����� � ��� �������������������� ���� ��������' (
The NAND gate and the NOR gate can be said to be universal gates since
combinations of them can be used to accomplish any of the basic operations and can
thus produce an inverter, an OR gate or an AND gate. The non-inverting gates do not
have this versatility since they can't produce an invert.
���! !�
�����������
���! !�
9:;;�7�<���)�! !�����
�����������������)!����� ����� ���&*+&
���! !�
9:;;�7�<���)�! !�����
�����������������)!����� ����� ���&*+&
���! !�
9:;;�7�<���)�! !�����
�����������������)!����� ����� ���&*+&
���! !�
�������� ����� � ��� �������������������� ���� ���������������� ����� � ��� �������������������� ���� ��������
��)�
"��#$
����������������������0�.�12$�������$��3�������������������+�����4��5! !�����$��+ ������-
��+61���7���!(��� !����(���������������������!(�����$��+1��80��-
�����������������������������!(�����$��+1��80���-
*+��
*+�����������,-!.��/��0
�������$��4��1"����9�������':� "����$��+:��;�+��1���3� �������������
��0�����<� ���6,���=0��������7�0����+/�����-
���������,-!.��/��0
���������+�>��������� "����$��+:��;� �,�?��+�@�:�3� �������������
���A
BC����0�����<� �� �,�D,��� ������ � /����%1E�����������8�������F�������=0-
GC�����1� ��������4�1����� �,����8��+�(�� �,������+H����"�:�I��<���
��0�����<� ����=0-
JC����������"�������3� �������������"��K,�L�������-
�.�12$���� � /����%1E������M��1�������M���� 1������+��N�8
�������5���"�:�O�P��-
���������"�L����3�Q1��D�(� "�R�S���������+61�� /T��.���+:��;�����
+��������C����-
���������,-!.��/��0
�3�1"�+���������������U'�����DS ����� ����.���D:�����A
BC�I$!"��� !H �����V
GC�����M'���I��TW� ��D��T��D�(� "�+61�� T��IX$5�.����-
JC�M'���I��TW�.����
YC��/���I��<���I��TW����$�� 1�7�������
ZC�����[�����$��3$�1��������8���������I��<� �����I��TW� $�������������
3�1"�+��D��T��� /�-
\C�������+61��]�$��3��
1�#+2�3��4� ��,+56��7��
�1"�+��9P�������I^:�.������+/�����"�� !H ��I��<� �� 5����A
BC���������� � /���� ���������� "�+������=0�����.�����':)�.��
�����������1� ��9��,�4�1�����8�� "�+����������':-*
GC���������� � /���� ���������� "�+������=0�����.�����':�����
�����_ :��+�"�:� �,)�������1� ��� �,�������8�� "�+����������':�.��
���-*
JC��1� �� �,�������8�� "�+�����������=0�����4[8��`��':-
1�#+2�3��4� ��,+56��7��
3�1"�+��9P�������+61�������+5��,�������������a��� !:���.�����A
�A����%1E��������� 1���':
��A�"�:�O�P����':
1�A��=0�����.���������+5��,�41U��
8��A�Q������������[b��.��[�������+�������"�9P���
1�#+2�3��4� ��,+56��7��
����������a��A
�����8����
+5��,���a��A
1
�����a������� ������1��4�[����<���W�������4[8�����.����4�[��?����W
c��,-
������,!.�18#��"�.��
�����.������=0)12=�*���� ���������,��^��d6��������"8����':���;=�
�����
�����������^��d6�������I��<� ���"=;����-
�1� �!9�"�.�����
������ "������ 5���+� ���+61��I�TW� ��+61�� T��I�TW�D��T������
��"� /�0
8��;=
3���� �����+� �������� %�������?����WA
����
�"� /�0������� ������;� ���
8��=;
3���� �����+� �������� %�������?����WA
����
�1� �!9�"�.�����
3�������7����A
�+�(��e�8�I�TW----
�7��#��:����1� �!9���
����I�TW�����+�����4��5� �� 5����������+��������"f�4g��K,��':���
��$��������A
��':��%����/��� "�+���<���8��==�3���������� ��������5���A
�������, �1 �!9�;��!$ !�
�����������]�����7h������� W�$%��i �$[��#$�%������������ "�%�0���
�D��T������j���?�� ��I��TW�k$��������7������� �8������(�� /��+61�
����[���������8�����]�"���������-
����+���������������.����(������Q1��.�������A
�������, �1 �!9�;��!$ !��������, �1 �!9�;��!$ !�
��� �������36/�� �����<�% �$�"���$�=�
BC�c���j�$%��D<:�9�b���
GC�c���D<:�9�b�j�$%����
l7����e�8������?��4g��d�����M��m3�1"
��� �������36/�� �����<�% �$�"���$�=�
BC�c���j�$%��D<:�9�b���
���c���j�$%��D<:�9�b����)Sum of Products*�M���6�� "�M5��,����
7�0�?�������������Q��M�3����-�����0���6��l�����������3��9�b�
M�3�1"-�L8�l����M��� "�����0��6����<��1� �����NOT�M�3�1"-����
��7��D<:�9�bl�� ���������0����#$5�M�3�1"-
��� �������36/�� �����<�% �$�"���$�=�
GC�c���D<:�9�b��j�$%��
���c���D<:�9�b��j�$%���)Product of Sums*�M���6�� "�M5��,����
7�0���<������������Q��M�3����-�����0���6��l�����������3��#$5�
M�3�1"-�L8�l����M��� "�����0��6��?���1� �����NOT�M�3�1"-����
��7��D<:�#$5l�� ���������0����9�b�M�3�1"-
��� �������36/�� �����<�% �$�"���$�=�
��� �������36/�� �����<�% �$�"���$�=�
�������4g��M�����4��5A
1� �8�':
=�,,+,
=�,+,
( =,�+,
;��++&
��� �������36/�� �����<�% �$�"���$�=�
Seven Segment:
-**-.��#�������������.�� ����
��� �������36/�� �����<�% �$�"���$�=�
�.��$�B�A� 6�����DT(���X������M�����4��5�������������M5��,� ��n�����M61���������M61�c���f���1"�3�����-
.��$��GA�������������4��5�M�������������� 6����M61��M5��,�X����������������c���D<:�9�b�j�$%������c���j�$%��D<:�9�b��� ����������0-
�.��$�J�A��������Karnaugh Maps�����������������P'��4g��?�������$��o�p���1"�D:��0����-