BSCAN1–MultipleScanPortAddressableBufferReferenceDesignFPGA-RD-02105-7.
4December2019BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
2FPGA-RD-02105-7.
4DisclaimersLatticemakesnowarranty,representation,orguaranteeregardingtheaccuracyofinformationcontainedinthisdocumentorthesuitabilityofitsproductsforanyparticularpurpose.
AllinformationhereinisprovidedASISandwithallfaults,andallriskassociatedwithsuchinformationisentirelywithBuyer.
Buyershallnotrelyonanydataandperformancespecificationsorparametersprovidedherein.
ProductssoldbyLatticehavebeensubjecttolimitedtestinganditistheBuyer'sresponsibilitytoindependentlydeterminethesuitabilityofanyproductsandtotestandverifythesame.
NoLatticeproductsshouldbeusedinconjunctionwithmission-orsafety-criticaloranyotherapplicationinwhichthefailureofLattice'sproductcouldcreateasituationwherepersonalinjury,death,severepropertyorenvironmentaldamagemayoccur.
TheinformationprovidedinthisdocumentisproprietarytoLatticeSemiconductor,andLatticereservestherighttomakeanychangestotheinformationinthisdocumentortoanyproductsatanytimewithoutnotice.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
43Contents1.
Introduction.
42.
FunctionalDescription.
53.
SignalDescriptions.
74.
BackplaneInterface.
85.
RegisterSet.
86.
AddressingScheme.
86.
1AddressingwithLevel1Protocol.
86.
1.
1.
DirectAddressing86.
2.
Level2Protocol.
96.
2.
1.
Level2InstructionTypes.
96.
2.
2.
Level2InstructionDescriptions107.
RegisterDescriptions.
107.
1.
InstructionRegister.
107.
2.
BoundaryScanRegister107.
3.
BypassRegister107.
4.
ModeRegister.
117.
5.
DeviceIdentificationRegister117.
6.
Reset.
128.
PortSynchronization139.
Implementation.
14Glossary15TechnicalSupportAssistance16RevisionHistory.
17FiguresFigure1.
1.
BSCAN1BlockDiagram4Figure2.
1.
InternalStateMachines.
5Figure2.
2.
IEEE1149.
1StateMachine5Figure2.
3.
SelectionControllerStateMachine.
6Figure2.
4.
LocalPortConfigurationStateMachine.
6Figure6.
1.
DirectAddressing:DeviceAddressLoadedintoInstructionRegister.
9Figure8.
1.
LocalScanPortSynchronizationonSecondPass13Figure8.
2.
SynchronizationoftheThreeLocalScanPorts(LSP1,LSP2andLSP3)13TablesTable3.
1.
SignalDescriptions.
7Table5.
1.
SignalDescriptions.
8Table6.
1.
DirectAddressMode9Table6.
2.
InstructionSet.
9Table7.
1.
ModeRegisterControlofLSP11Table7.
2.
DetailedDeviceIdentification(Binary)11Table7.
3.
ResetConfigurationforRegisters12Table9.
1.
PerformanceandResourceUtilization14BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
4FPGA-RD-02105-7.
41.
IntroductionBSCAN1isamultipleboundaryscantestaccessport(TAP)addressablebufferfunctionthatcanbeaccessedthroughastandardIEEE1149.
1interface.
WiththreeLocalScanPorts(LSP),theBSCAN1functioncanbestructuredashierarchicalportswiththeabilitytoaddandremovelocalscanchainstoimprovetestthroughput.
TheLSPcanalsobeaccessedindividuallyorincombinationoftwoorthreeportsatatimetostreamlinethetestflowofsimilardevices.
TheLSPsareconfiguredbyaccessingtheModeRegisterfromthemasterTAPinterface.
InadditiontothestandardTAPinterfacesignalsTDI,TMS,TCK,TDOandTRST,theBSCAN1interfacealsoincludessixstaticIDinputsandaTOEinput.
TheModeRegisterisusedtoconfigurethelocalscanports.
Itallowsdaisychainingand/orbypassingofthelocalscanports.
ThestaticIDinputsarecapableofsupportingupto64uniqueaddresses.
TheTOEsignalisusedtoenableordisableallthelocalscanports.
ThemajorfunctionalblocksandgeneralarchitectureofBSCAN1areillustratedinFigure1.
1.
AsdefinedinIEEE1149.
1,theinstructionregisterandvarioustestdataregisterscanbescannedtoexercisethefunctionsofBSCAN1.
The16-statestatemachineTAPController,hereaftercalledtheMasterTAPController,providesthemaincontrolforthedevice.
Figure1.
1.
BSCAN1BlockDiagramTheprimaryfunctionofthePortSelectionControlleristocomparetheaddressshiftedintotheInstructionRegistertothestaticidentificationinputs,allowingthe1149.
1protocoltobeusedwithinamultidropenvironment.
ItthenenablesBSCAN1,asappropriate,forotheroperations.
MultiplexinglogicforselectingdifferentportconfigurationsiscontainedintheLocalScanPort(LSP).
TheBSCAN1instructionregister,moderegisterandtheTAPControllerallprovideinputintotheLocalScanControllerblock.
AllfourTAPboundaryscansignalsarethenfedbytheLocalScanControllerfromtheirrespectiveportstothelocalscanports.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
452.
FunctionalDescriptionInamultidropscansystem,thescantesterhastheabilitytoselectindividualBSCAN1devicesasneededforscanoperations.
ScanchainsareselectedwhenaparticulardeviceaddressissenttoallBSCAN1devices.
Thedevicewiththecorresponding,hardcodedaddressisenabledtoreceiveinstructionsfromthescantester.
Thisselectionisdoneusinga"Level1"protocol(seeGlossary)andsubsequentinstructionsaresenttotheappropriateBSCAN1byusinga"Level2"protocol.
AsisdescribedinFigure2.
1.
,BSCAN1containsan1149.
1TAPControlStateMachine(Figure2.
2.
),aSelectionStateMachine(Figure2.
3.
)andaPortConfigurationStateMachine(identicalforeachlocalport,seeFigure2.
4.
).
Figure2.
1.
InternalStateMachinesFigure2.
2.
IEEE1149.
1StateMachineBSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
6FPGA-RD-02105-7.
4Figure2.
3.
SelectionControllerStateMachineFigure2.
4.
LocalPortConfigurationStateMachineTheSelectionStateMachineisresponsiblefortheaddressingandmultidropcapability.
Italsosupportsfunctionalityforsingleaccessandthechip'sLevel1protocol.
ThePortConfigurationStateMachineallowstheindividualenablinganddisablingoftheLSPsfromtheoverallscanchain.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
47ThePortConfigurationStateMachinecontrolswhichlocalscanportsareincludedin,andwhichportsareisolatedfrom,theoverallscanchain.
Therefore,tothesystemscancontroller,eachBSCAN1representsonlyasinglescanchain.
InternaltoBSCAN1isthelogicthatcontrolswhichorhowmanyoftheLSPsareincludedinthechainpresentedtothesystemscancontroller.
Therearetwostablestatesinwhichalocalportcanbeparked:Parked-TLRandParked-RTI.
Onceachainisparked,itisremovedfromtheactivescanchainindefinitely,oruntil"unparked.
"Unparkingachainmovesitintotheactivechain.
AsisshowninFigure2.
4.
,thestateofeachofthelocalportsisindependentofthestatesofotherlocalportsonBSCAN1.
ItisimportanttounderstandthatsomestatesdependonthecurrentstateoftheTAPControllerStateMachine,whileinothersthestateofBSCAN1'sTAPControlStateMachinecanbeforcedbytransitionsofthePortConfigurationStateMachine.
BSCAN1'sPortConfigurationStateMachineprovidespartoftheLevel2protocolandhasanumberofLevel2instructionsotherthanlocalscanportconfigurationthatprovideaccesstoandcontrolofvariousregisterswithinBSCAN1.
Theinstructionsinclude:BYPASSEXTESTSAMPLE/PRELOADIDCODEMODESELGOTOWAITEachBSCAN1canbeselectedindividually.
Level2protocolcommandsareusedtoparkorunpark.
Afterareset,BSCAN1isreadyforLevel1protocolandLevel2protocolinstructions,inthatorder.
TheTAPcontrollerstatemachineisresettotheTLR(Test-Logic-Reset)state,thePortSelectionStateMachineisintheWait-for-AddressstateandthethreelocalscanportsareintheParked-TLRstate.
3.
SignalDescriptionsTable3.
1.
SignalDescriptionsPinI/ODescriptionTCKITestclockinputfromthebackplane.
ThisisthemasterclocksignalthatcontrolsallscanoperationsofBSCAN1andofthethreelocalscanports.
TMSITestmodeselectinputfromthebackplane.
ControlssequencingthroughtheTAPcontrollerofBSCAN1.
AlsocontrolssequencingoftheTAPsonthethreelocalscanchains.
TDIITestdatainputfromthebackplane.
AllbackplanescandataissuppliedtoBSCAN1throughthisinputpin.
TDOOTestdataoutputtothebackplane.
ThisoutputdrivestestdatafromBSCAN1backtothemastercontroller.
TRSTITestreset.
Anactive-low,asynchronousresetsignal,whichinitializestheBSCAN1logic.
SEL[0:5]IStaticidentificationinput.
TheconfigurationofthesesixpinsisusedtoassignauniqueaddresstoeachBSCAN1onthesystembackplane.
TOEITestoutputenable.
Whenhigh,thelocalscanportsareenabled.
Whenlow,forcesthelocalscanportstotristate.
Thisenablesanalternateresourcetoaccessoneormoreofthethreelocalscanchains.
TCK[1:3]OLocaltestclockoutputs.
Individualoutputtoeachofthethreelocalscanports.
Thesearebufferedver-sionsofTCK.
TMS[1:3]OLocaltestmodeselectoutputs.
Individualoutputtoeachofthethreelocalscanports.
TDI[1:3]ILocaltestdatainputs.
Individualscandatainputfromeachofthethreelocalscanports.
TDO[1:3]OLocaltestdataoutputs.
Individualscandataoutputtoeachofthethreelocalscanports.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
8FPGA-RD-02105-7.
44.
BackplaneInterfaceViaitsbackplaneport,BSCAN1receivesinstructionsfromtheIEEE1149.
1tester.
BSCAN1enterstheWait-for-Addressstatefollowingthetestlogicreset.
DataisshiftedinthroughtheTDIinputandintotheBSCAN1InstructionregisterwhentheTAPcontrollerissequencedtotheShift-IRstate.
NotethatifBSCAN1isnotproperlyaddressedandsuccessfullyselected,nodataisshiftedoutoftheinstructionregister.
Instead,asdataisshiftedintotheinstructionregister,thedatashiftedoutisdiscardedratherthanexitingthroughtheTDOoutput.
Uponupdatingtheinstructionregisterwiththeaddressdata,thescanned-inaddressiscomparedwiththesixleastsignificantbitsoftheIRandthestaticaddresssignalsSEL(0-5)(seeFigure6.
1.
).
Ifnoaddressmatchisdetected,thedeviceentersanunselectedstate.
Whenanaddressismatched,itenterstheselectedstate.
Level2protocolisusedtoissuecommandsandaccessregistersonceaBSCAN1hasbeenselected.
5.
RegisterSetSelectionandconfiguration,scandatamanipulationandscansupportoperationsregisterscanallbegroupedasshowninTable5.
1.
Whenaregisterisselected,dataentersthroughtheMSBandisshiftedoutthroughthescaninputofthenextdeviceinthedaisychain(seeTable7.
1.
).
Table5.
1.
SignalDescriptionsRegisterNameSignalDescriptionInstructionRegisterAddressingandinstructiondecodeIEEEStandard1149.
1requiredregisterBoundaryscanRegisterIEEEStandard1149.
1requiredregisterBypassRegisterIEEEStandard1149.
1requiredregisterDeviceIdentificationRegisterIEEEStandard1149.
1requiredregisterModeRegisterLocalportconfigurationandcontrolbits6.
AddressingSchemeThebasicfunctionofBSCAN1istoallowalargeorcomplexsystemtobedividedintosmallerblocksfortestingpurposes.
AcentraltestcontrollerisnetworkedwithoneormoreBSCAN1devicesandgiventhecapabilitytoaddressindividualBSCAN1devices.
Bothmultidropandhierarchicalconnectivityaresupportedandthetestcontrollercandynamicallyselectanypartofthenetwork.
BSCAN1supportstwolevelsofpartitioning.
ALevel1protocolsupportstheselectionofoneBSCAN1device.
Withineachdevice,aLevel2protocolsupportstheselectionofindividualports.
TheselectedportsoftheindividualdevicearethenpresentedasasinglechainthatcanbeincludedinthefinalnetworkoftheselectedBSCAN1device.
6.
1.
AddressingwithLevel1ProtocolOnemodeofaddressingissupportedbyBSCAN1.
IndividualBSCAN1devicescanbeselectedinthe"single"mode,alsoknownasDirectAddressing.
6.
1.
1.
DirectAddressingBSCAN1enterstheWait-for-Addressstatewhen:(1)ItsTAPControllerenterstheTest-Logic-Resetstate,or(2)ItsinstructionregisterisupdatedwiththeGOTOWAITinstruction,whileeitherselectedorunselected.
WhileintheWait-for-Addressstate,theBSCAN1controllerreceivesdatashiftedinthroughtheinstructionregister.
IntheUpdate-IRstate,bits5through0oftheinstructionregisterarecomparedwiththestaticallyconfiguredaddressbitsSEL(0-5).
(EveryBSCAN1deviceinascannetworkmustbeindividuallysetwithauniqueaddressonitsSEL(0-5)inputs.
)ABSCAN1devicebecomesselected,oractiveinthechain,whenthesixleastsignificantbitsoftheinstructionregistermatchthestaticaddressbitsSEL(0-5)(Figure6.
1.
).
TheselecteddeviceisnowreadytoreceiveLevel2protocol.
Whenactive,theselecteddevice'sidentificationregisterisinsertedaspartoftheactivescanchain.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
49Table6.
1.
DirectAddressModeAddressType/HexAddressBinaryAddressTDOStateDirectAddress00hto3FhXX000000btoXX111111bNormalIEEEStandard1149.
1Note:OnlythesixLSBsoftheaddressarecomparedtotheSEL(0-5)inputs.
ThetwoMSBsare"don'tcares".
Figure6.
1.
DirectAddressing:DeviceAddressLoadedintoInstructionRegisterUnselecteddevices(wherethestaticaddressdidnotmatchthesixLSBsoftheIR)willremainthatwayuntiltheirinstructionregisterisupdatedwiththeGOTOWAITinstructionortheirTAPcontrollerenterstheTest-Logic-Resetstate.
6.
2.
Level2ProtocolLevel2protocolfollowsIEEEstandard1149.
1TAPprotocol.
Afterbeingaddressedandselectedintheactivechain,theBSCAN1deviceisaccessedbyLevel2protocol.
OnceBSCAN1isselected,thelocalscanportsremainparkedinoneoftwoTAPControllerstates(Run-Test/Idle,Test-Logic-Reset).
ThescanchaincomesinthroughtheTDI,throughtheinstructionregisterorIDCODEregister,andoutthroughtheTDO.
LocalscanportscanbeinsertedintothechainusingtheUNPARKinstruction.
Themoderegisterisdiscussedlater.
6.
2.
1.
Level2InstructionTypesLevel2hastwoinstructiontypes(Table6.
2.
):1.
InsertinstructionsbringtheBSCAN1registerintotheactivechain,makingitavailabletobecapturedorupdated.
(SAMPLE/PRELOAD,EXTEST,IDCODE,MODESELandBYPASS).
2.
Configure/controlinstructionsinsertthedeviceidentificationintotheactivescanchain.
(GOTOWAIT,SOFTRESET,PARKRTI,PARKTLR,UNPARKandotherundefinedopcodes).
Table6.
2.
InstructionSetInstructionHexOpcodeBinaryOpcodeDataRegisterEXTEST00h00000000bBoundaryScanRegisterSOFTRESET88h10001000bDeviceIdentificationRegisterMODESEL8Eh10001110bModeRegisterPARKRTI84h10000100bDeviceIdentificationRegisterSAMPLE/PRELOAD81h10000001bBoundaryScanRegisterPARKTLRC5h11000101bDeviceIdentificationRegisterGOTOWAITC3h11000011bDeviceIdentificationRegisterIDCODEAAh10101010bDeviceIdentificationRegisterUNPARKE7h11100111bDeviceIdentificationRegisterBYPASSFFh11111111bBypassRegisterOtherUnidentifiedTBDTBDDeviceIdentificationRegisterNotes:AllinstructionsactonselectedBSCAN1sonly.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
10FPGA-RD-02105-7.
46.
2.
2.
Level2InstructionDescriptionsBypass:WhenBSCAN1isselected,theBYPASSinstructioninsertsthebypassregisterintotheactivechain.
EXTEST:ThisinstructionisthesameastheSAMPLE/PRELOADinstructionsincetherearenoscalableoutputsonthedevice.
EXTESTinsertstheboundaryscanregisterintotheactivechain.
Theboundaryscanregisterisabankofseven"sampleonly"cellsconnectedtotheTOEandSEL(0-5)inputs.
SAMPLE/PRELOAD:Thisinstructioninsertstheboundaryscanregisterintotheactivechain(refertoEXTEST).
IDCODE:IDCODEinsertsthedeviceidentificationregisterintotheactivescanchain.
WhenexitingtheCapture-DRstateandIDCODEisthecurrentactiveinstruction,thedeviceidentification0FC0E01Fhiscaptured.
PARKTLR:ParksallunparkedlocalscanportsintheTest-Logic-ResetTAPcontrollerstateandremovesthemfromtheactivescanchain.
Alogic"1"isforcedontheTMSnoutputwhiletheLSPcontrollerisintheParked-TLRstate(Figure2.
4.
).
PARKRTI:ParksallunparkedLocalScanPortsintheRun-Test/IdleTAPcontrollerstateandremovesthemfromtheactivescanchain.
Alogic"0"isforcedontheTMSnoutputwhiletheLSPcontrollerisintheParked-RTIstate(Figure2.
4.
).
UNPARK:UnparktakestheLocalScanPortNetworkoutofparkandinsertsitintotheactivescanchain.
Themoderegisterdeterminestheconfigurationofthechain,asdescribedlater.
Whilelocalscanports(LSP)areunparked,theyaresynchronouslysequencedwiththeTAPControllerStateMachine.
AnLSPcanonlybeunparkedwhentheTAPcontrollerentersthestateitwasinwhentheLSPbecameparked.
Forexample:iftheLSPwasparkedintheTest-Logic-ResetorRun-Test/Idlestates,itisnotunparkeduntilanUNPARKinstructionisfollowedbytheTAPcontrollerenteringtheRun-Test/Idlestate(Figure2.
4.
).
GOTOWAIT:ParksallunparkedlocalscanportsintheTest-Logic-ResetTAPcontrollerstate.
AllBSCAN1devicesarereturnedtotheWait-For-Addressstate(Figure2.
4.
).
MODESEL:Putsthemoderegisterintheactivescanchain.
SOFTRESET:ParksalllocalportsintheTest-Logic-ResetstatewithinfiveTCKcyclesbycausingallthreeportconfigurationcontrollerstoentertheParked-TLRstate.
TMSnisforcedhigh(Figure2.
4.
).
7.
RegisterDescriptions7.
1.
InstructionRegisterThisisan8-bitserialshiftregisterplacedinserieswiththeactivescanchainwhentheTAPControllerStateMachineofBSCAN1isintheShift-IRstate.
WhenBSCAN1exitstheCapture-IRstate,theinstructionregistercapturesthevalueXXXXXX01bwherethedon'tcaresrepresenttheSEL(0-5)inputs.
WhenitisintheWait-for-Addressstate,BSCAN1'sinstructionregisterisusedforaddressmatching.
ThisisdonebytheindividualchipcomparingahardwiredvalueonBSCAN1'sstaticIDinputstotheaddressintheinstructionregister.
Address00hthrough3Fh(000000bthrough111111b)arereservedforindividualBSCAN1addressing.
7.
2.
BoundaryScanRegisterThisisa7-bitregisterconsistingofcellsfromtheTOEandSEL(0-5)inputs.
Inordertoallowtestingofexternalcircuitry,theBoundaryScanRegistersamplestheinputsitisconnectedtowithoutalteringtheinternallogicofthechip.
TheshiftorderoftheBoundaryScanregisteris:TDI->TOE->SEL5->SEL4->SEL3->SEL2->SEL1->SEL0->LSP->TDO.
7.
3.
BypassRegisterThisone-bitregisterisdefinedbyIEEEStandard1149.
1.
ItsprimarypurposeistopassdatabetweenTDIandthelocalscanport.
Thisregisterprovidesapassthroughpathwhennoneoftheotherregistersarenecessary.
Usingthisregisterprovidestheshortestpathtootherregisterslocatedinthechain.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
4117.
4.
ModeRegisterThisisan8-bitdataregister.
Itsprimaryfunctionistoconfigurethelocalscanportnetwork.
WhenBSCAN1enterstheTest-Logic-ResetState,theregisterisinitializedwith01h.
ThescanchainlayoutwillbeconfiguredasshowninTable7.
1.
whenanUNPARKinstructionexecutes.
WhenallLocalScanPortsareparked,theconfigurationofthescanchainwillbe:TDI->BSCAN1-register->TDO.
ThethirdbitofthemoderegistercanbeusedtodisconnectalltheTCKsignalsfromTCK.
Itsnormalconfigurationhasitsettologic"0"sothatTCKnisfree-runningwhenthelocalscanportsareparked.
Programmingthethirdbitwithalogic"1"forcesthealltheTCKnsignalstostop.
ChangingthevalueofthisModeregisterbitshouldonlybedonewhileallthelocalportsareparked.
Powersensitiveapplicationscanusethisfeaturetoreducethepowerconsumedbythetestcircuitryinpartsofthesystemcurrentlynotundertest.
Bits5,6and7arecurrentlyunused(don'tcare)butarereservedforfutureuse.
Table7.
1.
ModeRegisterControlofLSPModeRegisterScanChainConfiguration(ifUnparked)XXX00000bTDI->Register->TDOXXX00001bTDI->Register->LSP1->PAD->TDOXXX00010bTDI->Register->LSP2->PAD->TDOXXX00011bTDI->Register->LSP1->PAD->LSP2->PAD->TDOXXX00100bTDI->Register->LSP3->PAD->TDOXXX00101bTDI->Register->LSP1->PAD->LSP3->PAD->TDOXXX00110bTDI->Register->LSP2->PAD->LSP3->PAD->TDOXXX00111bTDI->Register->LSP1->PAD->LSP2->PAD->LSP3->PAD->TDOXXX10XXXbTDI->Register->TDO(Loopback)Notes:1.
X=don'tcare2.
Register=BSCAN1instructionregisteroranyoftheBSCAN1testdataregisters3.
PAD=insertionofa1-bitregisterforsynchronization4.
XXX||XXXb|TDI->Register->TDO,TCK1-3disabled.
7.
5.
DeviceIdentificationRegisterThis32-bitregisterisdefinedbyIEEEStandard1149.
1.
WhenanIDCODEinstructionisreceived,thisregisterisloadedwith0FC0E01FhwhenthedeviceexitsCapture-DRstate.
Table7.
2.
DetailedDeviceIdentification(Binary)Bits31-28Bits27-12Bits11-1Bit0VersionPartNumberManufacturerIdentity10000b1111110000001110b00000001111b1bBSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
12FPGA-RD-02105-7.
47.
6.
ResetTherearethreelevelsofreset.
ThetoplevelresetseveryBSCAN1registerandeverylocalscanchainofbothselectedandunselectedBSCAN1devices.
EnteringtheTest-Logic-ResetStateautomaticallyinvokesthisresetlevel.
TherearetwowaystoenterTest-Logic-Reset:1)ItisenteredasynchronouslywhenTRSTispulledlowor2)ItcanbeenteredsynchronouslybypullingTMShighforfiveormoreTCKpulses.
Whenatoplevelresetoccurs,allBSCAN1registersareinitialized,alllocalscanchainsareparkedintheTest-Logic-ResetState,andallBSCAN1areputintotheWait-for-Addressstate.
TheSOFTRESETinstructionisprovidedtoperformaresetofalltheLSPsofaselectedBSCAN1.
SOFTRESETforcesallTMSsignalshigh,placingthecorrespondinglocalTAPcontrollersintheTest-Logic-ResetstatewithinfiveTCKcycles.
Thethirdlevelofresetistheresettingofindividuallocalports.
AnindividualLSPcanberesetbyparkingtheportintheTest-Logic-ResetstateviathePARKTLRinstruction.
ToresetanindividualLSPthatisparkedinPARKTLIstate,theLSPmustfirstbeunparkedviatheUNPARKinstruction.
Table7.
3.
ResetConfigurationforRegistersRegisterBitWidthInitialValueInstruction8AAh(IDCODEInstruction)Mode801hBSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
4138.
PortSynchronizationWhenaLSPisnotbeingaccessed,itisplacedinoneofthetwoTAPcontrollerstates:Test-Logic-ResetorRun-Test/Idle.
BSCAN1isabletoparkalocalchainbycontrollingthelocalTestModeSelectoutputs(TMS1-3)(Figure2.
4.
).
TMSisforcedhighforparkingintheTest-Logic-ResetstateandforcedlowforparkingintheRun-Test/Idlestate.
LocalchainaccessisachievedbyissuingtheUNPARKinstruction.
TheLSPsdonotbecomeunparkeduntiltheBSCAN1TAPControllerissequencedthroughaspecifiedsynchronizationstate.
SynchronizationoccursintheRun-Test/IdlestateforLSPsparkedinTest-Logic-ResetandRun-Test/Idlestates.
Figure8.
1.
andFigure8.
2.
showthewaveformsforsynchronizationofalocalchainthatwasparkedintheTest-Logic-Resetstate.
OncetheUNPARKinstructionisreceivedintheinstructionregister,theLSPControllerforcesTMSnlowonthefallingedgeofTCK.
ThismovesthelocalchainTAPcontrollerstothesynchronizationstate(Run-Test/Idle),wheretheystayuntilsynchronizationoccurs.
IfthenextstateoftheBSCAN1TAPControllerisRun-Test/Idle,TMSnisconnectedtoTMSandthelocalTAPcontrollersaresynchronizedtotheBSCAN1TAPControllerStateMachineasshowninthelastTCKcycleofFigure8.
1.
IfthenextstateafterUpdate-IRwereSelect-DR,TMSnwouldremainlowandsynchronizationwouldnotoccuruntiltheTAPcontrollerenteredtheRun-Test/Idlestate,asshowninTCKcycles2through6ofFigure8.
1.
Figure8.
1.
LocalScanPortSynchronizationonSecondPassFigure8.
2.
SynchronizationoftheThreeLocalScanPorts(LSP1,LSP2andLSP3)BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
14FPGA-RD-02105-7.
4EachlocalporthasitsownLocalPortController.
ThisisnecessarybecausetheLSPcanbeconfiguredinanyoneofeightpossiblecombinations.
Eitherone,some,orallofthelocalportscanbeaccessedsimultaneously.
ConfiguringtheLSPisaccomplishedwiththemoderegister,inconjunctionwiththeUNPARKinstruction.
TheLSPcanbeunparkedinoneofsevendifferentconfigurations,asspecifiedbybits0-2ofthemoderegister.
UsingmultipleportspresentsnotonlythetaskofsynchronizingtheBSCAN1TAPControllerwiththeTAPControllersofanindividuallocalport,butalsoofsynchronizingtheindividuallocalportstooneanother.
Whenmultiplelocalportsareselectedforaccess,itispossiblethattwoportsareparkedindifferentstates.
Thiscouldoccurwhenpreviousoperationsaccessedthetwoportsseparatelyandparkedtheminthetwodifferentstates.
TheLSPControllershandlethissituationgracefully.
9.
ImplementationThisdesignisimplementedinVerilogandVHDL.
Whenusingthisdesigninadifferentdevice,density,speed,orgrade,performanceandutilizationmayvary.
Defaultsettingsareusedduringthefittingofthedesign.
Table9.
1.
PerformanceandResourceUtilizationDeviceFamilyLanguageSpeedGradeUtilizationfMAX(MHz)I/OArchitectureResourcesMachXO21Verilog-5182LUTs>3024N/AVHDL-5182LUTs>3024N/AMachXO2Verilog-3182LUTs>3024N/AVHDL-3182LUTs>3024N/ALatticeXP23Verilog-5182LUTs>3024N/AVHDL-5182LUTs>3024N/AispMACH4000ZE4Verilog-5(ns)101Macrocells>4024N/AVHDL-5(ns)101Macrocells>4024N/AispMACH4000V/B/C/Z5Verilog-2.
7(ns)101Macrocells>7024N/AVHDL-2.
7(ns)101Macrocells>7024N/APlatformManager6Verilog-3182LUTs>3024N/AVHDL-3182LUTs>3024N/ANotes:1.
PerformanceandutilizationcharacteristicsaregeneratedusingLCMXO2-256HC-5TG100CwithLatticeDiamond1.
2software.
2.
PerformanceandutilizationcharacteristicsaregeneratedusingLCMXO256C-3T100CwithDiamond1.
2software.
3.
PerformanceandutilizationcharacteristicsaregeneratedusingLFXP2-5E-5M132CwithLatticeDiamond1.
2software.
4.
PerformanceandutilizationcharacteristicsaregeneratedusingLC4128ZE-5TN100CwithispLEVERClassic1.
4software.
5.
PerformanceandutilizationcharacteristicsaregeneratedusingLC4128V-27T100CwithispLEVERClassic1.
4software.
6.
PerformanceandutilizationcharacteristicsaregeneratedusingLPTM10-1247-3TG128CESwithispLEVER8.
1SP1software.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
415GlossaryLSP:LocalScanPort.
Afoursignalportthatdrivesa"local"(i.
e.
non-backplane)scanchain.
(e.
g.
,TCK1,TMS1,TDO1,TDI1).
Local:LocalisusedtodescribeIEEEStandard1149.
1compliantscanringsandtheBSCAN1TestAccessPortthatdrivesthem.
Theterm"local"wasadoptedfromthesystemtestarchitecturethatBSCAN1ismostcommonlyusedin:asystemtestbackplanewithanBSCAN1oneachcarddrivinguptothree"local"scanringspercard.
EachcardcancontainmultipleBSCAN1s,withthreelocalscanportsperBSCAN1.
Park/Unpark:Park,parked,unparkandunparkedareusedtodescribethestateoftheLSPcontrollerandthestateofthelocalTAPcontrollers(theTAPcontrollersofthescancomponentsthatmakeupalocalscanring).
ParkisalsousedtodescribetheactionofparkinganLSP(transitioningintooneoftheParkedLSPcontrollerstates).
ItisimportanttounderstandthatwhenanLSPcontrollerisinaparkedstate,TMSnisheldconstant,therebyholdingor"parking"thelocalTAPcontrollersinagivenstate.
TAP:TestAccessPortasdefinedbyIEEEStandard1149.
1Selected/Unselected:SelectedandUnselectedreferstothestateofthePortSelectionStateMachine.
AselectedBSCAN1hasbeenproperlyaddressedandisreadytoreceiveLevel2protocol.
UnselectedBSCAN1devicesmonitorthesystemtestbackplane,butdonotacceptLevel2protocol(exceptfortheGOTOWAITinstruction).
ThedataregistersandLSPsofunselectedBSCAN1devicesarenotaccessiblefromthesystemtestmaster.
ActiveScanChain:TheActiveScanChainreferstothescanchainconfigurationasseenbythetestmasteratagivenmoment.
WhenBSCAN1isselectedwithallofitsLSPsparked,theactivescanchainreferstothecurrentscanbridgeregisteronly.
WhenanLSPisunparked,theactivescanchainbecomes:TDI->thecurrentBSCAN1register->thelocalscanringregisters->aPADbit->TDO.
RefertoTable7.
1.
forunparkedconfigurationsoftheLSPnetwork.
Level1Protocol:Level1istheprotocolusedtoaddressBSCAN1.
Level2Protocol:Level2istheprotocolthatisusedonceBSCAN1isselected.
Level2protocolisIEEEStandard1149.
1compliantwhenanindividualBSCAN1isselected.
LSB:LeastSignificantBit,theright-mostpositioninaregister(bit0).
MSB:MostSignificantBit,theleft-mostpositioninaregister.
PAD:Aone-bitregisterthatisplacedattheendofeachlocalscanportscanchain.
ThePADbiteliminatesthepropagationdelaythatwouldbeaddedbytheBSCAN1LSPlogicbetweenTDInandTDO(n+1)orTDObybufferingandsynchronizingtheTDIninputstothefallingedgeofTCK.
Thisallowsdatatobescannedathigherfrequencieswithoutviolatingset-upandholdtimes.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
16FPGA-RD-02105-7.
4TechnicalSupportAssistanceSubmitatechnicalsupportcasethroughwww.
latticesemi.
com/techsupport.
BSCAN1–MultipleScanPortAddressableBufferReferenceDesign2011-2019LatticeSemiconductorCorp.
AllLatticetrademarks,registeredtrademarks,patents,anddisclaimersareaslistedatwww.
latticesemi.
com/legal.
Allotherbrandorproductnamesaretrademarksorregisteredtrademarksoftheirrespectiveholders.
Thespecificationsandinformationhereinaresubjecttochangewithoutnotice.
FPGA-RD-02105-7.
417RevisionHistoryRevision7.
4,December2019SectionChangeSummaryAllChangeddocumentnumberfromRD1001toFPGA-RD-02105.
Updateddocumenttemplate.
DisclaimersAddedthissection.
Revision7.
3,April2011SectionChangeSummaryImplementationAddedsupportforMachXO2devicefamily.
AddedsupportforLatticeDiamond1.
2designsoftware.
Revision7.
2,December2010SectionChangeSummaryImplementationAddedsupportforPlatformManagerdevicefamily.
AddedsupportforLatticeDiamond1.
1andispLEVER8.
1SP1designsoftware.
Revision7.
1,January2010SectionChangeSummaryImplementationAddedsupportforLatticeXP2devicefamily.
AddedVHDLsupportforalldevicefamilies.
Revision7.
0,February2009SectionChangeSummaryAllUpdatedformatting.
Removedlegacypinassignmentsection.
Convertedpindescriptionstotable.
IntroductionCorrectedFigure1.
1.
,BSCAN1BlockDiagram.
ImplementationAddedImplementationresourcetable.
www.
latticesemi.
com
全新PHP短网址系统URL缩短器平台,它使您可以轻松地缩短链接,根据受众群体的位置或平台来定位受众,并为缩短的链接提供分析见解。系统使用了Laravel框架编写,前后台双语言使用,可以设置多域名,还可以开设套餐等诸多功能,值得使用。链接: https://pan.baidu.com/s/1ti6XqJ22tp1ULTJw7kYHog?pwd=sarg 提取码: sarg文件解压密码 www.wn7...
近日快云科技发布了最新的夏季优惠促销活动,主要针对旗下的香港CN2 GIA系列的VPS云服务器产品推送的最新的75折优惠码,国内回程三网CN2 GIA,平均延迟50ms以下,硬件配置方面采用E5 2696v2、E5 2696V4 铂金Platinum等,基于KVM虚拟架构,采用SSD硬盘存储,RAID10阵列保障数据安全,有需要香港免备案CN2服务器的朋友可以关注一下。快云科技怎么样?快云科技好不...
atcloud主要提供常规cloud(VPS)和storage(大硬盘存储)系列VPS,其数据中心分布在美国(俄勒冈、弗吉尼亚)、加拿大、英国、法国、德国、新加坡,所有VPS默认提供480Gbps的超高DDoS防御+不限流量,杜绝DDoS攻击骚扰,比较适合海外建站等相关业务。ATCLOUD.NET是一家成立于2020年的海外主机商,主要提供KVM架构的VPS产品、LXC容器化产品、权威DNS智能解...
苹果5.1.1完美越狱为你推荐
重要产品信息指南支持ipadms17-010win10华为 slatl10是什么型号联通版iphone4s怎样看苹果4S是联通版还是电信版google中国地图强大的谷歌地图,为什么中国不用起来联通合约机iphone5联通合约机iphone5能用移动卡吗ipad无法加入网络ipad无法加入网络但是手机能用杀毒软件免费下载2013排行榜用什么免费杀毒软件最好morphvoxpro怎么用MorphVOX Pro变声器声音怎样调试bitchina现在哪个浏览器最好用?
域名系统 怎么注册域名 php主机租用 免费域名空间申请 欧洲欧洲vps 北京主机 三拼域名 宁波服务器 tna官网 最好的qq空间 如何安装服务器系统 789电视剧 shopex主机 空间登入 winserver2008 ncp是什么 neicun 29美元 瓦工工具 瓦工技术 更多