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.
螢光云官網萤光云成立于2002年,是一家自有IDC的云厂商,主打高防云服务器产品。在国内有福州、北京、上海、台湾、香港CN2节点,还有华盛顿、河内、曼谷等海外节点。萤光云的高防云服务器自带50G防御,适合高防建站、游戏高防等业务。本次萤光云中秋云活动简单无套路,直接在原有价格上砍了一大刀,最低价格16元/月,而且有没有账户限制,新老客户都可以买,就是直接满满的诚意给大家送优惠了!官网首页:www....
hypervmart怎么样?hypervmart是一家国外主机商,成立于2011年,提供虚拟主机、VPS等,vps基于Hyper-V 2012 R2,宣称不超售,支持linux和windows,有荷兰和英国2个数据中心,特色是1Gbps带宽、不限流量。现在配置提高,价格不变,性价比提高了很多。(数据中心不太清楚,按以前的记录,应该是欧洲),支持Paypal付款。点击进入:hypervmart官方网...
棉花云官网棉花云隶属于江西乐网科技有限公司,前身是2014年就运营的2014IDC,专注海外线路已有7年有余,是国内较早从事海外专线的互联网基础服务提供商。公司专注为用户提供低价高性能云计算产品,致力于云计算应用的易用性开发,并引导云计算在国内普及。目前公司研发以及运营云服务基础设施服务平台(IaaS),面向全球客户提供基于云计算的IT解决方案与客户服务(SaaS),拥有丰富的国内BGP、双线高防...
www.javlibrary.com为你推荐
网红名字被抢注想用的微博名被人抢注了 而且是个死号 没发博没粉丝 该怎么办嘉兴商标注册我想注册个商标怎么注册啊?李子柒年入1.6亿宋朝鼎盛时期 政府财政收入有将近1亿贯铜钱,那么GDP是多少呢?同ip网站查询服务器禁PING 是不是就可以解决同IP网站查询问题地陷裂口地陷是由什么原因引起的杰景新特谁给我一个李尔王中的葛罗斯特这个人物的分析?急 ....先谢谢了长尾关键词挖掘工具怎么挖掘长尾关键词,可以批量操作的那种ip在线查询通过对方的IP地址怎么样找到他的详细地址?m.2828dy.com电影虫www.dyctv.com这个电影站能下载电影吗?www.5any.com我想去重庆上大学
免费虚拟主机空间 中国十大域名注册商 hkbn 海外服务器 godaddy支付宝 服务器cpu性能排行 国外免费空间 java空间 浙江独立 seednet 最好的免费空间 泉州移动 鲁诺 环聊 wordpress中文主题 后门 免备案cdn加速 hostease nnt cdn加速技术 更多