portwww.javlibrary.com

www.javlibrary.com  时间:2021-03-20  阅读:()
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.

10gbiz($2.36/月),香港/洛杉矶CN2 GIA线路VPS,香港/日本独立服务器

10gbiz发布了9月优惠方案,针对VPS、独立服务器、站群服务器、高防服务器等均提供了一系列优惠方面,其中香港/洛杉矶CN2 GIA线路VPS主机4折优惠继续,优惠后最低每月仅2.36美元起;日本/香港独立服务器提供特价款首月1.5折27.43美元起;站群/G口服务器首月半价,高防服务器永久8.5折等。这是一家成立于2020年的主机商,提供包括独立服务器租用和VPS主机等产品,数据中心包括美国洛...

RackNerd:特价美国服务器促销,高配低价,美国多机房可选择,双E526**+AMD3700+NVMe

racknerd怎么样?racknerd今天发布了几款美国特价独立服务器的促销,本次商家主推高配置的服务器,各个配置给的都比较高,有Intel和AMD两种,硬盘也有NVMe和SSD等多咱组合可以选择,机房目前有夏洛特、洛杉矶、犹他州可以选择,性价比很高,有需要独服的朋友可以看看。点击进入:racknerd官方网站RackNerd暑假独服促销:CPU:双E5-2680v3 (24核心,48线程)内存...

德阳电信高防物理机 16核16G 50M 260元/月 达州创梦网络

达州创梦网络怎么样,达州创梦网络公司位于四川省达州市,属于四川本地企业,资质齐全,IDC/ISP均有,从创梦网络这边租的服务器均可以备案,属于一手资源,高防机柜、大带宽、高防IP业务,一手整C IP段,四川电信,一手四川托管服务商,成都优化线路,机柜租用、服务器云服务器租用,适合建站做游戏,不须要在套CDN,全国访问快,直连省骨干,大网封UDP,无视UDP攻击,机房集群高达1.2TB,单机可提供1...

www.javlibrary.com为你推荐
广东GDP破10万亿__年,我国国内生产总值(GDP)首破10万亿元.目前,我国经济总量排名世界第___位?百度关键词价格查询百度关键字如何设定竟价价格?罗伦佐娜米开朗琪罗简介钟神发跪求钟神发名言出处,A站大神看过来同一ip网站如何用不同的IP同时登陆一个网站seo优化工具SEO优化工具哪个好用点啊?百度关键词工具如何通过百度官方工具提升关键词排名www.niuav.com在那能找到免费高清电影网站呢 ?se95se.comwww.sea8.com这个网站是用什么做的 需要多少钱www.kaspersky.com.cn现在网上又有病毒了?
过期域名查询 3322动态域名 smartvps 淘宝抢红包攻略 cve-2014-6271 谷歌香港 godaddy续费优惠码 20g硬盘 特价空间 wdcp 外国空间 双11抢红包攻略 php免费空间 网盘申请 浙江独立 促正网秒杀 免费个人空间 爱奇艺vip免费试用7天 上海联通宽带测速 华为云盘 更多