Synthesis of Combinational Networks
Combinational Logic Design: From Specification to Gates
Combinational Logic Design turns a description of required behaviour into a network of logic gates. You use it when outputs should depend on the present inputs, without remembering earlier events. A successful design satisfies both a functional requirement, describing the required output values, and implementation constraints, such as available gates and allowed delay. The central task is to keep those requirements consistent as you move from words to expressions to connections.
Specify the required behaviour
A combinational network produces a unique settled output for each allowed combination of present input values. Its governing relationship is
where x represents the inputs and y represents the outputs. Physical gates take time to respond, so this relationship describes settled behaviour after propagation delays have elapsed.
Begin by naming each input and output. State what logic 1 and logic 0 mean. Under an active-high convention, a signal is asserted when its value is 1; an active-low signal is asserted when its value is 0. Writing these meanings prevents a correct-looking expression from implementing the opposite behaviour.
For example, a work lamp has enable input E, occupancy input A, and manual-request input B. All signals are active high. The lamp should turn on when enabled and either request is present, including when both requests are present.
Input case | Required lamp output L | Reason |
|---|---|---|
E=0, any A,B | 0 | Enable overrides both requests. |
E=1, A=B=0 | 0 | Neither request is present. |
E=1, at least one of A,B is 1 | 1 | An enabled request turns on the lamp. |
Specify every input combination that can occur, including startup cases if relevant. An omitted case is an unresolved requirement, rather than automatic permission to choose either output.
Translate the specification into gates
Use + for OR, adjacency for AND, and an overbar for NOT. These are Boolean operations, rather than ordinary arithmetic. The lamp specification becomes
The parentheses identify the request condition. First form A+B with an OR gate, then combine that result with E using an AND gate.
Read the connected network back into an expression to check the wiring. Here, the final AND gate requires both an enable and a request. Moving B directly to a final OR gate would allow the manual request to bypass the enable.
For several outputs, derive each required function. An intermediate signal may feed more than one gate, allowing you to share logic. Sharing can reduce gate count, but its loading can also change delay. Count gates using the stated library: one three-input operation may require multiple gates when only two-input gates are available.
Verify function and timing
Check the implementation against the specification for every allowed input combination. With three unrestricted binary inputs, there are 23=8 combinations. Include cases where requests overlap and where an overriding condition is asserted. Agreement on a few typical cases does not establish agreement everywhere.
Next, check timing. The critical path is the input-to-output path with the largest accumulated delay under the stated timing model. With simultaneous input arrival, a conservative network propagation-delay bound is
where tpd is each gate's propagation-delay bound. Gates on parallel branches are not all added together. If inputs arrive at different times, propagate arrival bounds through each gate by taking its latest input arrival and adding its delay.
Use delay values valid for the specified loading, and include wire delay when the problem requires it. Passing a steady-state functional check alone does not establish when an output becomes valid.
What to remember
- Define signal meanings and every relevant input case.
- Translate conditions into expressions, then check the gate connections.
- Verify all allowed input combinations.
- Evaluate gate count and timing for the actual implementation.
Example: Design a Cabinet Exhaust Controller
An equipment cabinet has three active-high inputs:
- M=1: an operator requests exhaust.
- H=1: the temperature sensor requests exhaust.
- D=1: the cabinet door is open.
The exhaust output F must be 1 when either request is present, including both together, but only while the door is closed. It must be 0 in every other case. The output depends only on the current inputs.
Use two-input AND and OR gates and single-input NOT gates. At the actual loading, their propagation-delay bounds are 3.0 ns for AND, 4.0 ns for OR, and 2.0 ns for NOT. Neglect wire delay.
a) Write the complete input-output specification, listing all input combinations, and derive a Boolean expression for F.
First identify the two conditions for exhaust. A request is present when M+H=1. The door is closed when D=1. Both conditions are required:
The complete specification has 23=8 input combinations. Using input order (M,H,D), the outputs are:
- (0,0,0) gives F=0.
- (0,0,1) gives F=0.
- (0,1,0) gives F=1.
- (0,1,1) gives F=0.
- (1,0,0) gives F=1.
- (1,0,1) gives F=0.
- (1,1,0) gives F=1.
- (1,1,1) gives F=0.
Every combination with D=1 produces 0, confirming that the door-open condition overrides either request. There are three input combinations that produce F=1.
b) Implement the expression using the available gates and state the gate count.
Build the network in three steps:
- Use an OR gate to form request signal R=M+H.
- Use a NOT gate to form closed-door signal C=D.
- Use an AND gate to form F=RC.
Reading the connections back gives
which matches the required expression. The network uses
The OR and NOT branches operate in parallel; neither feeds the other.
c) All inputs become valid at t=0 and remain stable. Find a conservative output-settling bound, and decide whether the design meets an 8.0 ns limit.
Calculate the accumulated gate-delay bound along each input-to-output path. The manual and temperature inputs each pass through the ________ gate and then the ________ gate:
The door input passes through the ________ gate and then the AND gate:
The network bound is the largest path sum:
Do not add all three gates together: no signal path passes through all three. Since 7.0 ns≤8.0 ns, the implementation meets the stated limit. Its timing margin under the supplied model is
A parts sorter has binary inputs A, B and C. Its output F must equal 1 exactly for the input patterns (A,B,C)=(0,1,0) and (1,0,1), and must equal 0 otherwise.
Complete the gate types for an implementation that detects each accepted pattern separately and then combines the results. Write NOT, AND or OR in each blank.
Obtain each complemented input needed to detect a required 0 using a gate. Combine the three matching input signals for each accepted pattern using a three-input gate. Combine the two pattern-detection signals using a two-input gate.
A sorting machine uses binary sensor inputs X and Y to produce routing output R. The specification gives the following requirements:
X | Y | Required R |
|---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | Unspecified |
The sensors are mutually exclusive during normal sorting, but X=Y=1 can occur during startup. The startup routing output matters to the machine's operation, and no other requirement defines it.
What should the designer do before selecting a final gate network?