Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

Impossible to modify the size of an expression in the DS-5 AE Debbuger

Altera_Forum
Honored Contributor II
980 Views

Hello, 

I would like to show in the expression tab a word in memory (4bytes). 

The address of the word is made from a label + an offset. 

When I show it in the expression tab I can only see one byte. (See attached file) 

What can I do to specify the size of the data? 

Thanks for your help. 

Jerome
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
243 Views

The solution is to use this syntaxe : 

*((unsigned int *) memory_address) 

Jerome
0 Kudos
Reply