MiniProjectReport01&201&20034536789@AB5C@D5@EDF@DGCD@@ACDGINDIANINSTITUTEOFTECHNOLOGYDELHINovember2000SubmittedbyAshishGupta(98131)MananSanghi(98140)UnderSupervisionof:Prof.
M.
BalakrishnanProf.
AnshulKumarHIPQRSTUVWUXUQY`WearepleasedtoacknowledgeProf.
M.
BalakrishnanandProf.
AnshulKumarfortheirinvaluableguidanceduringthecourseofthisprojectwork.
WeextendoursincerethankstoMr.
VishalBhattwhocontinuouslyhelpedusthroughouttheprojectandwithouthisguidance,thisprojectwouldhavebeenanuphilltask.
WearealsogratefultoothermembersoftheASSETteamwhoco-operatedwithusregardingsomeissues.
Wewouldalsoliketothank'SoftwareFarm'(www.
swfm.
com)forwritingtheveryusefulMicaGraphicsFrameworkToolkitforJavaundertheOpenSourcebannerwhichgreatlyhelpedusinwritingthevisualizationpart.
Lastbutnottheleast,Mr.
AshishShahsupervisorofFPGALabalsoco-operatedwithusnicelyforthesmoothdevelopmentofthisproject.
November2000AshishGupta(98131)MananSanghi(98140)abcdefdegACKNOWLEDGEMENTS.
1CONTENTS.
2INTRODUCTION.
3OVERVIEW.
3BACKGROUNDANDMOTIVATION.
3METHODOLOGY.
5TOOLDESCRIPTION.
6USERINTERFACE.
6FEATURES.
6SPECIFICATION.
9CALLINGTHEDESIGNTOOLS.
12ANALYSIS.
14VISUALIZATION18SYNTHESIS.
20MODULARITYOFANALYSISANDVISUALIZATION.
21OVERVIEW.
21ANALYSIS.
21VISUALIZATION21IMPLEMENTATION21FUTUREWORK.
24APPENDIXA26APPENDIXB.
28REFERENCES.
29hipqrstuvqwspOverviewThisreportdiscussestheresultoftheworkdoneindevelopmentof"IntegratedFrameworkforAnalysisandVisualizationforEmbeddedSystems"onJavaPlatform.
ItisapartoftheASSET(AutomatedSynthesiSofEmbeddedsysTems)projectgoinginComputerScienceDepartment,IITDelhiandaimsatthedevelopmentofanapplicationframeworkforprovidingacommonplatformforfacilitatingtheuseofmethodologicalapproachdevelopedbytheASSETteamandintegrationofvarioustoolsdevelopedduringtheexecutionoftheproject.
BackgroundandMotivationEmbeddedSystemscanbefoundinalargevarietyofapplicationstodaylikeimageprocessing,networkingandwirelesscommunication.
Theyessentiallycompriseofaprocessorandsomehardwarebuiltaroundit.
Thesoftwareisusedforachievingfastturnaroundtimeswhilethehardwareisusedtospeedupcriticalportionsofthesystem.
Tillnow,thedesignofEmbeddedSystemswaslargelycarriedoutinanad-hocmanner.
Withdramaticallydecreasingsiliconcosts,itisnowpossibletoimplementverycomplexsystemsonasinglechip.
Withover100milliontransistorsperICexpectedbytheturnofthecentury,theexpectedcomplexityofsuchsystemswillrequirearigorousdesignChapterxymethodologywiththedevelopmentofsupportingdesigntools.
ThisispreciselythefocusofASSETproject.
TheASSETprojectaimsatthedevelopmentofadesignmethodologyforembeddedsystemsforvision/imageprocessingapplications.
Theideaisthatgivenasystemspecification,byfollowingthemethodologyandwiththehelpofthetoolsdevelopedtosupportit,theuserwillbeabletosynthesizeasystemthatmeetshisconstraints.
Atoolwasrequiredtointegrateallthedesigntoolsdiscussedabovealongwiththecapabilitytoperformthesamefunctionsmanually.
AnalysisandVisualizationofthetargetplatformwasalsorequiredtoknowitsperformance.
Thisprojectdealswiththedevelopmentofsuchatoolwhichwillassistintheimplementationoftheabovemethodology.
ObjectiveThefinalgoaloftheprojectwastwofold.
1.
AnIntegratedFrameworkwasrequiredforinteractionwiththevarioustools(likeSoftware/HardwareEstimation,Partitioning,Synthesistoolsetc.
)withtheplatformspecificationbeingdoneintheapplicationitself.
2.
Basedonthefinalplatformconfigurationandbindings,anAnalysisandVisualizationframeworkwasrequiredforgettingperformancemetricsofthesystemandforvisualizationoftheanalysisresultsandthetargetplatform.
Alongwithabovemaingoals,capabilitytodesignthetargetplatformmanuallywasalsodesired.
MethodologyToimplementtheabovegoals,thefollowingmethodologyneedstobefollowed:1.
SpecifyingtheApplicationandvariouscomponentsoftheArchitecture.
2.
Specifyingthebindingsbetweenthetasksandtheresourceseithermanuallyorbythedesigntools.
3.
Specifyingtheportinterconnectionsbetweentheresources.
4.
Analysis:Extractingthedatarequiredforanalysisandthedoingtheanalysis.
5.
SynthesisusingthesynthesistoolsdevelopedbytheASSETteam.
UserInterfaceThetoolisveryuserfriendlyandintuitiveandusesaGUIinterfaceimplementedinJAVAtocommunicatewihtheuser.
Variousfeaturesareself–explanatory.
Formsareeasytofillinandcomponentscanbeadded,removedandupdatedveryeasilythroughasingledialogbox.
Theapplicationincludestool-tiphintstogiveabriefdescriptionoftheparticularinputfield.
Listboxesareusedtodisplayallthecomponentsatoncesothatusercanseeallthecomponentsofaparticulartypeatonce.
Onecanjustselectthecomponentandmodifyandremovethecomponent.
Features1.
Intuitiveinterface2.
Cleanseparationofvariouscomponentstofacilitateeasymodificationandrevision.
3.
AlltheconfigurationdataismaintainedinaseparatefiletofacilitateeasymodificationIfthetoolneedstobeupgradedtoincludemorefeatures,forinstanceifitisdesiredtoincludemoreelaboratespecificationofFPGAsthentheseparationofthedatafilecontainingallthedataoftheChapterspecificationwillprovetobeextremelyuseful.
Alsomaintainingaseparatefileforthepurposehelpsincentralisationofthedataforeasyunderstandingofthesourcecodeandtheimplementationmethodology.
4.
AnalysisComponentiskeptmodulartofacilitatemultipleanalysismodels.
Analysismodelsmayneedupgradationfromtimetotimedependinguponthevaryingnatureofthesystemsthetoolmaybeusedfor.
Tofacilitateeasyupgradationofanalysismodelgreatcarehasbeenundertaken-Allthedatarequiredforanalysisiskeptinaseparatefile.
-Thedataiscollectedbya'datacollator'whichcollectsdatafromthevariousdatasources(applicationspecification,targetplatformspecification,SUIFannotations,useretc.
).
AsthedataisgeneratedbytheothertoolsandstoredintheSUIFannotations,onlythisdatacollatorneedstobechangedwithoutdisturbingtherestoftheanalysis.
-The'analyzer'i.
e.
theactualanalysismodelisclearlyseparatedfromtheotheranalysiscomponents(likethedatacollator,thevisualizeretc.
).
Somoresophisticatedanalysismodelsonlyneedsthemodificationofthe'analyzer'withoutbeingconcernedwiththerestoftheanalysis.
-Visualizationoftheanalysisresultisalsomademodular.
The'visualizer'readstheanalysisresultkeptinaseparatefileandgeneratethedesiredvisualizationsoftheseresults(currentlyitgeneratespiecharts).
5.
QuickandeasysavingandloadingofSystemconfiguration.
SincethespecificationoftheApplicationandtheTargetPlatformcanbeveryintricate,aoptionforsavingthecurrentconfigurationisaverymuchdesired.
Alltheconfigurationdata(includingthebindingandtheinterconnectioninformation)couldbeeasilystoredindifferentfiles.
Soonecanworkonmultipleconfigurationssimultaneously.
Infact,itismadeasconvenientassaving,loadingandeditingatextfilefromastandardtext-editor.
6.
Optionof2Dor3Dpiechartforviewinganalysisresults.
7.
Visualizerfeaturespresetlayoutanddraggablecomponentstoprovideflexibilitytotheuserforchoosingbetweendifferentlayoutsordesigninghisown.
8.
IncludesaninternalTextEditorforeasyviewingandeditingofapplication(Cfiles),Processordescriptionfileetc.
fromwithinthetool.
9.
AlltheDataStructuresforstoringconfigurationdataismaintainedinaseparatefiletofacilitateeasymodification.
SpecificationFirstofallthespecificationofthetargetplatformmustbespecifiedcompletely.
Itconsistsof:1.
ApplicationSpecificationIntheapplicationspecification,theCfileswhichconstitutethetargetapplicationarespecified.
AfterspecifyingtheCfiles,onecan:ViewthesourcewiththeinternaltexteditorGenerateSUIFfilesforthecorrespondingCfileusingthectosuiftool.
GenerateprofilerdataforeachoftheCfileswhichmayberequiredbyestimationandpartitioningtoolsetc.
ADatasetforeachCfilecanbespecifiedwhichisneededbytheprofiler.
d2.
ArchitectureComponentsSpecificationAllthecomponentsinthetargetplatformarespecifiedintheabovedialogbox.
Thevarioustypesofcomponentsare:eProcessoreFPGAeASICeMemoryeCacheeBusSeetheComponentSpecificationtablefortheparametersrequiredforeachcomponent.
ff3.
BindingSpecificationHere,thebindingsbetweenthevarioustasksandresourcesarespecifiedmanually.
Theinterfaceisintuitivetofacilitatemanualbinding.
Thetwolistboxesontheleftdisplaythetasksandresourcesrespectively.
Tobindatask,selectataskandcorrespondingresourcefromthelistboxesandclickBind.
Theboundpairsareshowninthelistboxontheright.
AfterpressingBind,thechannel–portbindingDialogpopsuptospecifythebindingsbetweenthevariouschannelsofthetaskandtheportsoftheresource.
Fromtheabovedialog,provisionisalsotheretodirectlyestimatetheperformanceofthetaskonthechosenresource.
ToolautomaticallycallstheSoftwareorHardwareEstimatordependingonthechosenresource.
Afterspecifyingabinding,onecanre-editthechannel–portbindingsordeletethebinding.
gh4.
InterconnectionSpecificationTheinterconnectionsbetweenthevariousresourcescanbespecifiedhere.
Heretheportnumbersforeachconnectioncanalsobespecified.
TheinterfaceandproceduretoconnecttworesourcesissimilartoBindingdiscussedpreviously.
Whenevertheuserclicksonaresourceinoneoftheresourcelists,informationregardingitstotalandremainingnumberofportsisalsodisplayedatthebottom.
CallingtheDesigntoolsAfterspecifyingthevariouscomponentsonecanalsousethetoolstoautomatethetaskofbindingetc.
Thetoolscurrentlysupportedare:ijNote:Currently,theactualtoolsarenotcalledsincesometoolsarenotready.
HoweverthetoolcallinginterfaceadparamterpassingwastestedwiththehelpofadummytoolwhichwaswrittenVisualC++.
1.
HardwareEstimatorHere,userspecifiesthetasksandtheresourcefortheestimatortool.
OnlyFPGAsandASICsaredisplayedintheresourcelist.
FunctionalUnitlibraryandAllocationFilelibraryalsoneedtobespecifiedbeforecallingtheHWEstimator.
OnecanalsoviewthecurrentlimitationsoftheHWEstimatorbyclickingonthe'ViewLimitations'button.
Onclickingthe'Estimate'button,theHWEstimatortooliscalled.
kl2.
SoftwareEstimatorThisoptionissimilartotheHWEstimatoroptionexceptthatonlyprocessorsaredisplayedintheresourcelist.
3.
PartitionerOnchoosingthisoption,thepartitionertooliscalled.
AnalysisBeforedoingtheAnalysis,thefollowingstepsaretobefollowed.
1.
ExtractDataBeforeproceedingwiththeanalysis,thedataneededbytheAnalyzermustbeextractedfromthevarioussourcesasrequired.
TheexactprocedureofextractingthedataisspecifiedintheFillData()functionintheClassCAnalysis_Data.
Oneonlyneedstomodifythisfunctionandrecompilethisfiletomnchangethedataextractionprocess.
Afterclickingthisoption,ifthedataisextractedsuccessfully,thetoolisreadyforanalysis.
Note:Somedatamayalsocomedirectlyfromtheuser.
Tofacilitatethis,theconceptofUserTemplateFileisintroduced.
SeeAppendixBformoredetails.
2.
AnalysisSetupHereonecanchoosetheoptionofdisplaying2Dor3Dpiechartfortheanalysisresults.
UserTemplateGenerationHere,theusertemplatefileforthedatagivenbytheusermanuallyisspecified.
Onecangenerateablanktemplatebyclickingon'GenerateUserTemplate'button.
Thenthefileischosenbyclicking'Browse'andtherequireddatacanbeenteredbytheuserbyclicking'Edit',whichcallstheinternaltexteditorforeditingthefile.
SeeAppendixBformoredetails.
op3.
AnalyzerAccordingtothecurrentlyimplementedanalysismodel,fourtypesofanalysisisprovided:qMemorySpaceUtilizationqMemoryBandwidthUtilizationqProcessorUtilizationqBusBandwidthUtilizationrstuvwwtxyzxzt{~{ttxyt~xys~}yztz}ystt{v}t~xystwt~v}wtuyttttwtxutttw}~xutystzxzzwy~}v{zw~yuzxttz}~{|uszxtzuuw~xyystxtt}Byclickingthedesiredoption,adialogoptionisdisplayedforchoosingtheresourceforwhichtheanalysisistobedone(seebelow)Toperformanalysisforaparticularresource,clickontheresourceandclick'DrawGraph'todisplaytheanalysisresultsgraphicallywiththehelpofpiecharts.
VisualizationInPlatformVisualization,twotypesofVisualizationschemesaresupported:1.
PlatformVisualizationAsshownabove,allthecomponentsalongwiththeirinterconnectionsaredisplayed.
Thevariouscomponentsarecolourcodedaccordingtotheirtypeforeasyidentification.
TheVisualizeralsosupportsthefollowingoptions:PresetlayoutsareincludedlikeStarLayout,RingLayout,whicharrangethecomponentsaccordingtofixedstyle.
Thecomponentsdisplayedabovearecanbedraggedwiththemousetoprovideflexibilitytotheusertochooseacustomlayout.
2.
BindingVisualizationInthebindingvisualization,thetasksboundtoresourcesarealsoshownalongwiththeplatform.
Thetasksareshownasdarkgreencircles,whichareconnectedtotheappropriateresource.
Tasks,whicharenotcurrentlybound,arealsoshown.
SynthesisThesynthesistoolscurrentlysupportedare:Hardware(VHDL)Software(RC)InterfaceKernelASIPCurrentlytheabovetoolsarenotcalled.
Dummyfunctions(Eventhandlersforaboveoptions)areincludedwhereonejusthastofillinthecodeforcallingtheabovetoolsappropriately.
Themainhighlightoftheanalysisandvisualizationpartisthatitismodularforeasymodificationandupgradationtomoreadvancedanalyticmodels.
OverviewTheAnalysispartconsistsoftwocomponents:1.
DataCollator2.
AnalyzerTheresponsibilityoftheDataCollatoristocollectallthedatarequiredforanalysisfromvarioussourcesandfillthedatainthedatastructuresrequiredbytheanalyzer.
Theanalysispartisnotconcernedwiththesourceofthedataandjustproducestheresults.
TheoutputcomingfromtheAnalyzerisusedbytheVisualizertodisplaytheresultsgraphically.
ImplementationTheDataCollatorandthedatastructuresrequiredbytheanalyzerarepresentintheClassCAnalysis_Data.
ChapterTheFillData()functionpresentintheaboveclassfillsallthedatastructuresfromvarioussources.
TheanalysisisdoneintheClassCAnalysis.
Foreachanalysis,separatefunctionsarepresent.
Eachofthesefunctionscanbechangedindependentlytoimplementadifferentanalysismodel.
ThefunctionsassumethatthedatastructuresrequiredfortheanalysishavealreadybeenfilleduptheDatacollator.
Currentlythefunctionspresentare:publicvoidMemorySpaceUtilization(Stringmemname);publicvoidMemoryBandwidthUtilization(Stringmemname);publicvoidProcessorUtilization(Stringprocessorname);publicvoidBusBandwidthUtilization(Stringbusname);EachofthesefunctionschangestheGlobal.
graphdatadatastructurewhichisusedbytheVisualizertodisplaytheresults.
Figure:GraphicaloverviewofAnalysisandVisualizationAnalysisDataDataCollatorAnalyzerDataSourcesAnalysisOutputVisualizationAnalysisDatainputfromSUIFSUIFinteractionneedstobeimplementedassoonasappropriateSUIFinterfaceisavailable.
ToimplementthisoneneedstochangetheDataCollatorpartsothatthedatarequiredbytheAnalyzercanbepickedupfromSUIFannotations.
MoreSophisticatedAnalysisSincetheAnalysis,partismodular,moresophisticatedanalysismodelscanbeimplemented.
Infact,onecanalsohavemultipleanalysismodelsindifferentfileswhichcanbeusedaccordingtotherequirement.
OptionofcomponentLibraryALibraryfeaturecanbeaddedtotheprogramfromwhichpre-specifiedcomponentscanincludedintheplatformwithoutgivingtheirspecificationsagain.
Codeforthiswillbeminimalasthecodeforsavingandopeningthedatastructuresisalreadyimplemented.
ChapterSavingofVisualizationtoimagefilesOptioncanbeincludedtosavethevisualizationtoagraphicfileformatforpersistentstorage,whichwillbeusefulforpresentationpurposes.
Note:OnWindows9x/NTPlatform,thescreenshotcanbetakenbypressingAlt+PrintScrnwhichcanthenbepastedinaGraphicsapplicationandsavedtoafile.
ConnectionsbetweenthebusandtheresourcescanbemademoreintuitiveintheVisualizerConsistencycheckforensuringproperchannel–portcommunicationscanbemademoreinformative.
Ifinterconnectionsarenotconsistent,thenitcaninformwhereexactlyistheproblem.
SpecificationsofAnalysisDataInputItemFormatFrom(present)From(finally)Comments1.
Application(forall)TasksTasknameStringSpecSpecSpaceoccupiedIntUserProfilerPeriodicityIntUserLoad-storecountIntUserProfilerDynamicinstructioncountIntUserProfilerITC(forall)ITCsTasknameStringSpecSpecDataIntUserModeIntUserBandwidthIntUser2.
Targetplatform(forall)ProcessorsProcessornameStringSpecSpecSpeedIntUserSpecTobeextractedfromprocessordescriptionfileBytes/instructionIntUserDescriptionFile(forall)MemoryMemorynameStringSpecSpecAccesstimeIntSpecSpecBandwidthDoubleSpecSpecSizeintSpecSpec(forall)CacheCachenameStringSpecSpecHitratioDoubleSpecSpecAccesstimeintSpecSpec(forall)FPGAFPGAnameStringSpecSpec(forall)ASICASICnameStringSpecSpec(forall)BusBusnameStringSpecSpecBandwidthIntSpecSpec3.
BindingInformationSpecPartitioner4.
InterconnectionSpecNASpec:Specification(thisdataisobtainedfromApplicationSpecificationandtheTargetPlatformSpecificationfromwithinthetool)User:thisdatacomesfromtheusercurrentlybutwillbeeventuallygeneratedbythedifferenttools*UserTemplateTomakeitconvenientfortheusertofeedinthedatamanuallythetoolgeneratesausertemplatefile.
Thisusertemplatemarksallthefieldsrequiredforanalysisthatneedtobefedinbytheuser.
Soalltheuserhastodoisfillintherequiredslots.
Notethatthetemplatefilewillbedifferentfordifferentapplicationandplatformspecification.
Asampleusertemplatefileisshownbelow.
#DataregardingTasksspaceoccupied=2000periodicity=100loadstorecount=2000dynamicinstructioncount=10000data=100mode=2bandwidth=10spaceoccupied=1000periodicity=200loadstorecount=3000dynamicinstructioncount=20000data=200mode=1bandwidth=20spaceoccupied=3000periodicity=300loadstorecount=2000dynamicinstructioncount=10000data=100mode=2bandwidth=15#DataregardingProcessorsspeed=600Bytes/Instruction=2speed=400Bytes/Instruction=3àá1.
AnalysisandVisualizationofPlatforms,M.
TechThesisReport,CH.
Sheshagiri2.
www.
swfm.
com–MicaGraphicsFramework.
LOCVPS发来了新的洛杉矶CN2线路主机上线通知,基于KVM架构,目前可与香港云地、香港邦联机房XEN架构主机一起适用7折优惠码,优惠后最低美国洛杉矶CN2线路KVM架构2GB内存套餐月付38.5元起。LOCPVS是一家成立较早的国人VPS服务商,目前提供洛杉矶MC、洛杉矶C3、和香港邦联、香港沙田电信、香港大埔、日本东京、日本大阪、新加坡、德国和荷兰等机房VPS主机,基于KVM或者XEN架构。...
diyvm怎么样?diyvm商家VPS主机均2GB内存起步,三个地区机房可选,使用优惠码后每月69元起;DiyVM独立服务器开设在香港沙田电信机房,CN2线路,5M带宽,自动化开通上架,最低499元/月,配置是L5630*2/16G内存/120G SSD硬盘。DiyVM是一家成立于2009年的国人主机商,提供的产品包括VPS主机、独立服务器租用等,产品数据中心包括中国香港、日本大阪和美国洛杉矶等,...
Mineserver(ASN142586|UK CompanyNumber 1351696),已经成立一年半。主营香港日本机房的VPS、物理服务器业务。Telegram群组: @mineserver1 | Discord群组: https://discord.gg/MTB8ww9GEA7折循环优惠:JP30(JPCN2宣布产品可以使用)8折循环优惠:CMI20(仅1024M以上套餐可以使用)9折循...
www.javlibrary.com为你推荐
站酷zcool站酷zcool字体下载后怎么安装到PS中阿丽克丝·布莱肯瑞吉唐吉诃德·多弗朗明哥知道什么秘密原代码什么是原代码psbc.comwap.psbc.com网银激活www.119mm.comwww.kb119.com 这个网站你们能打开不?125xx.comwww.free.com 是官方网站吗?ww.66bobo.com这个www.中国应急救援网.com查询证件是真是假?baqizi.cc和空姐一起的日子电视剧在线观看 和空姐一起的日子全集在线观看555sss.com拜求:http://www.jjj555.com/这个网站是用的什么程序机器蜘蛛有谁知道猎人的机械蜘蛛在哪捉的
手机域名注册 google电话 bandwagonhost 优key 好玩的桌面 windows2003iso 灵动鬼影 智能骨干网 太原联通测速平台 新天域互联 33456 电信主机 服务器是干什么用的 免费网络 域名转入 存储服务器 好看的空间 rewritecond nnt google搜索打不开 更多