Docsity

Design Optimization - Digital Systems - Lecture Slides, Slides of Digital Systems Design

Partial preview of the text

Download Design Optimization - Digital Systems - Lecture Slides and more Slides Digital Systems Design in PDF only on Docsity!

PLA/PALs and PLA Design

Optimization

Programmable Logic Arrays (PLAs) and

Programmable Array Logics (PALs)

A functional schematic; the implementation is more streamlined

Programmable (^) Programmable In a PLA

Non-programmable In a PAL

  • PLA/PAL advantages
    • Ease in circuit implementation (don’t have to worry about placing and routing individual gates on a chip)
    • The wiring is well-patterned and regular; thus easy to pre-estimate delay and area costs of the PLAs/PALs on a chip

PLAs (Contd)

Alternative notation (Hor top lines are literal and bottom lines are OR lines; vertical lines are And lines)

PLAs: NOR-NOR Implementation

PLAs (Contd)

Programmable Array Logic (PALs)

QM for PLA/PAL Optimization

  • Hardware cost optimization:
    • PLA hardware cost is the total # of PIs across all functions (the # of variables in a selected PI is of no consequence as the PLA is designed so that each PI can have up to the max # of literals, and using a PI w/ fewer literals does not reduce PI cost). The # of PIs across all functions is = # of AND lines in a PLA, and smaller this #, smaller can be the PLA size (in terms of # of AND lines)
    • Thus PI cost should be 1 (each chosen PI  1 AND line)
    • In multifunction design (only for PLAs not for PALs), PI cost reduces from 1 to 0 after the PI becomes an EPI for one function, since: - There will be no more AND lines reqd for this PI if it is chosen for other functions - Also, each OR array can have the max # of AND terms (# of AND lines = total # of chosen PIs) w/o any additional cost (unlike in a gate based design where each additional PI in a function  an additional input for the 2 nd^ level OR gate)
    • It can thus be chosen for each function for which it is a PI (and for which it covers any MTs in the current state of the PIT) once it becomes an EPI for any function (Rule 6 of multifunction QM not needed for PLA cost minimization, and Rule 7 can be used w/o the sweep-up phase; however these are useful for delay min.)

PLA/PAL Delay

  • PLA Delay = delay of literal line + delay of AND line + delay of OR line = + +
  • Critical path delay in PLA = max (^) all interconn 1,2,3 lines ( + + ) <= max D 1 +max D 2 +max D (^3)

D 1 D 2 D 3 D 1 D 2 D 3

D^1

D 2

D 3

: Charging path : Discharge path

  • Assume charge & discharge times on a line are approx. the same.
  • Chrg/Dischrg time on a line i = R (^) d * (CLi^ +C (^) W) where R (^) d is driver/sink (for chrg/disch, resp) transistor resistance, C (^) L i^ is the total transistor gate cap on i , and CW is the wire cap on i. We ignore drain/source cap as that is much smaller. We also ignore wire res. & cap here.
  • From the PLA circuit opt. point of view, R (^) d and C (^) W are constants. Thus we can minimize delay in this design phase by minimizing the max # of transistor (gate) connections across all lines (which minimizes max (^) i {CLi^ } on each relevant set of lines: literal and AND lines.
  • For the literal line (delay D 1 ) this means min. the max # of PIs a literal belongs to
  • For the AND line (del. D 2 ) this means min. the max # functions they belong to (i.e., the degree of sharing—this is one example of the conflict betw delay and h/w cost.
  • For the OR line (del. D 3 ) there are no trans. gate connections, and dr/src connections are fixed and the same for all lines. Thus there is no design optimization for this line.