FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6196 Discussions

Different data during read and write using In-System Memory Content Editor

Ppavan
Beginner
714 Views

Hi,

I am trying to load data into a RAM using In-System Memory Content Editor.

I am writing and reading the data using tcl scripts.

I have observed one thing here:

1. the data I read back is not the same as the data that I initially wrote.

2. Everytime I tried reading back the data, I observe different data.

For ex: 

 the first time I executed the read back script, this is the data I got :

10 01 02 13 11 15 06 07 08.

the next time I read back the data, this is the data I got:

00 01 02 03 15 05 06 17 08 09

The data that I initially wrote is this:

00 01 02 03 04 05 06 07 08 09
Why does this happen?
Can you please help me in resolving this issue?
Regards,
Pavan P
 
0 Kudos
3 Replies
sstrell
Honored Contributor III
692 Views

Way more info needed here.  What device?  What version of Quartus?  What are your parameter settings for the RAM (or how are you inferring the RAM in code)?  How do you have the hex editor displayed in the ISMCE (View menu)?  When you say you are using Tcl scripts, are these scripts interacting with your design or the ISMCE itself?  Have you tried manually editing values in the ISMCE hex editor to see if that works?

0 Kudos
Ppavan
Beginner
673 Views

Hi,

Sorry for not sharing the information in my initial post.

Please find the information below :

1. device : Stratix 10 MX (1SM21BHU2F53)

2. version : 19.2

3. What are your parameter settings for the RAM : I created a RAM IP. I instantiated that in my top level design.

5. the tcl scripts are interacting with ISMCE. We see same issue even in GUI.

Regards,

Pavan

0 Kudos
SyafieqS
Employee
523 Views

Pavan,


Have you tried manually editing values in the ISMCE hex editor to see if that works?

- Meaning you did try and same output when read the content? 


Can you try to recompile and rerun the script, write new value see if the content still messing? 


0 Kudos
Reply