Presentation is loading. Please wait.

Presentation is loading. Please wait.

EE694v-Verification-Lect11-1- Lect : The FP adder test plan As noted earlier – there is a difference in black box and while box testing and verificiation.

Similar presentations


Presentation on theme: "EE694v-Verification-Lect11-1- Lect : The FP adder test plan As noted earlier – there is a difference in black box and while box testing and verificiation."— Presentation transcript:

1 EE694v-Verification-Lect11-1- Lect : The FP adder test plan As noted earlier – there is a difference in black box and while box testing and verificiation. However much of what needs to be tested for is much the same. The FP adder assignment is white box verification. –You are working for the same company as the design team and the detailed code is available. The following slide are some of the analysis of floating point addition that needed to be taken into account in the verification.

2 The input section These tests can use the fact that this is white box verification and check internal values or just check the final output. Basic assumption of the previous point is that the design is correct or near correct. What needs to be checked. First that inputs can be latched from the bus and that the bus can change after the latch closes and the input is not affected. Also, that the input can be latched effectively. EE694v-Verification-Lect11-2-

3 Input section operations By checking the operation of two units the operation of multiple multiplexors, crossbar, and fixed value selection, and control signal generation is verified. Those two units are the exponent difference calculation and the linear shifter. For this, exponent differences that result in no shift of the smaller input, to overshift by several positions is needed. This must be done for the exponent being in about 3 distinct ranges. –A exponent fixed at 48, B exponent at 16 to 80 –A exponent fixed at 120, B exponent from 92 to 152 –A exponent fixed at 210, B exponent from 182 to 242 –Then hold B fixed and vary A –Do for both A + B and A – B EE694v-Verification-Lect11-3-

4 1/8/2007 - L25 Floating Point Adder Copyright 2006 - Joanne DeGroat, ECE, OSU 4 Scan of entire architecture

5 Now check the adder operation The architecture of the adder not specified –Ripple carry –Carry select –Carry multiplexed adder or some variation What needs to be checked –Maximum carry ripple of 1 bit, i.e., essentially an increment. –No ripple, 0101….01 + 1010…..10, 0110 1001 … –Ripple over sections EE694v-Verification-Lect11-5-

6 1/8/2007 - L25 Floating Point Adder Copyright 2006 - Joanne DeGroat, ECE, OSU 6 Scan of entire architecture

7 Now renormalize The hardest section to analyze and verify. Some items that require verification –That renormalization is correct when the leading 1 is in any position of the result. –That the linear shifter in this section works for any required shift (relates to previous) –That all the special cases of renormalization are correct – overflow to infinity, underflow to 0 EE694v-Verification-Lect11-7-

8 1/8/2007 - L25 Floating Point Adder Copyright 2006 - Joanne DeGroat, ECE, OSU 8 Scan of entire architecture

9 The plan content The plan details the previous points along with how the tests will be generated and checked. Also, the number of tests needed to raise the confidence level to acceptable and how it allows the effort to meet the criteria of success. EE694v-Verification-Lect11-9-


Download ppt "EE694v-Verification-Lect11-1- Lect : The FP adder test plan As noted earlier – there is a difference in black box and while box testing and verificiation."

Similar presentations


Ads by Google