Department of Computer Science and Information EngineeringNational Cheng Kung University50HANEL
8051 DATA MEMORY SPACE8031 System with ROM and
RAMAssume that we need an 8031 system with 16KB of program space, 16KB of data ROM starting at 0000, and 16K of NV-RAM starting at 8000H. Show the design using a 74LS138 for the address decoder.Solution:The solution is diagrammed in Figure 14-17. Notice that there is no need for a decoder for program ROM, but we need a 74LS138 decoder For data ROM and RAM. Also notice that G1 = V
, G2A = GND, ccG2B = GND, and the C input of the 74LS138 is also grounded since we Use Y0 – Y3 only.8031 Connection to External Pro
gram ROM
,
Data RAM, and Data ROM