Sie sind auf Seite 1von 13

Chapter 2:

Digital Logic Design

Computer Architecture and Security


Fundamentals of Designing Secure Computer Systems, First
Edition
Shuangbao (Paul) Wang and Robert S. Ledley

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 1
Logic circuit

an AND gate Truth Table

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 2
Gates and Boolean
algebra

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 3
Logic circuit design
process
Logic circuit design steps:
feasibilitystudy,
circuit design,
circuit simulation, and
optimization.

Circuit is then manufactured


either on
printed circuit board (PCB) or
packed into a special purpose IC.

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 4
A home alarm system

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 5
Gates and flip-flops
combinational circuit no
memory
any past states will not affect the
current output
The output is only determined by
the current inputs
sequential circuit has
memory
The output is determined by the
current inputs and previous states
It has memory
2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 6
Flip-flop

State table
Flip-flop

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 7
FPGA
FPGA stands for field-
programmable gate array
A modern FPGA functions like a
microprocessor
Used to implement any logic
circuits
Replace most of the logic circuits
designed with standard IC like
gates, flip-flops and registers etc.

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 8
An FPGA biometric security
system

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 9
A RFID student attendance
system

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 10
RFID tags and readers

RFID reader
RFID tag and interface card

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 11
System flowchart &
program

2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 12
Summary
Logic circuits are the building
blocks for modern computers
A truth table provides all possible
values of a combinational
circuits output corresponding to
all inputs.
A flip-flops output is determined
by not only the inputs of that
moment but also the previous
states of the circuit.
2013 Higher Education Press. All rights reserved. Published 2012 by John Wiley & Sons Singapore Pte. Ltd. 13

Das könnte Ihnen auch gefallen