Line 108... |
Line 108... |
a = 0;
|
a = 0;
|
b = 0;
|
b = 0;
|
c = 0;
|
c = 0;
|
d = 0;
|
d = 0;
|
|
|
|
v_monitor.value.integer=0;
|
|
v_monitor_catch.value.integer=0;
|
|
A=B=C=D=E=F=G=H=I=J=L=M=N=0;
|
|
|
|
for(counter_monitor=0;counter_monitor < 16;counter_monitor++)
|
|
{
|
|
INPUT_KEYR[counter_monitor] =0x00;
|
|
OUTPUT_KEYR[counter_monitor]=0x00;
|
|
|
|
INPUT_IVR[counter_monitor] =0x00;
|
|
OUTPUT_IVR[counter_monitor] =0x00;
|
|
|
|
INPUT_TEXT[counter_monitor]=0x00;
|
|
OUTPUT_TEXT[counter_monitor]=0x00;
|
|
}
|
|
|
|
counter_monitor=0;
|
|
cycle_counter =0;
|
|
|
/* WRITE READ
|
/* WRITE READ
|
vector_address[0]= ADDR_AES_CR;
|
vector_address[0]= ADDR_AES_CR;
|
vector_address[1]= ADDR_AES_SR;
|
vector_address[1]= ADDR_AES_SR;
|
vector_address[2]= ADDR_AES_DINR;
|
vector_address[2]= ADDR_AES_DINR;
|
vector_address[3]= ADDR_AES_DOUTR;
|
vector_address[3]= ADDR_AES_DOUTR;
|
Line 125... |
Line 144... |
vector_address[11]=ADDR_AES_IVR0;
|
vector_address[11]=ADDR_AES_IVR0;
|
*/
|
*/
|
|
|
|
|
vector_address[0]= ADDR_AES_CR;
|
vector_address[0]= ADDR_AES_CR;
|
vector_address[1]= ADDR_AES_KEYR0;
|
vector_address[1]= ADDR_AES_KEYR3;
|
vector_address[2]= ADDR_AES_KEYR1;
|
vector_address[2]= ADDR_AES_KEYR2;
|
vector_address[3]= ADDR_AES_KEYR2;
|
vector_address[3]= ADDR_AES_KEYR1;
|
vector_address[4]= ADDR_AES_KEYR3;
|
vector_address[4]= ADDR_AES_KEYR0;
|
vector_address[5]= ADDR_AES_IVR3;
|
vector_address[5]= ADDR_AES_IVR3;
|
vector_address[6]= ADDR_AES_IVR2;
|
vector_address[6]= ADDR_AES_IVR2;
|
vector_address[7]= ADDR_AES_IVR1;
|
vector_address[7]= ADDR_AES_IVR1;
|
vector_address[8]= ADDR_AES_IVR0;
|
vector_address[8]= ADDR_AES_IVR0;
|
vector_address[9]= ADDR_AES_CR;
|
vector_address[9]= ADDR_AES_CR;
|