© 2010, asset intertech, inc. 1 ieee p1687 obstacle course john potter sr. principal technologist...
TRANSCRIPT
© 2010, ASSET InterTech, Inc.1
IEEE P1687 Obstacle Course
John PotterSr. Principal TechnologistSeptember 15, 2010
© 2010, ASSET InterTech, Inc.2
In this session, you will see ...In this session, you will see ...
• What is IEEE P1687?• ICL and PDL• Example Network• Reset Architecture of an Instrument Network• Case Sensitivity, case SENSITIVITY, CASe …• Tracing : BSDL vs. P1687• Instrument Concurrency• Parameter Resolution• iApply Ambiguity
© 2010, ASSET InterTech, Inc.3
What is IEEE P1687?What is IEEE P1687?
• A proposed IEEE standard for the access of embedded instruments
• Embedded Instruments can be for test, debug, functional configuration, yield monitors, etc…
• Three important parts of the standard• Hardware Architecture• Hardware Architecture Description (ICL)• Vector/Procedure Language (PDL)
© 2010, ASSET InterTech, Inc.4
ICL and PDL?ICL and PDL?
• ICL• Instrument Connectivity Language• Describe a 1687 Network (may include dynamic chains)• Describe Instrument connection to the network• Link Instrument vectors (PDL)
• PDL• Procedure Description Language• Describe behavioral functionality• Create standard set of instrument interface operations
© 2010, ASSET InterTech, Inc.5
P1687 Serial Instrument NetworkP1687 Serial Instrument Network
Gateway_1
Hierarchy Lev-0 Hierarchy Level-1
InstrumentInterfaceGateway
TAP IRWith
GWENInstruction
Daisy-ChainedInstrument InterfacesTMS
TCK
TAP SM
TAP IR
TDI
TDO
JTAG Regs
BSDLDescription
bit[0]
bit[1]
iMBIST_1
iLBIST_0
MB
IST_0
MB
IST_1
LBIS
T_0
iMBIST_0
Sta
tic
Sig
nals
Reg
iste
r B
its
L0_GWR
GWEN
© 2010, ASSET InterTech, Inc.6
Reset Architecture of an Instrument NetworkReset Architecture of an Instrument Network
• Soft Reset – Scan in ResetValue of Update Cells• Hard Reset – Global
• TLR• Efficient and to the point• Entire network affected• Invoked by controlling process
• Hard Reset – Local• Network Instruction Bit (NIB)• Special, self-clearing network bit?• Localized / Isolated / Targeted network reset
• iReset…Aye, Aye, Aye…AARRRGH Matey
© 2010, ASSET InterTech, Inc.7
Case Sensitivity of ICL and PDLCase Sensitivity of ICL and PDL
• BSDL is Case In-sensitive• Verilog (chip design language) can be case sensitive• Potential exists to generate ICL from Verilog• Potential exists to generate Verilog from ICL• ICL AccessLink describes relationship to BSDL
• BSDL Entity Name• Instruction Name
• Attachment to simulation• If ICL is case sensitive, so goes PDL…
• Case sensitivity is more about the content than the keywords
© 2010, ASSET InterTech, Inc.8
Tracing: BSDL vs. ICLTracing: BSDL vs. ICL
• BSDL• One JTAG Instruction = One Test Data Register (TDR)• All Data Register bits are in the scan path• Scan Path has a fixed ScanLength
• ICL• One JTAG Instruction = One or more TDRs• Recommend PRIVATE Instruction• Scan Path has dynamically changing ScanLength• Scan Path depends on inferred connections• Scan Path must be calculated after EACH UpdateDR
• Quiz: Where do bear tracks take you?
© 2010, ASSET InterTech, Inc.9
Bear Tracks Lead to…Bear Tracks Lead to…
© 2010, ASSET InterTech, Inc.10
Instrument ConcurrencyInstrument Concurrency
• Run at the same time• Start at the same time• PDL Lock-Step• So, the instrument finished…
• Keep it in the network?• Take it out of the network?
© 2010, ASSET InterTech, Inc.11
Parameters, Parameters, Parameters…Parameters, Parameters, Parameters…
© 2010, ASSET InterTech, Inc.12
Parameter ResolutionParameter Resolution
• Readability versus Reusability• Readable: Explicit Port and Register sizing• Generic: Parameterized Port and Register sizing
• Multi-Level Parameter Passing leads to obfuscated intent• So goes parameters, so goes flattening the network
to resolve parameter references
• It looked good on paper…
© 2010, ASSET InterTech, Inc.13
iApply AmbiguityiApply Ambiguity
• Writes are sticky – Reads are NOT sticky• Random versus Literal ScanDR content
• Instruction Co-Dependence• Discovering PDL intent matches ICL content
© 2010, ASSET InterTech, Inc.14
iApply Perspective – The StageiApply Perspective – The Stage
TDI -> RegA -> RegB -> TDO
RegA[3:0] = Sig_A, Sig_B, Sig_C, Sig_DRegB[3:0] = Sig_E, Sig_F, Sig_G, Sig_H
© 2010, ASSET InterTech, Inc.15
iApply Perspective – Act 1: The User (Register)iApply Perspective – Act 1: The User (Register)
SDR 8 TDI (35) …; iWrite RegA[3:0] 0b0011;iWrite RegB[3:0] 0b0101;iApply;
© 2010, ASSET InterTech, Inc.16
iApply Perspective – Act 1: The User (Signal)iApply Perspective – Act 1: The User (Signal)
SDR 8 TDI (35) …; iWrite Sig_A 0b0;iWrite Sig_B 0b0;iWrite Sig_C 0b3;iWrite Sig_D 0b3;iWrite Sig_E 0b0;iWrite Sig_F 0b1;iWrite Sig_G 0b0;iWrite Sig_H 0b1;iApply;
© 2010, ASSET InterTech, Inc.17
iApply Perspective – Act 2: WG Member XiApply Perspective – Act 2: WG Member X
SDR 8 TDI (30) …;SDR 8 TDI (35) …;
iWrite RegA[3:0] 0b0011;iWrite RegB[3:0] 0b0101;iApply;
© 2010, ASSET InterTech, Inc.18
iApply Perspective – Act 3: Software EngineeriApply Perspective – Act 3: Software Engineer
SDR 8 TDI (00) …;SDR 8 TDI (00) …;SDR 8 TDI (20) …;SDR 8 TDI (33) …; SDR 8 TDI (30) …;SDR 8 TDI (34) …; SDR 8 TDI (30) …;SDR 8 TDI (35) …;
iWrite Sig_A 0b0;iWrite Sig_B 0b0;iWrite Sig_C 0b3;iWrite Sig_D 0b3;iWrite Sig_E 0b0;iWrite Sig_F 0b1;iWrite Sig_G 0b0;iWrite Sig_H 0b1;iApply;
© 2010, ASSET InterTech, Inc.19
Good things come…Good things come…
• PDL is WAY, WAY, WAY easier to write than SVF!!!• Allowance of Tcl finally gives true programmability via JTAG• Portable and Reusable Instrument “patterns”• Scheduling
© 2010, ASSET InterTech, Inc.20
In Summary …In Summary …
• P1687 heading in a good direction• P1687 needs some polish• P1687 usage projects are fleshing out the complexity