My Profile

Profile Avatar
A Power Domain
*******
*******, ******* *******
*******
******* ******* *******

WhatismeantbyaPowerDomain?APowerDomainisacollectionofdesignelementsthatshareaprimarysupplyset.Whatistheneedofhavinglevelshiftersinadesign?Levelshiftersarerequiredwhenmultiplevoltagedomainsarepresentinadesign.Whenalogicsignalmovesfromonevoltagedomaintoanothervoltagedomain,levelshifterisusedtoconvertthatlogicsignalfromonevoltageleveltoanothervoltagelevelsothatsignallogicvalueisinterpretedproperlyindifferentvoltagedomains.DefinetheconceptofIsolationwithrespecttoPowerDomains.Isolationisatechniqueforcontrollingbehaviorofasignalwhichisdrivenintooroutofapowerdomainthatispowereddown.Itcomprisesofclampingthesignaltoaknownvaluei.e.1,0,orlatchingittoapreviousvaluewhenthepowerdomainispowereddown.Whatismeantbymetastability?Whendoesithappenandwhatareitsconsequences?Thisusuallyhappenswhentherearesetupandholdtimeviolations.Howcanmetastabilitybeavoided?Metastabilitycanbeavoidedbyusingsynchronizersinthedesign.Howdoesabasicsynchronizercircuitlooklike?DrawasampleSynchronizercircuit.Belowisanexampleofabasicsynchronizercircuit.WhatisClockGating?Itisatechniquethatisusedtocontrolpowerdissipatedbytheclocknetwork.Thishelpsinreducingdynamicpowerconsumedbythedesignbyavoidingunnecessaryswitchingactivity.WhatisPowerGatingandwhyisitused?Powergatingshutsoffstaticleakagewhenalogicisnotinuse,therebyreducingpowerconsumption.Clockgatinghelpsinreducingdynamicpowerwhilepowergatinghelpsinreducingstaticpower.Destinationclockdomainmayreceiveincoherentdataifproperdesigntechniquesarenotused.Ifmultiplesignalsarebeingtransferredfromoneclockdomaintoanotherclockdomainsuchthatallthesesignalsarechangingsimultaneously,andthesourceanddestinationactiveclockedgesarriveclosetoeachother,someofthesesignalsmaygetcapturedinoneclockcycleandsomeinanotherclockcycleindestinationclockdomain,therebyleadingtodataincoherency.Mentionfewdesigntechniquesthatcanbeused.Insuchacase,someofthesesignalsmaygetcapturedinoneclockcycleandsomeinanotherclockcycleindestinationclockdomainleadingtodataincoherency.Conceptofsynchronizerisdiscussedinoneoftheanswersabove.Inthistechnique,feedbacksignalissentasanacknowledgementsignalfromdestinationclockdomaintosourceclockdomain.Thisisoneofthesafestdesigntechniquesasitprovidesfullsynchronizationindependentofclockfrequency.Giveanexampleofanissuethatcanoccurwhiletransferringdatafromafasterclockdomaintoaslowerclockdomain.WhataretheadvantagesanddisadvantagesofusinganAsynchronousReset?WhataretheadvantagesanddisadvantagesofusingaSynchronousReset?Ifthecircuithasaninternaltristatebus,separateasynchronousresetwouldberequiredtopreventbusconflictoninternaltristatebus.WhatisaResetRecoveryTime?Whatisafrequencysynthesizer?Giveanexampleoffrequencysynthesizer?Itisusedforperformingphase/frequencymodulationanddemodulation,andcanalsobeusedasfrequencysynthesizer.Itisusedasametricforevaluatingtheprogressofaverificationproject.Coveragemetricformsanimportantpartofmeasuringprogressinconstrainedrandomtestbenchesandalsoprovidesgoodfeedbacktothequalityandeffectivenessofconstrainedrandomtestbenches.Whilecodecoverageisgeneratedautomaticallybysimulators,FunctionalcoverageisuserdefinedandnormallyimplementedusingconstructssupportedbySystemVeriloglanguage.ThissectionhasquestionsrelatedtothecoverageconceptsaswellastheSystemVeriloglanguageconstructsusedforimplementingfunctionalcoveragemodel.Whatisthedifferencebetweencodecoverageandfunctionalcoverage?TherearetwotypesofcoveragemetricscommonlyusedinFunctionalVerificationtomeasurethecompletenessandefficiencyofverificationprocess.Codecoverageisautomaticallyextractedbythesimulatorwhenenabled.Itisalsonotdependentonthedesigncodeasitisimplementedbasedondesignspecification.Whatarethedifferenttypesofcodecoverage?Thisisgenerallyconsideredimportantandistargetedtobe100%coveredforverificationclosure.Inthefollowingexamplecode,youcanseethereare4linesorstatementswhichwillbemeasureinstatement/linecoverage.Blockcoveragemeasureswhetherthesetypesofblockcodesarecoveredduringsimulation.Blockcoveragelookssimilartostatementcoveragewiththedifferencebeingthatblockcoveragelooksforcoverageonagroupofstatements.Togglecoveragemeasureshowwellthesignalsandportsinthedesignaretoggledduringthesimulationrun.Itwillalsohelpinidentifyinganyunusedsignalsthatdoesnotchangevalue.Rememberthatcodecoverageisautomaticallyextractedbysimulatorbasedonatestsuitewhilefunctionalcoverageisauserdefinedmetric.Alowcodecoveragenumbershowsthatnotallportionsofthedesigncodearetestedwell.Ahighfunctionalcoveragenumbershowsthatallthefunctionalitiesascapturedbytheuserfromthetestplanaretestedwell.Eitherthetestplanisnotcapturingallthedesignfeatures/scenarios/cornercasesorimplementationoffunctionalcoveragemonitorsforsameismissing.Thedesigncodenotcoveredincodecoveragecouldbemappingtothisfunctionality.Henceitisimportantintheverificationprojecttohaveproperreviewsoftheuserdefinedfunctionalcoveragemetricsanditsimplementation.WhatarethetwodifferenttypesofconstructsusedforfunctionalcoverageimplementationinSystemVerilog?Acovergroupconstructisusedtomeasurethenumberoftimesaspecifiedvalueorasetofvalueshappensforagivensignaloranexpressionduringsimulation.Acovergroupcanalsobeusefultomeasuresimultaneousoccurrenceofdifferenteventsorvaluesthroughcrosscoverage.Acovergroupcanbedefinedinapackage,module,program,interface,checker,oraclass.

A Bamzeno Production, featuring Greytness