The ROM generated by BRAM store data separately, how to use

Status
Not open for further replies.

junxiu6

Newbie level 4
Joined
Jan 9, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
Hello, everyone.

Now I'm using BRAM to generate 4K ROM for mc8051(Xilinx ISE 11.1, spartan3e). The BRAM instance name, position and data stored are shown as following.

Code:
BRAM data, Column 01, Row 06. Design instance "i_mc8051_rom/BU2/U0/blk_mem_generator/valid.cstr/ramloop[0].ram.r/s3_init.ram/dpram.dp4x4.ram".

 00000000:   02 57 08 73 50 19 C5 5A 0A D5 59 9B C2 E2 92 F2 02 53 50 EF 0E 02 59 A0 EF 0E 02 09 F7 AF 06 E1
 00000020:   0A 43 DC D3 04 4C 0F DA 0D C1 00 82 4F 86 5D 71 02 53 A9 90 2D 29 00 00 00 00 00 00 00 00 00 00
 
BRAM data, Column 01, Row 07. Design instance "i_mc8051_rom/BU2/U0/blk_mem_generator/valid.cstr/ramloop[1].ram.r/s3_init.ram/dpram.dp4x4.ram".

 00000000:   00 75 59 84 78 28 87 78 D8 87 7F F8 8D 8D AD AD 01 76 59 17 07 01 73 A9 17 07 01 83 EE A1 70 10
 00000020:   64 E1 FF EC A9 9E 50 0E 0B 00 F8 72 E7 DF 7F 08 00 70 59 93 CF 29 00 00 00 00 00 00 00 00 00 00

But, the original hex data are shown as following.

Code:
@00000000 02 00 57 75 98 50 43 87 80 75 89 21 75 8C 8A 75 8A D0 75 8D F9 75 8B
@00000017 F9 D2 8C D2 8E D2 A9 D2 AF 12 00 63 75 90 55 7F 1E 7E 00 12 00 39 75
@0000002E 90 AA 7F 1E 7E 00 12 00 39 80 E7 EF 1F AA 06 70 01 1E 4A 60 13 E4 FC
@00000045 FD C3 ED 94 A0 EC 94 0F 50 EA 0D BD 00 01 0C 80 F0 22 78 7F E4 F6 D8
@0000005C FD 75 81 07 02 00 03 75 99 5A 30 99 FD C2 99 22

The data are stored in two BRAM separately BUT NOT in the first BRAM. So it’s so confused. How can I use data2mem to regenerate the BIT file after the hex data are modified.

Thank you for your reply!

Junsoo
 

Re: The ROM generated by BRAM store data separately, how to

The reason is ISE area optimization. So don't choose area optimization when generating ROM.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…