Open ghost opened 6 years ago
this code has most likely been optimized away. hence, these operations will not show up in the simulations. you can diff the binaries with and w/o this code to see if that's really the case.
On 06/10/2018 02:06 PM, MagicoTicino wrote:
Dear @FrancescoConti https://github.com/FrancescoConti,
I modified the helloworld.c by adding there this code: int a = 2; int b = 3; int c = a + b;
Then I compiled the application, I opened the simulation in ModelSim and I added all the signals of the design to the Wave. In order to understand some behaviors of data and instruction read and write, I was searching for the values of the variables a and b defined in the C code, i.e. some registers with the values 32'h00000002 and 32'h00000003. But I can't find them. What am I doing wrong?
Thank you in advance!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pulp-platform/pulpino/issues/216, or mute the thread https://github.com/notifications/unsubscribe-auth/ARsRnXgBTqwPI941KcGeDKzwb9xuWHPNks5t7QvDgaJpZM4UhsJT.
Dear @FrancescoConti,
I modified the helloworld.c by adding there this code: int a = 2; int b = 3; int c = a + b;
Then I compiled the application, I opened the simulation in ModelSim and I added all the signals of the design to the Wave. In order to understand some behavior of data and instruction read and write, I was searching for the values of the variables a and b defined in the C code, i.e. some registers with the values 32'h00000002 and 32'h00000003. But I can't find them. What am I doing wrong?
Thank you in advance!