problem with the simuator
29 Aug
2002
29 Aug
'02
7:53 p.m.
Hi all, I'm trying to use the developer workbench to simulate the hash unit. My problem is the function hash_64() always returns 0... Could someone please tell me what's wrong in the following code: / long long data_to_hash = 0x1234567899; __declspec(sram_write_reg) long long hash_Input; __declspec(sram_read_reg) long long hash_Output; long long result; while(1) { if(ctx() == 0) { hash_Input = data_to_hash; hash_64((__declspec(sram_write_reg) void *)&hash_Input, (__declspec(sram_read_reg) void *)&hash_Output, 1, sig_done); ctx_wait(fbi); result = hash_Output; } else { ctx_wait(voluntary); } }/ --Damien
8175
Age (days ago)
8175
Last active (days ago)
0 comments
1 participants
participants (1)
-
damien