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.
菠萝云国人商家,今天分享一下菠萝云的广州移动机房的套餐,广州移动机房分为NAT套餐和VDS套餐,NAT就是只给端口,共享IP,VDS有自己的独立IP,可做站,商家给的带宽起步为200M,最高给到800M,目前有一个8折的优惠,另外VDS有一个下单立减100元的活动,有需要的朋友可以看看。菠萝云优惠套餐:广州移动NAT套餐,开放100个TCP+UDP固定端口,共享IP,8折优惠码:gzydnat-8...
近日CloudCone发布了最新的补货消息,针对此前新年闪购年付便宜VPS云服务器计划方案进行了少量补货,KVM虚拟架构,美国洛杉矶CN2 GT线路,1Gbps带宽,最低3TB流量,仅需14美元/年,有需要国外便宜美国洛杉矶VPS云服务器的朋友可以尝试一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器...
优惠码年付一次性5折优惠码:TYO-Lite-Open-Beta-1y-50OFF永久8折优惠码:TYO-Lite-Open-Beta-Recur-20OFF日本vpsCPU内存SSD流量带宽价格购买1核1.5G20 GB4 TB1Gbps$10.9/月购买2核2 G40 GB6 TB1Gbps$16.9/月购买2核4 G60 GB8 TB1Gbps$21.9/月购买4核4 G80 GB12 TB...
www.javlibrary.com为你推荐
金评媒朱江汪涵在沈阳7进5朱江和巩贺PK完说了句什么啊?mathplayerjavascript 如何判断document.body.innerHTML是否为空杰景新特美国杰尼.巴尼特的资料百花百游迎得春来非自足,百花千卉共芬芳什么意思www.7788dy.com回家的诱惑 哪个网站更新的最快啊partnersonlinecashfiesta 该怎么使用啊~~baqizi.cc和空姐一起的日子电视剧在线观看 和空姐一起的日子全集在线观看66smsm.com【回家的欲望(回家的诱惑)大结局】 回家的诱惑全集66 67 68 69 70集QOVD快播观看地址??www.k8k8.com谁能给我几个街污网站我去自己学29ff.comhttp://fcm.com在哪里输入这个网址啊
虚拟主机控制面板 免费动态域名解析 便宜建站 外国域名 京东云擎 权嘉云 电子邮件服务器 idc资讯 cdn联盟 me空间社区 万网空间管理 美国盐湖城 服务器防御 winserver2008r2 阿里云宕机故障 qq部落24-5 瓦工招聘 魔兽世界网通服务器 hp存储服务器 qq空间排行榜 更多