Professional Documents
Culture Documents
James K. Peckol
A Look at Real- World Gates: Part 1: Signal Levels
Logic Levels:
• Logical 0 as 0 volts
• Logical 1 as +5 volts
• Logical 0 as 0 volts
• Logical 1 as +1.5 or 3.0 volts
Variation of Logic Signal Levels on Device Inputs and
Outputs
A first look inside the Logic Gate:
fig_02_02
fig_02_03
fig_02_04
Fan-In and Fan-Out
fig_02_05
Example
fig_02_07
fig_02_08
A LOOK AT REAL-WORLD GATES – PART 2: TIME
Rise and Fall time
The syntax for including rise and fall times in a Verilog device model is given as,
Syntax
# (riseTime, fallTime) deviceInstance
parameter riseTime = 1;
parameter fallTime = 2;
not #(riseTime, fallTime) myNot (sigOut, sigIn);
A LOOK AT REAL-WORLD GATES – PART 2: TIME
Propagation Delay
where
C Capacitance
A Cross-sectional area of the capacitor
𝜀 The permittivity of the dielectric material between the plates
d The separation of the plates
LOGIC CIRCUIT MODELS AND PARASITIC
COMPONENTS
•Debugging
•Troubleshooting
•Testing
We generally find that there are different reasons why we have to test.
First, we want to verify that any hardware or software modules, prototypes,
subsystems, collections of subsystems, or the final integrated system perform as it
was designed.
MODELING, SIMULATION, AND TOOLS
• co-design
• intermittent, transient
• faults
• fault, failures
• Errors
The setup and hold times permit incoming signals to propagate through any
input logic and to initiate and complete the appropriate state changes for any
internal memory elements.
Flip-Flops
Propagation Delays
The set of use cases appears in the center of the drawing, with
arrows indicating the actors involved in the use case.
Writing a Use Case Description
CLASS DIAGRAMS
• Once we have identified how the user intends or expects to
interact with the system, next step is to begin to identify and to
formulate the modules that give rise to that external behavior.
That process begins with the class diagram.
• This diagram gives a description of the objects in a system
coupled with the relationships that exist among them.
• Such a description is frequently found among the foundation
elements of most modeling tools.
• The class diagram enables one to specify the public interface
to the object, the interface expressed in the use cases
Class Relationships
Inheritance or Generalization: We express inheritance using a
solid line terminating in a hollow arrow
• Identifying which tasks are active and when they are not.
INTERACTION DIAGRAMS
The fork occurs after the first parent activity or action completes.
One child performs its task and completes; the second similarly
finishes its task and then spawns a another.
When all activity completes, the child tasks terminate and the
parent continues.
BRANCH AND MERGE
Branch: permits one to model alternate threads of execution.
A merge brings the flow back together again.
Each is represented by the diamond symbol, which is commonly found in the
familiar flow chart.
Sequential flow is shown by a solid arrow, and individual tasks or activities are
shown using a rounded-rectangle.
ACTIVITY DIAGRAM
Transitions
transition between states occurs when an event of interest to
the system takes places or when the system has completed
some action and is ready to move to the next state. The former
is called a triggered transition and the latter transition is called
a triggerless transition.
One may associate an action with the transition, and a
transition to self is permitted. All four types of transition are
illustrated in Figure 5.19.
Guard Conditions:
A guard condition can be associated with a transition. A guard condition is a
Boolean
expression that must evaluate to true before the transition can fire.
A guard condition is shown in square brackets on the transition arrow.
UML supports several different kinds of guard.
• An event and a guard condition are written as
EventName [guardCondition] on the state transition edge.
If the guardCondition evaluates to false, the transition will not be taken.