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.
古德云(goodkvm)怎么样?古德云是一家成立于2020年的商家,原名(锤子云),古德云主要出售VPS服务器、独立服务器。古德云主打产品是香港cn2弹性云及美西cn2云服务器,采用的是kvm虚拟化构架,硬盘Raid10。目前,古德云香港沙田cn2机房及美国五星级机房云服务器,2核2G,40G系统盘+50G数据盘,仅35元/月起,性价比较高,可以入手!点击进入:古德云goodkvm官方网站地址古德...
DediPath 商家成立时间也不过三五年,商家提供的云服务器产品有包括KVM和OPENVZ架构的VPS主机。翻看前面的文章有几次提到这个商家其中机房还是比较多的。其实对于OPENVZ架构的VPS主机以前我们是遇到比较多,只不过这几年很多商家都陆续的全部用KVM和XEN架构替代。这次DediPath商家有基于OPENVZ架构提供低价的VPS主机。这次四折的促销活动不包括512MB内存方案。第一、D...
TNAHosting是一家成立于2012年的国外主机商,提供VPS主机及独立服务器租用等业务,其中VPS主机基于OpenVZ和KVM架构,数据中心在美国芝加哥机房。目前,商家在LET推出芝加哥机房大硬盘高配VPS套餐,再次刷新了价格底线,基于OpenVZ架构,12GB内存,500GB大硬盘,支持月付仅5美元起。下面列出这款VPS主机配置信息。CPU:4 cores内存:12GB硬盘:500GB月流...
www.javlibrary.com为你推荐
硬盘工作原理数据存储的原理是什么中老铁路中长铁路的铁路的新中国历史老虎数码1200万相素的数码相机都有哪些款?大概价钱是多少?原代码求数字代码大全?rawtools佳能单反照相机的RAW、5.0M 是什么意思?百花百游迎得春来非自足,百花千卉共芬芳什么意思seo优化工具SEO优化工具哪个好用点啊?百度关键词分析百度竞价关键词分析需要从哪些数据入手?www.bbb551.com100bbb网站怎样上不去了斗城网女追男有多易?喜欢你,可我不知道你喜不喜欢我!!平安夜希望有他陪我过
海外域名 独享100m yardvps webhosting 视频存储服务器 免费名片模板 申请个人网页 本网站服务器在美国 云全民 微信收钱 炎黄盛世 cdn加速原理 免费私人服务器 东莞idc 中国电信测速器 网站加速软件 lamp什么意思 杭州电信宽带优惠 海外加速 nic 更多