Understanding Memory Widths
10-11
Hex Conversion Utility Description
Figure 10–3 demonstrates how the memory width is related to the data width.
Figure 10–3. Data and Memory Widths
–memwidth 16 (default)
–memwidth 8
AABB
AA
BB
1122
Data width = 16 (fixed)
Memory widths (variable)
data width = 16
Source file
.word 0AABBh
.word 01122h
11
22
. . .
. . .
0AABBh
01122h
. . .
Data after
phase I
of hex500
Data after
phase II
of hex500
. . .
10.4.4 ROM Width
ROM width specifies the physical width (in bits) of each ROM device and corre-
sponding output file (usually one byte or eight bits). The ROM width deter-
mines how the hex conversion utility partitions the data into output files. After
the target words are mapped to the memory words, the memory words are bro-
ken into one or more output files. The number of output files is determined by
the following formula, where memory width
w
ROM width:
number of files = memory width
ROM width
For example, for a memory width of 16, you could specify a ROM width of 16
and get a single output file containing 16-bit words. Or you can use a ROM
width value of 8 to get two files, each containing 8 bits of each word.
Summary of Contents for TMS320C54x
Page 38: ......
Page 39: ......
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 44: ......
Page 45: ......
Page 46: ......
Page 47: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 60: ......
Page 61: ......
Page 62: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......
Page 285: ......
Page 286: ......
Page 287: ......
Page 288: ......
Page 289: ......
Page 290: ......
Page 291: ......
Page 292: ......
Page 293: ......
Page 294: ......
Page 295: ......
Page 296: ......
Page 297: ......
Page 298: ......
Page 299: ......
Page 300: ......
Page 301: ......
Page 302: ......