HardwareSoftware Interface Design
- 格式:pdf
- 大小:139.96 KB
- 文档页数:21
UNU/IISTInternational Institute forSoftware Technology
UNU/IISTReportNo.244ChenChangandHeJifengOctober2001UNU/IISTandUNU/IISTReportsUNU/IIST(UnitedNationsUniversityInternationalInstituteforSoftwareTechnology)isaResearchandTrainingCentreoftheUnitedNationsUniversity(UNU).ItisbasedinMacau,andwasfoundedin1991.Itstartedoper-ationsinJuly1992.UNU/IISTisjointlyfundedbytheGovernorofMacauandthegovernmentsofthePeople’sRepublicofChinaandPortugalthroughacontributiontotheUNUEndownmentFund.Aswellasprovidingtwo-thirdsoftheendownmentfund,theMacauauthoritiesalsosupplyUNU/IISTwithitsofficepremisesandfurnitureandsubsidisefellowaccommodation.
ThemissionofUNU/IISTistoassistdevelopingcountriesintheapplicationanddevelopmentofsoftwaretech-nology.
UNU/IISTcontributesthroughitsprogrammaticactivities:
1.Advanceddevelopmentprojects,inwhichsoftwaretechniquessupportedbytoolsareapplied,2.Researchprojects,inwhichnewtechniquesforsoftwaredevelopmentareinvestigated,3.Curriculumdevelopmentprojects,inwhichcoursesofsoftwaretechnologyforuniversitiesindevelopingcountriesaredeveloped,
4.Universitydevelopmentprojects,whichcomplementthecurriculumdevelopmentprojectsbyaimingtostrengthenallaspectsofcomputerscienceteachinginuniversitiesindevelopingcountries,
5.Courses,whichtypicallyteachadvancedsoftwaredevelopmenttechniques,6.Events,inwhichconferencesandworkshopsareorganisedorsupportedbyUNU/IIST,and7.Dissemination,inwhichUNU/IISTregularlydistributestodevelopingcountriesinformationoninterna-tionalprogressofsoftwaretechnology.
Fellows,whoareyoungscientistsandengineersfromdevelopingcountries,areinvitedtoactivelyparticipateinalltheseprojects.Bydoingtheprojectstheyaretrained.
Atpresent,thetechnicalfocusofUNU/IISTisonformalmethodsforsoftwaredevelopment.UNU/IISTisaninternationallyrecognisedcenterintheareaofformalmethods.However,nosoftwaretechniqueisuniversallyapplicable.Wearepreparedtochoosecomplementarytechniquesforourprojects,ifnecessary.
UNU/IISTproducesareportseries.ReportsareeitherResearchR,TechnicalT,CompendiaCorAdminis-
trativeA.TheyarerecordsofUNU/IISTactivitiesandresearchanddevelopmentachievements.Manyofthereportsarealsopublishedinconferenceproceedingsandjournals.
PleasewritetoUNU/IISTatP.O.Box3058,MacauorvisitUNU/IISThomepage:http://www.iist.unu.edu,ifyouwouldliketoknowmoreaboutUNU/IISTanditsreportseries.
ZhouChaochen,Director—01.8.1997–31.7.2003UNU/IISTInternational Institute forSoftware Technology
P.O.Box3058Macau
ChenChangandHeJifengAbstractHardware/SoftwareInterfaceplaysanimportantroleinco-designoftheembeddedcomputersystem.Itlinksthesoftwarepartandthehardwarepartofthesystem.Thedesignprocesssupportssoftwareinter-faceimplementationandhardwareinterfacesynthesis.Thisreportshowshowthehardwareandsoftwareinterfacescanbeimplementedbyusingbusextendedtechnologyinembeddedcomputersystem,whichincludestheprimitiveinterface,thesynchronousinterfaceandthedatacommunicationprotocolbetweenthehardwareandthesoftware.ChenChangisaFellowofUNU/IIST,onleaveformtheDepartmentofComputerScienceandTechnol-ogy,EastChinaNormalUniversity,Shanghai,whereheisaseniorengineer.E-mail:chc@iist.unu.edu
HeJifengisaSeniorResearchFellowofUNU/IIST,onleaveofabsencefromEastChinaNormalUni-versity,Shanghai,whereheisaprofessor.Hisresearchinterestliesinthesoundmethodsofspecificationofcomputersystem,communications,applicationandstandards,andthetechniquesfordesigningandimplementingthosespecificationsinsoftwareand/orhardware,withhighreliabilityandatlowcost.E-mail:jifeng@iist.unu.edu
Copyrightc2002byUNU/IIST,ChenChangandHeJifengContentsi
ReportNo.244,October2001UNU/IIST,P.O.Box3058,MacauIntroduction1
ReportNo.244,October2001UNU/IIST,P.O.Box3058,Macau2BusExtendedTechnology
ReportNo.244,October2001UNU/IIST,P.O.Box3058,MacauPrimitiveInterfaceDesign3
’asaninputhardwareinterface,wheretheparameterstandsforinput,foroutputandforcontrol.Adigitaldevice‘-’hasthesamebehaviourasthehardwareinterface
gyx
Figure4:three-stategatewhichperformsasignalassignment
Thegatehasitsinputwiredirectlyconnectedtotheinputsource,whoseselectionisdeterminedbytheaddressvaluesentbythesoftwareinputinterfaceshownbelow.ItsoutputwireandcontrolwirearelinkedtothedataBusandthecontrolBusrespectively.Ifisvalid,isassignedthevalueof,otherwiseisequalto(whichdenoteshighimpedance).
Thesoftwareinterfacereadsthedatafromthehardwareinterface.Itisimplementedasaprocedure