0% found this document useful (0 votes)
94 views15 pages

577a Lab2 Report

This document contains the results of simulations and calculations to estimate propagation delays and load capacitances for different logic gates. It also contains measurements of power consumption for an 8-bit multiplier circuit both with and without clock gating applied. Power consumption was reduced when clock gating was used due to lower switching activity in the register files and multiplier stage. Static power was also reduced when all inputs were zero.

Uploaded by

Saurav Chowdhury
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views15 pages

577a Lab2 Report

This document contains the results of simulations and calculations to estimate propagation delays and load capacitances for different logic gates. It also contains measurements of power consumption for an 8-bit multiplier circuit both with and without clock gating applied. Power consumption was reduced when clock gating was used due to lower switching activity in the register files and multiplier stage. Static power was also reduced when all inputs were zero.

Uploaded by

Saurav Chowdhury
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

EE577a LAB 2 Name: Saurav Chowdhury USC ID: 3059-9867-72

PART 1.1 : Load capacitances for each node in the circuit

Interpolation X1 be the value of propagation delay nearest to the simulated value but greater than it and Y1 be the corresponding capacitance. X be the value of propagation delay simulated value Y be the corresponding capacitance to be found. X2 be the value of propagation delay nearest to the simulated value but less than it and Y2 be the corresponding capacitance. Then by interpolation ( 1) ( 1 2) = 1 1 2

1. NAND followed by NOR: Input slew Rising Propagation Falling delay delay 50.33ps 53.14ps 56.30ps 50.13ps 51.42ps 52.52ps Propagation Load capacitance NLDM tables Rise delay 4.48fF 4.437fF 4.443fF estimated using Average capacitance Fall delay 2.20fF 2.80fF 2.70fF

10ps 20ps 30ps

3.51fF

2. INVERTER followed by NOR: Input slew Rising Propagation Falling delay delay 37.63ps 40.54ps 43.75ps 40.55ps 42.13ps 44.65ps Propagation Load capacitance NLDM tables Rise delay 5.92fF 5.85fF 5.86fF estimated using Average capacitance Fall delay 4.108fF 4.037fF 4.039fF

10ps 20ps 30ps

4.969fF

3. NOR followed by NAND: Input slew Rising Propagation Falling delay delay 52.36ps 55.84ps 59.09ps 83.35ps 84.7ps 86.1ps Propagation Load capacitance NLDM tables Rise delay 3.14fF 3.18fF 3.103fF estimated using Average capacitance Fall delay 2.84fF 2.824fF 2.79fF

10ps 20ps 30ps

2.98fF

4. NOR followed by INVERTER: Input slew Rising Propagation Falling delay delay 50.12ps 53.61ps 56.71ps 80.34ps 81.21ps 82.56ps Propagation Load capacitance NLDM tables Rise delay 2.679fF 2.714fF 2.614fF estimated using Average capacitance Fall delay 2.393fF 2.319fF 2.295fF

10ps 20ps 30ps

2.50fF

PART 1.2: Circuit path delay estimation :

To get the worst case delay for the above circuit we apply VDD from bit0 to bit4 and apply controlling inputs to bit5 and bit6. By doing so we make all the gates in the circuit act as inverters, and also get the worst case delay for the circuit.

By simulating the above circuit for the input combination 111111 -> 001111 and for i/p slew of 10ps we get the Falling delay = 354.3ps and the Rising delay = 336.4ps

Theoretically calculating we get: Falling delay = rise + fall + rise + fall + rise + fall = 50.33 x 3 + 83.35 X 2 + 80.34 = 398.03ps Rise delay = fall + rise + fall + rise + fall + rise = 50.13 x 3 + 52.36 x 2 + 50.12 = 305.23ps

Percentage error : For Fall case: [(398 - 354.3) / 354.3 ] x 100 = 12.34%

For rise case: [(336.4 - 305.23) / 336.4 ] x 100 = 9.265%

Part 1.3: Delay Estimation for circuit with interconnect capacitances:

Assuming that each interconnect has an additional 10fF capacitance added to it: NAND followed by NOR interface has capacitance: 10f + 3.51f = 13.51fF ; INVERTER followed by NOR interface has capacitance : 10f + 4.969f = 14.969fF ; NOR followed by NAND interface has capacitance : 10f + 2.98f = 12.98fF ; NOR followed by INVERTER interface has capacitance : 10f + 2.50f = 12.50fF ;

Simulation results for this modified circuit gives the following values: Fall delay = 638ps; Rise delay = 610.3ps;

Estimation of node capacitors sing NLDM tables: NODE INPUT SLEW Delay estimated using NLDM Rise delay 79.62ps 66.99pf 84.34ps 82.92ps Fall delay 94.324ps 85.77ps 129ps 128ps

NAND - NOR INVERTER - NOR NOR - NAND NOR - INVERTER

10ps 10ps 10ps 10ps

Theoretically calculating we get: Falling delay = rise + fall + rise + fall + rise + fall = 79.62 x 3 + 129 x 2 + 128 = 624.86ps Rise delay = fall + rise + fall + rise + fall + rise = 94.324 x 3 + 84.34 x 2 + 82.92 = 534.58ps Percentage error : For Fall case: [(638 - 624.86) / 638 ] x 100 = 2.10%

For Rise case: [(610.3 - 534.8) / 610.3 ] x 100 = 12.37%

Part 2: Power measurement and clock gating

2.1 : Power measurement for a 8bit Multiplier:

Power Graph:

Total power consumption = 12.5mW Average power consumption = 361.2uW

Static power graph: Static power consumption = 67.5nW [THIS IS FOR ALL INPUTS = 0] ;
= 150nW [THIS IS FOR ALL INPUTS = 1]

8 bit multiplier with input and output register files:

Power consumption for all the blocks:

A] Power gating is applied:


1. Input register file:

total power consumption = 4mw

average power consumption = 92.48uW

2. Output register file:

total power consumption = 3.5mw

average power consumption = 40.42uW

3. Multiplier stage:

total power consumption = 7.4mw

average power consumption = 473.3uW

4. Load inverters:

total power consumption = 4.8mw

average power consumption = 9.716uW

5. Total power consumption of the circuit:

total power consumption = 9.8mw

average power consumption = 615.9uW

6. Static power consumption:= 20mW [THIS IS FOR ALL INPUTS = 1] ; = 55uW [THIS IS FOR ALL INPUTS = 0]

B]. Power gating is not applied:


1. Input register file:

total power consumption = 3.8mw

average power consumption = 149.6uW

2. Output register file:

total power consumption = 3.7mw

average power consumption = 112.4uW

3. Multiplier stage:

total power consumption = 7.6mw

average power consumption = 749uW

4. Load inverters:

total power consumption = 4.8mw

average power consumption = 30.58uW

5. Total power consumption of the circuit:

total power consumption = 9.8mw

average power consumption = 1.042mW

Extra credit part: clock gating logic: it is a frequency divider logic to get clock for 3 cycles and deactivate it for 3 cycles.

You might also like