3.3.1 9-bit Write Port Width

Consider the following Intel HEX memory file.

Figure 3-7. Memory File Data - Intel HEX Memory File

The binary stream of bits for above memory file data is:

If the memory port width is 9 bits, you must pad 7 zeros to every 9 bits of data from the binary stream to create 16 bits (byte-aligned), as shown in the following figure.
Figure 3-8. Padding Zeros to Create 16 Bits

The following figure shows the equivalent memory file data padded with zeros to achieve a 9-bit write port width.

Figure 3-9. Equivalent Memory File Data Padded with Zeros (9-bit Write Port Width)

When the tool parses the above memory file data (padded with zeros), the tool converts the data to binary and reads it as a stream of bits. If the port width is 9 bits, the tool reads 16 bits (byte-aligned), ignores the upper 7 bits, and stores the lower 9 bits of actual data in RAM, as shown in the following table.

Table 3-1. 16-bit Write Port Width
AddressData
00x1FF
10x108
20x0BB
30x1A4
40x13D
50x061
60x113
70x176
80x055
90x100
A0x004
B0x000