Docsity

Verification of Pipelined Processors using SAT-based Bounded Model Checking, Assignments of Electrical and Electronics Engineering

Partial preview of the text

Download Verification of Pipelined Processors using SAT-based Bounded Model Checking and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Verification of Pipelined

Processors using SAT-based

Bounded Model Checking

Achutam MurarkaPerm # 8730319

University of California, Santa Barbara

Pipelined Processors…

  • Modern Processors are all

pipelined…why?

this leads to increased levels of complexity

Pipelines mean Problems

-^

As the number of stages in the pipeline increase theoverall complexity of the system increase.

-^

Branch predictors need to be designed and speculativeexecutions need to take place.

-^

This speculative data cannot be committed to memoryunless till very late in the pipeline.

-^

Data Dependency: So more temporary memory registersare needed. Called Architectural registers and Physicalregisters.

-^

Various Hazards like Data, Control and StructuralHazards now need to be taken care off.

-^

Net Result: Verification of the processor becomeseven more challenging…!!!!!!!!!

-^

To add to that the ever decreasing Time-to-Market.

DPLL Algorithm

Model Checking…???

-^

In Model Checking the design to be verified ismodeled as a

finite state machine

, and the

specification is formalized by writing its

temporal

logic

properties.

-^

Temporal logic

is used to describe any system of

rules and symbolism for representing, andreasoning about, propositions qualified in termsof time

-^

Used for verification of sequential properties ofdynamic systems.

-^

Dynamic Systems are systems that have a statecomponent which changes over time. E.g.Sequential circuits with delay elements

-^

Model Checking is applicable to finite systems.

Test Program Generation

Methodology

Functional Fault Model

  • The Pipelined Architecture is modeled as

a graph

G = (V, E)

  • V is the node.



Units (Fetch, Decode, etc.) 

Storage (Register File, Memory, etc.)

  • E is the edge.



Pipeline Edge (Solid Line) 

Data Transfer Edge (Dotted Line)

Test Generation

Test Generation using

Decompostion

Property Generation

  • Every node fault is converted into a

property F(Pi) where F is the temporaloperator (eventually) and Pi is (activity ofthe i

th

module).

  • Negate it to represent it as G(~Pi).• F(Decode.stall) which means “

Decode in

stall”

is converted into G(~Decode.stall)

meaning “

Decode never in stall

Determination of the

Bound

  • Maximum Bound is given by{FE -> DE -> IALU -> MEM -> Cache -> MM

-> Cache -> MEM -> WB }

  • Bound for “

FADD1 in operation execution”

will be 3. (pipeline register between thepipeline stages)

Test Program Generated

  • ADD R
  • , R2 R
    • ADD R3 , R2 R2NOPADD R3, R
      • R

Results

Comparison of Test Generation Techniques based on the Number of Interactions