UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
2,704 Views
Registered: ‎04-18-2015

Fail to run an AES encryption and decryption program on the MicroBlzae

Jump to solution

Hi,

 

I am new to the MicroBlaze and SDK. I just managed to get a simple "Hello World" application running on the MicroBlaze on the Nexys 4 DDR FPGA board.

 

Currently, I am trying to run a larger program - AES encryption and decryption. However, without any errors, the result is always incorrect.

 

Since the unencrypted data and key are in the program source code, so I debug the code in real time and found out there are mismatches between the value in the source code and the real value in the memory.

 

Can anyone give me some directions to look into this problem?

 

Best wishes,

Lei

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
3,859 Views
Registered: ‎04-18-2015

Re: Fail to run an AES encryption and decryption program on the MicroBlzae

Jump to solution
The problem was that I used the "print" function is the SDK. It was solved by using the "xil_printf" function.
0 Kudos
1 Reply
Highlighted
Adventurer
Adventurer
3,860 Views
Registered: ‎04-18-2015

Re: Fail to run an AES encryption and decryption program on the MicroBlzae

Jump to solution
The problem was that I used the "print" function is the SDK. It was solved by using the "xil_printf" function.
0 Kudos