电气工程及其自动化专业_外文文献_英文文献_外文翻译_plc方面.
- 格式:pdf
- 大小:357.97 KB
- 文档页数:17
1、 外文原文
A: Fundamentals of Single-chip Microcomputer
Th e si ng le -c hi p m ic ro co mp ut er i s t he c ul mi na ti on of both t h e de ve lo
pm en t of the dig it al com pu te r an d th e in te gr at ed c i rc ui t arg ua bl y t h e tow m
os t s ig ni f ic an t i nv en ti on s o f t he 20th c e nt ur y [1].
Th es e tow type s of arch it ec tu re are foun d in sin g le -ch i p m i cr oc om pu te r.
Som e empl oy the spli t prog ra m/da ta me mo ry of the H a rv ar d ar ch it ect u re , sh
ow n in Fig.3-5A -1, oth ers fo ll ow the p h il os op hy , wi del y ada pt ed for gen er al -p
ur po se com pu te rs and m i cr op ro ce ss o r s, o f ma ki ng no log i ca l di st in ct ion
be tw ee n p r og ra m and dat a me mo ry as in the Pr in ce to n arch ite c tu re , show n i
n Fig.3-5A-2.
In gen er al ter ms a sin gl e -chi p mic ro co mp ut er i s
c h ar ac te ri ze d b y t h e i nc or po ra ti on o f a ll t he un it s of a co mp uter i n to
a sin gl e d ev i ce , as sho wn inFi g3-5A -3. Fig.3-5A-1 A Harvard type
Fig.3-5A-2. A conventional Princeton computer
Fig3-5A-3. Principal features of a microcomputer
Read only memory (ROM.R OM is usua ll y for the pe rm an ent,
n o n-vo la ti le stor a ge of an app lic a ti on s pr og ra m .M an y
m i cr oc om pu te rs and m are inte nd e d for high -v ol um e ap pl ic at ions a n d
he nc e t h e eco n om ic al man uf act u re of th e de vic e s re qu ir es t h at t he cont en t
s o f t he prog ra m me m or y be co mm it t ed perm a ne ntly d u ri ng the man ufa c tu re
of ch ip s .Cl ea rl y, thi s im pl ie s a r i go ro us app ro ach to ROM cod e deve l op me
nt sin ce cha ng es can not b e mad e afte r manu f a c tu re .Th is dev e lo pm en t proc
ess may invo lv e e m ul at io n us in g aso ph is ti ca te d de ve lo pm en t sy ste m wit h a
h a rd wa re emu la tio n cap ab il it y as w el l as the use o f po we rf ul s o ft wa re too ls. So me man uf act u re rs pro vi de add it io na l RO M opt i on s by i n cl ud in g in
their ra n ge dev ic es wit h (or int en de d fo r use wit h u s er pro gr am ma ble me mo ry.
Th e sim p le st of th es e is usu al ly d e vi ce whi ch can op er at e in a micro p ro ce ss
or mod e by usi ng som e o f the inp ut /outp u t li ne s as an ad dr es s an d da ta b us for
a c ce ss in g ex te rna l mem or y. Thi s t y pe of de vi ce can beh av e
f u nc ti on al ly as th e sing le chip mi cr oc om pu te r from whi ch it is d e ri ve d al
be it wit h re st ri ct ed I/O and a mod if ied ex te rn al c i rc ui t. The use of thes e d ev ic
es is com mo n eve n in prod uc ti on c i rc ui ts wher e t he vo lu me does no t j us ti f y t
h e d ev el o pm en t c osts o f c us to m o n -ch i p R OM [2];t he re c a n s ti ll bea s ig
nif i ca nt saving i n I /O and o th er c h ip s com pa re d to a conv en ti on al mi c ro pr oc
es sor b a se d ci rc ui t. Mor e ex ac t re pl ace m en t fo r RO M dev i ce s ca n be o b ta
in ed in th e fo rm of va ri an ts w it h 'p ig gy -b ack '
E P RO M(Er as ab le pro gr am ma bl e ROM s oc ke ts or dev ic e s with EPROM i
n st ea d o f RO M 。 T h es e d ev ic es a re na tu ra ll y mo re ex p en si ve th an e q ui
va le nt ROM dev ic e, but do pro v id e co mp le te cir cu it
e q ui va le nt s. EPRO M bas ed devi ce s ar e also extr em el y att ra ct ive
f o r low -vo lu me app li ca ti on s where they prov id e the adv an ta ges o f a sing
le -c hi p de vi ce , in term s of on-c hi p I/O, etc. ,wi th the c o nv en ie nc e of fle xi bl e
us er prog r am ma bi li ty.
Random access memory (RAM.R AM is for the stor ag e of work ing
v a ri ab le s and dat a use d dur in g pro gr am exe cu ti on. The siz e of t h is mem
or y va rie s wit h de vi ce typ e bu t it has the sam e
c h ar ac te ri st ic wid th (4, 8, 16 bits et c. as the p r oc es so r ,Spe cia l fun ct io n regi st e rs , such as stac k poi nt er or t i me r re gi
st er are oft en log ic all y inc or po ra te d in to the RAM a r ea. It is also com mo n in
Har ard type micr oc om pu t er s to trea t t h e RAM are a as a coll ec ti on of re gi st er ;
it is un ne ce ss ar y to m a ke dis ti nc ti on bet we en RAM and pr oc es so r regi ste r as
is don e i n the case of a mi cr op ro ce ss or sys te m sinc e RAM an d regi st er s a r e no
t us ua ll y ph ys ic al ly sep ara t ed in a mi cr oco m pu te r .
Central processing unit (CPU.T h e CPU is much li ke that
o f any micr op ro ce s so r. Man y app li c at io ns of mic ro c om pu te rs and m i cr
oc on tr ol le rs inv ol ve the hand l in g of bina ry -c o de d deci m al (B CD dat a (for nu
me ri ca l disp lay s , for exa mp le ,he nc e it is c o mm on to fin d t ha t the CPU is w ell
adap te d to han dl i ng thi s type o f data .It is als o comm on to find good faci li ti es fo r
tes ti ng , s e tt in g a nd re se tt i ng in di vi du al bi t s o f m em or y or I/O si nc e m any