From 79a1e7f079f5b0bda9c63d7f2604c2c71066c7e4 Mon Sep 17 00:00:00 2001 From: Alwin Berger Date: Mon, 19 May 2025 12:50:30 +0000 Subject: [PATCH] generation: utilization++, stg size--? --- .../CORTEX_M3_MPS2_QEMU_GCC/main_watersgen1.c | 1326 +++++++++++------ 1 file changed, 831 insertions(+), 495 deletions(-) diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/main_watersgen1.c b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/main_watersgen1.c index 56e19b51..89d57fd2 100644 --- a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/main_watersgen1.c +++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/main_watersgen1.c @@ -8,6 +8,7 @@ #include "util_macros.h" #define MAX_INPUT_BYTES 40960 +#define NUM_TASKS 37 #include "fuzzhelper.c" #include "arbitrary_loads.c" #include "polynomic_functions.h" @@ -89,6 +90,26 @@ static void task_25_fn(void *pvParameters); static TaskHandle_t xTask_25_Handle = NULL; static void task_26_fn(void *pvParameters); static TaskHandle_t xTask_26_Handle = NULL; +static void task_27_fn(void *pvParameters); +static TaskHandle_t xTask_27_Handle = NULL; +static void task_28_fn(void *pvParameters); +static TaskHandle_t xTask_28_Handle = NULL; +static void task_29_fn(void *pvParameters); +static TaskHandle_t xTask_29_Handle = NULL; +static void task_30_fn(void *pvParameters); +static TaskHandle_t xTask_30_Handle = NULL; +static void task_31_fn(void *pvParameters); +static TaskHandle_t xTask_31_Handle = NULL; +static void task_32_fn(void *pvParameters); +static TaskHandle_t xTask_32_Handle = NULL; +static void task_33_fn(void *pvParameters); +static TaskHandle_t xTask_33_Handle = NULL; +static void task_34_fn(void *pvParameters); +static TaskHandle_t xTask_34_Handle = NULL; +static void task_35_fn(void *pvParameters); +static TaskHandle_t xTask_35_Handle = NULL; +static void task_36_fn(void *pvParameters); +static TaskHandle_t xTask_36_Handle = NULL; void main_waters(void) { for (int i = 0; i < NUM_TASKS; i++) { @@ -125,13 +146,13 @@ void main_waters(void) { configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 3, &xTask_7_Handle); xTaskCreate(task_8_fn, "T_8", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 3, &xTask_8_Handle); xTaskCreate(task_9_fn, "T_9", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 3, &xTask_9_Handle); xTaskCreate(task_10_fn, "T_10", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 3, &xTask_10_Handle); xTaskCreate(task_11_fn, "T_11", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, @@ -149,25 +170,25 @@ void main_waters(void) { configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, &xTask_15_Handle); xTaskCreate(task_16_fn, "T_16", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 1, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, &xTask_16_Handle); xTaskCreate(task_17_fn, "T_17", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, &xTask_17_Handle); xTaskCreate(task_18_fn, "T_18", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, &xTask_18_Handle); xTaskCreate(task_19_fn, "T_19", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 2, &xTask_19_Handle); xTaskCreate(task_20_fn, "T_20", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 1, &xTask_20_Handle); xTaskCreate(task_21_fn, "T_21", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 1, &xTask_21_Handle); xTaskCreate(task_22_fn, "T_22", - configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 1, &xTask_22_Handle); xTaskCreate(task_23_fn, "T_23", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, @@ -181,6 +202,36 @@ void main_waters(void) { xTaskCreate(task_26_fn, "T_26", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, &xTask_26_Handle); + xTaskCreate(task_27_fn, "T_27", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_27_Handle); + xTaskCreate(task_28_fn, "T_28", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_28_Handle); + xTaskCreate(task_29_fn, "T_29", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_29_Handle); + xTaskCreate(task_30_fn, "T_30", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_30_Handle); + xTaskCreate(task_31_fn, "T_31", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_31_Handle); + xTaskCreate(task_32_fn, "T_32", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_32_Handle); + xTaskCreate(task_33_fn, "T_33", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_33_Handle); + xTaskCreate(task_34_fn, "T_34", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_34_Handle); + xTaskCreate(task_35_fn, "T_35", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_35_Handle); + xTaskCreate(task_36_fn, "T_36", + configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 1 + 0, + &xTask_36_Handle); vTaskStartScheduler(); for( ; ; ) { @@ -221,39 +272,24 @@ static void task_1_fn(void *pvParameters) { while(1) { ulTaskNotifyTakeIndexed(9,pdTRUE,portMAX_DELAY); RNG_RESET - uint32_t input_c27=0; - uint32_t input_c32=0; - uint32_t input_c34=0; - uint32_t input_c42=0; - uint32_t input_c44=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c27,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c32,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c34,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c42,0); - xTaskNotifyWaitIndexed(4,0,ULONG_MAX,&input_c44,0); + uint32_t input_c17=0; + uint32_t input_c30=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c17,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c30,0); - int32_t cond_27 = RNG_FROM(input_c27) % 16>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c42!=(INPUT_CHAR_NEXT % 16 )) && ! (input_c27<=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_32 = input_c32==4; - int32_t cond_34 = input_c34>=(INPUT_CHAR_NEXT % 16 ) && (input_c32>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_42 = input_c42>=(INPUT_CHAR_NEXT % 16 ) && ! (input_c27<=9) || (input_c44>(INPUT_CHAR_NEXT % 16 )) || (input_c34<=12); - int32_t cond_44 = input_c44>=6; + int32_t cond_17 = RNG_FROM(input_c17) % 16>=14 || ! (input_c30<=input_c17); + int32_t cond_30 = input_c30>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c30>13); - chaininp = (uint8_t)(cond_34 | cond_27<<1 | cond_32<<2 | cond_42<<3 | cond_44<<4 | cond_34<<5 | cond_32<<6 | cond_27<<7); + chaininp = (uint8_t)(input_c17 << 4 | input_c30); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_6(tmp); - tmp = TRANSLATE_6(tmp, ((int)180482.0), 1804820); + tmp = FUNCTION_10(tmp); + tmp = TRANSLATE_10(tmp, ((int)180482.0), 1804820); tmp = WC_SWITCH(tmp, 1804820); WASTE_NSEC(tmp); - int output_c13 = (cond_42 | cond_44<<1 | cond_32<<2 || cond_44<<3); - int output_c32 = (cond_27 | cond_34<<1 | cond_42<<2 || cond_32<<3); - int output_c34 = (cond_44 | cond_27<<1 | cond_27<<2 || cond_44<<3); - int output_c44 = (cond_42 | cond_27<<1 | cond_44<<2 || cond_27<<3); - xTaskNotifyIndexed(xTask_7_Handle,0,output_c13,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_6_Handle,1,output_c32,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_7_Handle,2,output_c34,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_6_Handle,4,output_c44,eSetValueWithOverwrite); + int output_c30 = (cond_17 | cond_30<<1 | cond_30<<2 || cond_17<<3); + xTaskNotifyIndexed(xTask_5_Handle,1,output_c30,eSetValueWithOverwrite); trigger_job_done(); // xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -269,39 +305,24 @@ static void task_2_fn(void *pvParameters) { while(1) { ulTaskNotifyTakeIndexed(9,pdTRUE,portMAX_DELAY); RNG_RESET - uint32_t input_c20=0; uint32_t input_c22=0; - uint32_t input_c27=0; - uint32_t input_c34=0; - uint32_t input_c42=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c20,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c22,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c27,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c34,0); - xTaskNotifyWaitIndexed(4,0,ULONG_MAX,&input_c42,0); + uint32_t input_c28=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c22,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c28,0); - int32_t cond_20 = RNG_FROM(input_c20) % 16!=(INPUT_CHAR_NEXT % 16 ); - int32_t cond_22 = input_c22<8 || (input_c34!=10) || ! (input_c20>14); - int32_t cond_27 = input_c27>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c34<(INPUT_CHAR_NEXT % 16 )) || (input_c34==input_c42); - int32_t cond_34 = input_c34==16 && (input_c20>=2); - int32_t cond_42 = input_c42<=4 || (input_c42>input_c20) && (input_c34!=(INPUT_CHAR_NEXT % 16 )) && ! (input_c27>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_22 = input_c22<9; + int32_t cond_28 = RNG_FROM(input_c28) % 16==input_c22; - chaininp = (uint8_t)(cond_27 | cond_34<<1 | cond_42<<2 | cond_22<<3 | cond_20<<4 | cond_22<<5 | cond_42<<6 | cond_42<<7); + chaininp = (uint8_t)(input_c22 << 4 | input_c28); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_2(tmp); - tmp = TRANSLATE_2(tmp, ((int)52546.4), 525464); + tmp = FUNCTION_5(tmp); + tmp = TRANSLATE_5(tmp, ((int)52546.4), 525464); tmp = WC_SWITCH(tmp, 525464); WASTE_NSEC(tmp); - int output_c20 = (cond_27 | cond_20<<1 | cond_22<<2 || cond_20<<3); - int output_c22 = (cond_22 | cond_20<<1 | cond_27<<2 || cond_22<<3); - int output_c27 = (cond_20 | cond_42<<1 | cond_42<<2 || cond_42<<3); - int output_c42 = (cond_34 | cond_22<<1 | cond_20<<2 || cond_42<<3); - xTaskNotifyIndexed(xTask_5_Handle,0,output_c20,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_7_Handle,1,output_c22,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_1_Handle,0,output_c27,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_1_Handle,3,output_c42,eSetValueWithOverwrite); + int output_c28 = (cond_28 | cond_28<<1 | cond_28<<2 || cond_28<<3); + xTaskNotifyIndexed(xTask_7_Handle,1,output_c28,eSetValueWithOverwrite); trigger_job_done(); // xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -322,15 +343,15 @@ static void task_3_fn(void *pvParameters) { chaininp = (INPUT_CHAR_NEXT); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_8(tmp); - tmp = TRANSLATE_8(tmp, ((int)61613.7), 616137); + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)61613.7), 616137); tmp = WC_SWITCH(tmp, 616137); WASTE_NSEC(tmp); - int output_c7 = (INPUT_CHAR_NEXT % 16); - int output_c34 = (INPUT_CHAR_NEXT % 16); - xTaskNotifyIndexed(xTask_4_Handle,1,output_c7,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_1_Handle,2,output_c34,eSetValueWithOverwrite); + int output_c17 = (INPUT_CHAR_NEXT % 16); + int output_c30 = (INPUT_CHAR_NEXT % 16); + xTaskNotifyIndexed(xTask_10_Handle,2,output_c17,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_1_Handle,1,output_c30,eSetValueWithOverwrite); trigger_job_done(); // xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -344,31 +365,26 @@ static void task_4_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c1=0; - uint32_t input_c7=0; - uint32_t input_c27=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c1,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c7,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c27,0); + uint32_t input_c13=0; + uint32_t input_c19=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c13,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c19,0); - int32_t cond_1 = input_c1<=16 || ! (input_c7>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_7 = input_c7=5 || (input_c13!=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_19 = input_c19>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c13!=(INPUT_CHAR_NEXT % 16 )); - chaininp = (uint8_t)(input_c1 << 4 | input_c7); + chaininp = (uint8_t)(input_c13 << 4 | input_c19); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_4(tmp); - tmp = TRANSLATE_4(tmp, ((int)29219.2), 292192); + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)29219.2), 292192); tmp = WC_SWITCH(tmp, 292192); WASTE_NSEC(tmp); - int output_c20 = (cond_1 | cond_27<<1 | cond_7<<2 || cond_7<<3); - int output_c27 = (cond_1 | cond_1<<1 | cond_1<<2 || cond_1<<3); - int output_c50 = (cond_7 | cond_27<<1 | cond_7<<2 || cond_7<<3); - xTaskNotifyIndexed(xTask_2_Handle,0,output_c20,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_2_Handle,2,output_c27,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_6_Handle,5,output_c50,eSetValueWithOverwrite); + int output_c13 = (cond_13 | cond_13<<1 | cond_13<<2 || cond_13<<3); + int output_c41 = (cond_13 | cond_13<<1 | cond_19<<2 || cond_13<<3); + xTaskNotifyIndexed(xTask_9_Handle,0,output_c13,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_9_Handle,3,output_c41,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -382,22 +398,28 @@ static void task_5_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c20=0; - uint32_t input_c50=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c20,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c50,0); + uint32_t input_c2=0; + uint32_t input_c30=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c2,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c30,0); - int32_t cond_20 = RNG_FROM(input_c20) % 16>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c50<=input_c20); - int32_t cond_50 = input_c50!=input_c20 || ! (input_c20>=input_c50); + int32_t cond_2 = input_c2!=(INPUT_CHAR_NEXT % 16 ); + int32_t cond_30 = RNG_FROM(input_c30) % 16<=7; - chaininp = (uint8_t)(input_c20 << 4 | input_c50); + chaininp = (uint8_t)(input_c2 << 4 | input_c30); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_8(tmp); - tmp = TRANSLATE_8(tmp, ((int)79674.9), 796749); + tmp = FUNCTION_1(tmp); + tmp = TRANSLATE_1(tmp, ((int)79674.9), 796749); tmp = WC_SWITCH(tmp, 796749); WASTE_NSEC(tmp); + int output_c1 = (cond_2 | cond_2<<1 | cond_30<<2 || cond_30<<3); + int output_c30 = (cond_2 | cond_30<<1 | cond_2<<2 || cond_30<<3); + int output_c44 = (cond_30 | cond_30<<1 | cond_2<<2 || cond_30<<3); + xTaskNotifyIndexed(xTask_10_Handle,0,output_c1,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_9_Handle,2,output_c30,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_7_Handle,3,output_c44,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -412,43 +434,22 @@ static void task_6_fn(void *pvParameters) { while(1) { RNG_RESET uint32_t input_c13=0; - uint32_t input_c32=0; - uint32_t input_c34=0; - uint32_t input_c42=0; - uint32_t input_c44=0; - uint32_t input_c50=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c13,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c32,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c34,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c42,0); - xTaskNotifyWaitIndexed(4,0,ULONG_MAX,&input_c44,0); - xTaskNotifyWaitIndexed(5,0,ULONG_MAX,&input_c50,0); + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c13,0); - int32_t cond_13 = input_c13=4; - int32_t cond_34 = input_c34==(INPUT_CHAR_NEXT % 16 ) || ! (input_c44>input_c32) && (input_c42<3); - int32_t cond_42 = input_c42<=13 || ! (input_c13==14) && ! (input_c50<(INPUT_CHAR_NEXT % 16 )); - int32_t cond_44 = RNG_FROM(input_c44) % 16!=(INPUT_CHAR_NEXT % 16 ); - int32_t cond_50 = RNG_FROM(input_c50) % 16<=(INPUT_CHAR_NEXT % 16 ) || ! (input_c13>=input_c34); + int32_t cond_13 = input_c13<8; - chaininp = (uint8_t)(cond_34 | cond_32<<1 | cond_44<<2 | cond_42<<3 | cond_13<<4 | cond_50<<5 | cond_13<<6 | cond_34<<7); + chaininp = (uint8_t)(input_c13 << 4 | 0xFF); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_1(tmp); - tmp = TRANSLATE_1(tmp, ((int)10619.7), 106197); + tmp = FUNCTION_5(tmp); + tmp = TRANSLATE_5(tmp, ((int)10619.7), 106197); tmp = WC_SWITCH(tmp, 106197); WASTE_NSEC(tmp); - int output_c27 = (cond_44 | cond_44<<1 | cond_50<<2 || cond_34<<3); - int output_c34 = (cond_13 | cond_32<<1 | cond_13<<2 || cond_50<<3); - int output_c42 = (cond_32 | cond_34<<1 | cond_44<<2 || cond_34<<3); - int output_c44 = (cond_50 | cond_42<<1 | cond_32<<2 || cond_13<<3); - int output_c50 = (cond_34 | cond_50<<1 | cond_13<<2 || cond_13<<3); - xTaskNotifyIndexed(xTask_4_Handle,2,output_c27,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_2_Handle,3,output_c34,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_19_Handle,1,output_c42,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_24_Handle,3,output_c44,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_5_Handle,1,output_c50,eSetValueWithOverwrite); + int output_c2 = (cond_13 | cond_13<<1 | cond_13<<2 || cond_13<<3); + int output_c13 = (cond_13 | cond_13<<1 | cond_13<<2 || cond_13<<3); + xTaskNotifyIndexed(xTask_5_Handle,0,output_c2,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_27_Handle,0,output_c13,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -462,35 +463,34 @@ static void task_7_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c13=0; - uint32_t input_c22=0; - uint32_t input_c34=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c13,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c22,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c34,0); + uint32_t input_c17=0; + uint32_t input_c28=0; + uint32_t input_c30=0; + uint32_t input_c44=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c17,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c28,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c30,0); + xTaskNotifyWaitIndexed(3,ULONG_MAX,ULONG_MAX,&input_c44,0); - int32_t cond_13 = input_c13>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c13<3) && (input_c34>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_22 = input_c22>=9 && (input_c13<=9) && ! (input_c22>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_34 = input_c34<=(INPUT_CHAR_NEXT % 16 ) && (input_c22<=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_17 = input_c17>14; + int32_t cond_28 = input_c28>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c44<1) || (input_c44>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_30 = input_c30>=input_c28 || (input_c17==(INPUT_CHAR_NEXT % 16 )) || (input_c28>=7) || (input_c17<=12); + int32_t cond_44 = input_c44>6 || ! (input_c30>(INPUT_CHAR_NEXT % 16 )); - chaininp = (uint8_t)(input_c13 << 4 | input_c22); + chaininp = (uint8_t)(cond_44 | cond_30<<1 | cond_28<<2 | cond_17<<3 | cond_28<<4 | cond_44<<5 | cond_44<<6 | cond_17<<7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_10(tmp); - tmp = TRANSLATE_10(tmp, ((int)56231.7), 562317); + tmp = FUNCTION_6(tmp); + tmp = TRANSLATE_6(tmp, ((int)56231.7), 562317); tmp = WC_SWITCH(tmp, 562317); WASTE_NSEC(tmp); - int output_c1 = (cond_22 | cond_22<<1 | cond_13<<2 || cond_22<<3); - int output_c13 = (cond_34 | cond_34<<1 | cond_34<<2 || cond_22<<3); - int output_c22 = (cond_13 | cond_13<<1 | cond_13<<2 || cond_22<<3); - int output_c32 = (cond_34 | cond_13<<1 | cond_34<<2 || cond_22<<3); - int output_c34 = (cond_22 | cond_13<<1 | cond_22<<2 || cond_13<<3); - xTaskNotifyIndexed(xTask_4_Handle,0,output_c1,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_6_Handle,0,output_c13,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_21_Handle,0,output_c22,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_1_Handle,1,output_c32,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_6_Handle,2,output_c34,eSetValueWithOverwrite); + int output_c17 = (cond_30 | cond_17<<1 | cond_28<<2 || cond_17<<3); + int output_c23 = (cond_28 | cond_17<<1 | cond_28<<2 || cond_28<<3); + int output_c44 = (cond_17 | cond_44<<1 | cond_44<<2 || cond_44<<3); + xTaskNotifyIndexed(xTask_1_Handle,0,output_c17,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_36_Handle,0,output_c23,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_9_Handle,4,output_c44,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -498,7 +498,7 @@ static void task_7_fn(void *pvParameters) { static void task_8_fn(void *pvParameters) { const int task_id = 8; // TickType_t xLastWakeTime = initial_release_time; - // const TickType_t xFrequency = 20.0 / portTICK_PERIOD_MS; + // const TickType_t xFrequency = 10.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; @@ -506,26 +506,24 @@ static void task_8_fn(void *pvParameters) { while(1) { ulTaskNotifyTakeIndexed(9,pdTRUE,portMAX_DELAY); RNG_RESET - uint32_t input_c15=0; - uint32_t input_c44=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c15,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c44,0); + uint32_t input_c13=0; + uint32_t input_c23=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c13,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c23,0); - int32_t cond_15 = input_c15<0; - int32_t cond_44 = input_c44<=(INPUT_CHAR_NEXT % 16 ) && (input_c44==15); + int32_t cond_13 = input_c13>10; + int32_t cond_23 = input_c23==10 || (input_c13!=(INPUT_CHAR_NEXT % 16 )); - chaininp = (uint8_t)(input_c15 << 4 | input_c44); + chaininp = (uint8_t)(input_c13 << 4 | input_c23); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_10(tmp); - tmp = TRANSLATE_10(tmp, ((int)43715.0), 437150); - tmp = WC_SWITCH(tmp, 437150); + tmp = FUNCTION_2(tmp); + tmp = TRANSLATE_2(tmp, ((int)5771.0), 57710); + tmp = WC_SWITCH(tmp, 57710); WASTE_NSEC(tmp); - int output_c39 = (cond_44 | cond_44<<1 | cond_44<<2 || cond_15<<3); - int output_c41 = (cond_15 | cond_15<<1 | cond_44<<2 || cond_15<<3); - xTaskNotifyIndexed(xTask_11_Handle,3,output_c39,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_10_Handle,1,output_c41,eSetValueWithOverwrite); + int output_c23 = (cond_23 | cond_13<<1 | cond_13<<2 || cond_13<<3); + xTaskNotifyIndexed(xTask_27_Handle,1,output_c23,eSetValueWithOverwrite); trigger_job_done(); // xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -533,39 +531,45 @@ static void task_8_fn(void *pvParameters) { static void task_9_fn(void *pvParameters) { const int task_id = 9; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 20.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 10.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c39=0; + uint32_t input_c13=0; + uint32_t input_c19=0; + uint32_t input_c30=0; uint32_t input_c41=0; - uint32_t input_c47=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c39,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c41,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c47,0); + uint32_t input_c44=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c13,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c19,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c30,0); + xTaskNotifyWaitIndexed(3,ULONG_MAX,ULONG_MAX,&input_c41,0); + xTaskNotifyWaitIndexed(4,ULONG_MAX,ULONG_MAX,&input_c44,0); - int32_t cond_39 = input_c39<=10 && ! (input_c39>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_41 = input_c41input_c39 || (RNG_FROM(input_c39) % 16<(INPUT_CHAR_NEXT % 16 )) || ! (input_c39==11); + int32_t cond_13 = input_c13>input_c44 || (input_c19<=3) || (input_c44<(INPUT_CHAR_NEXT % 16 )) || ! (input_c13!=10); + int32_t cond_19 = input_c19<1 || ! (input_c19>=(INPUT_CHAR_NEXT % 16 )) || (input_c44==(INPUT_CHAR_NEXT % 16 )); + int32_t cond_30 = input_c30<(INPUT_CHAR_NEXT % 16 ) || (input_c41!=7) || ! (input_c44>input_c19) || (input_c41<3); + int32_t cond_41 = input_c41<=13 || ! (input_c13==14) || ! (input_c41>=input_c13); + int32_t cond_44 = RNG_FROM(input_c44) % 16!=(INPUT_CHAR_NEXT % 16 ); - chaininp = (uint8_t)(input_c39 << 4 | input_c41); + chaininp = (uint8_t)(cond_19 | cond_13<<1 | cond_44<<2 | cond_41<<3 | cond_30<<4 | cond_44<<5 | cond_44<<6 | cond_13<<7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_3(tmp); - tmp = TRANSLATE_3(tmp, ((int)37534.5), 375345); - tmp = WC_SWITCH(tmp, 375345); + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)22409.1), 224091); + tmp = WC_SWITCH(tmp, 224091); WASTE_NSEC(tmp); - int output_c5 = (cond_47 | cond_39<<1 | cond_39<<2 || cond_39<<3); - int output_c39 = (cond_47 | cond_47<<1 | cond_41<<2 || cond_41<<3); - int output_c41 = (cond_41 | cond_39<<1 | cond_41<<2 || cond_41<<3); - int output_c47 = (cond_39 | cond_39<<1 | cond_41<<2 || cond_41<<3); - xTaskNotifyIndexed(xTask_12_Handle,0,output_c5,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_15_Handle,4,output_c39,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_15_Handle,5,output_c41,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_12_Handle,2,output_c47,eSetValueWithOverwrite); + int output_c13 = (cond_44 | cond_30<<1 | cond_30<<2 || cond_13<<3); + int output_c19 = (cond_30 | cond_19<<1 | cond_44<<2 || cond_13<<3); + int output_c22 = (cond_41 | cond_44<<1 | cond_19<<2 || cond_30<<3); + int output_c30 = (cond_41 | cond_41<<1 | cond_41<<2 || cond_19<<3); + xTaskNotifyIndexed(xTask_22_Handle,1,output_c13,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_25_Handle,0,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_2_Handle,0,output_c22,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_7_Handle,2,output_c30,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -573,39 +577,37 @@ static void task_9_fn(void *pvParameters) { static void task_10_fn(void *pvParameters) { const int task_id = 10; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 20.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 10.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c15=0; - uint32_t input_c41=0; - uint32_t input_c44=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c15,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c41,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c44,0); + uint32_t input_c1=0; + uint32_t input_c13=0; + uint32_t input_c17=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c1,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c13,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c17,0); - int32_t cond_15 = input_c15==(INPUT_CHAR_NEXT % 16 ) || (input_c15<(INPUT_CHAR_NEXT % 16 )); - int32_t cond_41 = input_c41>10 && (input_c41!=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_44 = input_c44>=4 || (input_c44!=input_c41) && ! (input_c15>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_1 = input_c1>(INPUT_CHAR_NEXT % 16 ) || ! (input_c13>2); + int32_t cond_13 = input_c13>5 || ! (input_c17>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_17 = input_c17<3; - chaininp = (uint8_t)(input_c15 << 4 | input_c41); + chaininp = (uint8_t)(input_c1 << 4 | input_c13); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_8(tmp); - tmp = TRANSLATE_8(tmp, ((int)4132.9), 41329); - tmp = WC_SWITCH(tmp, 41329); + tmp = FUNCTION_10(tmp); + tmp = TRANSLATE_10(tmp, ((int)12126.3), 121263); + tmp = WC_SWITCH(tmp, 121263); WASTE_NSEC(tmp); - int output_c15 = (cond_15 | cond_44<<1 | cond_44<<2 || cond_41<<3); - int output_c33 = (cond_44 | cond_44<<1 | cond_15<<2 || cond_15<<3); - int output_c41 = (cond_15 | cond_41<<1 | cond_41<<2 || cond_44<<3); - int output_c44 = (cond_15 | cond_41<<1 | cond_44<<2 || cond_44<<3); - xTaskNotifyIndexed(xTask_8_Handle,0,output_c15,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_13_Handle,0,output_c33,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_11_Handle,4,output_c41,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_17_Handle,0,output_c44,eSetValueWithOverwrite); + int output_c13 = (cond_17 | cond_17<<1 | cond_17<<2 || cond_17<<3); + int output_c17 = (cond_13 | cond_1<<1 | cond_17<<2 || cond_13<<3); + int output_c28 = (cond_13 | cond_17<<1 | cond_13<<2 || cond_17<<3); + xTaskNotifyIndexed(xTask_28_Handle,1,output_c13,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_7_Handle,0,output_c17,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_2_Handle,1,output_c28,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -619,39 +621,26 @@ static void task_11_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c5=0; - uint32_t input_c12=0; - uint32_t input_c33=0; - uint32_t input_c39=0; - uint32_t input_c41=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c5,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c12,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c33,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c39,0); - xTaskNotifyWaitIndexed(4,0,ULONG_MAX,&input_c41,0); + uint32_t input_c34=0; + uint32_t input_c36=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c34,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c36,0); - int32_t cond_5 = input_c5<(INPUT_CHAR_NEXT % 16 ) || (input_c12<(INPUT_CHAR_NEXT % 16 )) && ! (input_c33==input_c5) && (RNG_FROM(input_c5) % 16!=1); - int32_t cond_12 = input_c12<=8 && ! (input_c12=10; - int32_t cond_39 = input_c39<(INPUT_CHAR_NEXT % 16 ) && (input_c41<=11) || (input_c12==15) && (input_c41<2); - int32_t cond_41 = input_c41>=9 && ! (input_c12<14); + int32_t cond_34 = input_c34>input_c36; + int32_t cond_36 = input_c36>=3 || ! (input_c34==(INPUT_CHAR_NEXT % 16 )); - chaininp = (uint8_t)(cond_12 | cond_39<<1 | cond_33<<2 | cond_41<<3 | cond_5<<4 | cond_12<<5 | cond_41<<6 | cond_5<<7); + chaininp = (uint8_t)(input_c34 << 4 | input_c36); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_10(tmp); - tmp = TRANSLATE_10(tmp, ((int)33574.8), 335748); - tmp = WC_SWITCH(tmp, 335748); + tmp = FUNCTION_3(tmp); + tmp = TRANSLATE_3(tmp, ((int)43715.0), 437150); + tmp = WC_SWITCH(tmp, 437150); WASTE_NSEC(tmp); - int output_c5 = (cond_41 | cond_5<<1 | cond_33<<2 || cond_39<<3); - int output_c11 = (cond_12 | cond_41<<1 | cond_12<<2 || cond_39<<3); - int output_c39 = (cond_12 | cond_41<<1 | cond_12<<2 || cond_12<<3); - int output_c41 = (cond_41 | cond_33<<1 | cond_5<<2 || cond_12<<3); - xTaskNotifyIndexed(xTask_15_Handle,0,output_c5,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_15_Handle,1,output_c11,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_9_Handle,0,output_c39,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_9_Handle,1,output_c41,eSetValueWithOverwrite); + int output_c34 = (cond_34 | cond_34<<1 | cond_36<<2 || cond_36<<3); + int output_c36 = (cond_34 | cond_36<<1 | cond_36<<2 || cond_34<<3); + xTaskNotifyIndexed(xTask_18_Handle,2,output_c34,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_15_Handle,0,output_c36,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -665,31 +654,27 @@ static void task_12_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c5=0; - uint32_t input_c18=0; - uint32_t input_c47=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c5,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c18,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c47,0); + uint32_t input_c7=0; + uint32_t input_c8=0; + uint32_t input_c34=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c7,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c8,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c34,0); - int32_t cond_5 = input_c5>=input_c18 || ! (input_c47<=(INPUT_CHAR_NEXT % 16 )) && (input_c47>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_18 = input_c18==2; - int32_t cond_47 = input_c47>(INPUT_CHAR_NEXT % 16 ) || ! (input_c47>=4); + int32_t cond_7 = input_c7>input_c34 || ! (input_c8>11); + int32_t cond_8 = RNG_FROM(input_c8) % 16<=3 || ! (input_c8>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_34 = input_c34<10; - chaininp = (uint8_t)(input_c5 << 4 | input_c18); + chaininp = (uint8_t)(input_c7 << 4 | input_c8); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_5(tmp); - tmp = TRANSLATE_5(tmp, ((int)118933.0), 1189330); - tmp = WC_SWITCH(tmp, 1189330); + tmp = FUNCTION_6(tmp); + tmp = TRANSLATE_6(tmp, ((int)37534.5), 375345); + tmp = WC_SWITCH(tmp, 375345); WASTE_NSEC(tmp); - int output_c5 = (cond_5 | cond_18<<1 | cond_18<<2 || cond_5<<3); - int output_c18 = (cond_47 | cond_5<<1 | cond_5<<2 || cond_47<<3); - int output_c47 = (cond_47 | cond_47<<1 | cond_18<<2 || cond_18<<3); - xTaskNotifyIndexed(xTask_11_Handle,0,output_c5,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_15_Handle,3,output_c18,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_24_Handle,4,output_c47,eSetValueWithOverwrite); + int output_c34 = (cond_7 | cond_34<<1 | cond_8<<2 || cond_7<<3); + xTaskNotifyIndexed(xTask_11_Handle,0,output_c34,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -703,28 +688,29 @@ static void task_13_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c33=0; - uint32_t input_c44=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c33,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c44,0); + uint32_t input_c6=0; + uint32_t input_c7=0; + uint32_t input_c24=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c6,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c7,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c24,0); - int32_t cond_33 = input_c33!=6; - int32_t cond_44 = RNG_FROM(input_c44) % 16>(INPUT_CHAR_NEXT % 16 ) && ! (input_c44<=4); + int32_t cond_6 = input_c6==12 || (input_c6<=(INPUT_CHAR_NEXT % 16 )) || (input_c7<=10); + int32_t cond_7 = input_c7<5; + int32_t cond_24 = RNG_FROM(input_c24) % 16!=input_c6; - chaininp = (uint8_t)(input_c33 << 4 | input_c44); + chaininp = (uint8_t)(input_c6 << 4 | input_c7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_7(tmp); - tmp = TRANSLATE_7(tmp, ((int)85798.0), 857980); - tmp = WC_SWITCH(tmp, 857980); + tmp = FUNCTION_2(tmp); + tmp = TRANSLATE_2(tmp, ((int)4132.9), 41329); + tmp = WC_SWITCH(tmp, 41329); WASTE_NSEC(tmp); - int output_c12 = (cond_44 | cond_33<<1 | cond_33<<2 || cond_44<<3); - int output_c33 = (cond_44 | cond_33<<1 | cond_44<<2 || cond_44<<3); - int output_c44 = (cond_44 | cond_44<<1 | cond_44<<2 || cond_44<<3); - xTaskNotifyIndexed(xTask_15_Handle,2,output_c12,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_11_Handle,2,output_c33,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_10_Handle,2,output_c44,eSetValueWithOverwrite); + int output_c7 = (cond_24 | cond_6<<1 | cond_6<<2 || cond_6<<3); + int output_c24 = (cond_7 | cond_6<<1 | cond_7<<2 || cond_6<<3); + xTaskNotifyIndexed(xTask_18_Handle,1,output_c7,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_14_Handle,0,output_c24,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -738,25 +724,28 @@ static void task_14_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c39=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c39,0); + uint32_t input_c24=0; + uint32_t input_c36=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c24,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c36,0); - int32_t cond_39 = input_c39==9; + int32_t cond_24 = input_c24<(INPUT_CHAR_NEXT % 16 ); + int32_t cond_36 = input_c36<=(INPUT_CHAR_NEXT % 16 ) || (input_c36!=13); - chaininp = (uint8_t)(input_c39 << 4 | 0xFF); + chaininp = (uint8_t)(input_c24 << 4 | input_c36); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_2(tmp); - tmp = TRANSLATE_2(tmp, ((int)181050.2), 1810502); - tmp = WC_SWITCH(tmp, 1810502); + tmp = FUNCTION_6(tmp); + tmp = TRANSLATE_6(tmp, ((int)33574.8), 335748); + tmp = WC_SWITCH(tmp, 335748); WASTE_NSEC(tmp); - int output_c15 = (cond_39 | cond_39<<1 | cond_39<<2 || cond_39<<3); - int output_c18 = (cond_39 | cond_39<<1 | cond_39<<2 || cond_39<<3); - int output_c47 = (cond_39 | cond_39<<1 | cond_39<<2 || cond_39<<3); - xTaskNotifyIndexed(xTask_24_Handle,0,output_c15,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_12_Handle,1,output_c18,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_9_Handle,2,output_c47,eSetValueWithOverwrite); + int output_c7 = (cond_24 | cond_36<<1 | cond_24<<2 || cond_24<<3); + int output_c34 = (cond_24 | cond_24<<1 | cond_24<<2 || cond_24<<3); + int output_c36 = (cond_36 | cond_36<<1 | cond_36<<2 || cond_36<<3); + xTaskNotifyIndexed(xTask_17_Handle,1,output_c7,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_19_Handle,1,output_c34,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_19_Handle,2,output_c36,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -770,38 +759,23 @@ static void task_15_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c5=0; - uint32_t input_c11=0; - uint32_t input_c12=0; - uint32_t input_c18=0; - uint32_t input_c39=0; - uint32_t input_c41=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c5,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c11,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c12,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c18,0); - xTaskNotifyWaitIndexed(4,0,ULONG_MAX,&input_c39,0); - xTaskNotifyWaitIndexed(5,0,ULONG_MAX,&input_c41,0); + uint32_t input_c36=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c36,0); - int32_t cond_5 = input_c5<=14 || ! (input_c12<(INPUT_CHAR_NEXT % 16 )) && (input_c11<=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_11 = input_c11>(INPUT_CHAR_NEXT % 16 ) || ! (RNG_FROM(input_c39) % 16=input_c18); - int32_t cond_12 = input_c12!=input_c11 && ! (input_c5<=15) && (input_c5<=(INPUT_CHAR_NEXT % 16 )) || (RNG_FROM(input_c39) % 16==0); - int32_t cond_18 = input_c18!=(INPUT_CHAR_NEXT % 16 ) && ! (input_c11<=11) || (input_c12>input_c41) || ! (input_c39!=4); - int32_t cond_39 = input_c39>11; - int32_t cond_41 = RNG_FROM(input_c41) % 16>=(INPUT_CHAR_NEXT % 16 ) || ! (input_c12<=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_36 = input_c36==(INPUT_CHAR_NEXT % 16 ); - chaininp = (uint8_t)(cond_39 | cond_5<<1 | cond_18<<2 | cond_12<<3 | cond_41<<4 | cond_11<<5 | cond_39<<6 | cond_18<<7); + chaininp = (uint8_t)(input_c36 << 4 | 0xFF); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_5(tmp); - tmp = TRANSLATE_5(tmp, ((int)45921.5), 459215); - tmp = WC_SWITCH(tmp, 459215); + tmp = FUNCTION_2(tmp); + tmp = TRANSLATE_2(tmp, ((int)118933.0), 1189330); + tmp = WC_SWITCH(tmp, 1189330); WASTE_NSEC(tmp); - int output_c12 = (cond_41 | cond_18<<1 | cond_11<<2 || cond_11<<3); - int output_c39 = (cond_41 | cond_11<<1 | cond_41<<2 || cond_11<<3); - xTaskNotifyIndexed(xTask_11_Handle,1,output_c12,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_14_Handle,0,output_c39,eSetValueWithOverwrite); + int output_c24 = (cond_36 | cond_36<<1 | cond_36<<2 || cond_36<<3); + int output_c36 = (cond_36 | cond_36<<1 | cond_36<<2 || cond_36<<3); + xTaskNotifyIndexed(xTask_13_Handle,2,output_c24,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_14_Handle,1,output_c36,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -809,7 +783,7 @@ static void task_15_fn(void *pvParameters) { static void task_16_fn(void *pvParameters) { const int task_id = 16; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 50.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 20.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; @@ -820,9 +794,9 @@ static void task_16_fn(void *pvParameters) { chaininp = (INPUT_CHAR_NEXT); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_8(tmp); - tmp = TRANSLATE_8(tmp, ((int)2467.5), 24675); - tmp = WC_SWITCH(tmp, 24675); + tmp = FUNCTION_2(tmp); + tmp = TRANSLATE_2(tmp, ((int)85798.0), 857980); + tmp = WC_SWITCH(tmp, 857980); WASTE_NSEC(tmp); trigger_job_done(); @@ -832,32 +806,39 @@ static void task_16_fn(void *pvParameters) { static void task_17_fn(void *pvParameters) { const int task_id = 17; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 20.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c44=0; - uint32_t input_c49=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c44,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c49,0); + uint32_t input_c5=0; + uint32_t input_c7=0; + uint32_t input_c8=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c5,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c7,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c8,0); - int32_t cond_44 = input_c44==2 && ! (input_c49>=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_49 = input_c49<=9 && ! (input_c49>=input_c44); + int32_t cond_5 = input_c5!=(INPUT_CHAR_NEXT % 16 ) || (input_c8>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_7 = input_c7!=(INPUT_CHAR_NEXT % 16 ) || (input_c8<=input_c7) || (input_c5>=4); + int32_t cond_8 = input_c8<(INPUT_CHAR_NEXT % 16 ) || ! (input_c5>=(INPUT_CHAR_NEXT % 16 )) || ! (input_c8=input_c9) || ! (input_c49>=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_30 = input_c30<=7; - int32_t cond_49 = input_c49>=input_c9 && ! (RNG_FROM(input_c9) % 16<8); + int32_t cond_5 = input_c5>4 || (input_c7<(INPUT_CHAR_NEXT % 16 )) || (input_c7<=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_7 = input_c7>=input_c5 || (input_c5>=2) || ! (input_c5<=input_c7); + int32_t cond_34 = input_c34==15 || (input_c34<2); - chaininp = (uint8_t)(input_c9 << 4 | input_c30); + chaininp = (uint8_t)(input_c5 << 4 | input_c7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_10(tmp); - tmp = TRANSLATE_10(tmp, ((int)423.9), 4239); - tmp = WC_SWITCH(tmp, 4239); + tmp = FUNCTION_4(tmp); + tmp = TRANSLATE_4(tmp, ((int)45921.5), 459215); + tmp = WC_SWITCH(tmp, 459215); WASTE_NSEC(tmp); - int output_c22 = (cond_9 | cond_9<<1 | cond_49<<2 || cond_30<<3); - int output_c30 = (cond_9 | cond_49<<1 | cond_30<<2 || cond_30<<3); - int output_c49 = (cond_30 | cond_9<<1 | cond_30<<2 || cond_30<<3); - xTaskNotifyIndexed(xTask_24_Handle,1,output_c22,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_23_Handle,2,output_c30,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_17_Handle,1,output_c49,eSetValueWithOverwrite); + int output_c7 = (cond_7 | cond_34<<1 | cond_34<<2 || cond_7<<3); + xTaskNotifyIndexed(xTask_12_Handle,0,output_c7,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -903,32 +880,39 @@ static void task_18_fn(void *pvParameters) { static void task_19_fn(void *pvParameters) { const int task_id = 19; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 20.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c35=0; - uint32_t input_c42=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c35,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c42,0); + uint32_t input_c8=0; + uint32_t input_c34=0; + uint32_t input_c36=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c8,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c34,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c36,0); - int32_t cond_35 = input_c35>(INPUT_CHAR_NEXT % 16 ) && (input_c42==12); - int32_t cond_42 = RNG_FROM(input_c42) % 16<(INPUT_CHAR_NEXT % 16 ) && (input_c35<=3); + int32_t cond_8 = input_c8>1 || ! (input_c36<=15); + int32_t cond_34 = input_c34<(INPUT_CHAR_NEXT % 16 ) || (input_c36>=5); + int32_t cond_36 = RNG_FROM(input_c36) % 16==0 || ! (input_c346; - int32_t cond_42 = input_c42>=(INPUT_CHAR_NEXT % 16 ) && (input_c35>input_c42); - int32_t cond_49 = input_c49>input_c35; + int32_t cond_8 = input_c8>(INPUT_CHAR_NEXT % 16 ) || ! (input_c15!=(INPUT_CHAR_NEXT % 16 )) || ! (input_c42!=input_c16) || ! (RNG_FROM(input_c15) % 16>(INPUT_CHAR_NEXT % 16 )); + int32_t cond_15 = input_c152); + int32_t cond_42 = input_c42<=(INPUT_CHAR_NEXT % 16 ) || (input_c8<(INPUT_CHAR_NEXT % 16 )) || (RNG_FROM(input_c42) % 16!=(INPUT_CHAR_NEXT % 16 )) || (input_c8<=(INPUT_CHAR_NEXT % 16 )); - chaininp = (uint8_t)(input_c35 << 4 | input_c42); + chaininp = (uint8_t)(cond_8 | cond_16<<1 | cond_42<<2 | cond_15<<3 | cond_15<<4 | cond_42<<5 | cond_8<<6 | cond_16<<7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_3(tmp); - tmp = TRANSLATE_3(tmp, ((int)35951.2), 359512); - tmp = WC_SWITCH(tmp, 359512); + tmp = FUNCTION_4(tmp); + tmp = TRANSLATE_4(tmp, ((int)2467.5), 24675); + tmp = WC_SWITCH(tmp, 24675); WASTE_NSEC(tmp); - int output_c35 = (cond_49 | cond_42<<1 | cond_42<<2 || cond_42<<3); - int output_c42 = (cond_49 | cond_49<<1 | cond_42<<2 || cond_49<<3); - int output_c49 = (cond_49 | cond_35<<1 | cond_42<<2 || cond_35<<3); - xTaskNotifyIndexed(xTask_19_Handle,0,output_c35,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_6_Handle,3,output_c42,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_25_Handle,3,output_c49,eSetValueWithOverwrite); + int output_c8 = (cond_16 | cond_15<<1 | cond_15<<2 || cond_15<<3); + int output_c13 = (cond_42 | cond_8<<1 | cond_42<<2 || cond_8<<3); + int output_c19 = (cond_8 | cond_16<<1 | cond_42<<2 || cond_16<<3); + int output_c25 = (cond_15 | cond_16<<1 | cond_8<<2 || cond_15<<3); + int output_c42 = (cond_42 | cond_15<<1 | cond_16<<2 || cond_42<<3); + xTaskNotifyIndexed(xTask_17_Handle,2,output_c8,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_6_Handle,0,output_c13,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_30_Handle,0,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_21_Handle,3,output_c25,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_22_Handle,5,output_c42,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -974,30 +965,53 @@ static void task_20_fn(void *pvParameters) { static void task_21_fn(void *pvParameters) { const int task_id = 21; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 50.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c22=0; - uint32_t input_c44=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c22,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c44,0); + uint32_t input_c8=0; + uint32_t input_c15=0; + uint32_t input_c19=0; + uint32_t input_c25=0; + uint32_t input_c50=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c8,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c15,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c19,0); + xTaskNotifyWaitIndexed(3,ULONG_MAX,ULONG_MAX,&input_c25,0); + xTaskNotifyWaitIndexed(4,ULONG_MAX,ULONG_MAX,&input_c50,0); - int32_t cond_22 = input_c22>5; - int32_t cond_44 = input_c44<=5; + int32_t cond_8 = input_c8>input_c25; + int32_t cond_15 = RNG_FROM(input_c15) % 16(INPUT_CHAR_NEXT % 16 )) || (input_c8<0); + int32_t cond_19 = RNG_FROM(input_c19) % 16==(INPUT_CHAR_NEXT % 16 ) || ! (input_c15>=input_c25); + int32_t cond_25 = input_c25<=9; + int32_t cond_50 = input_c50>11; - chaininp = (uint8_t)(input_c22 << 4 | input_c44); + chaininp = (uint8_t)(cond_8 | cond_19<<1 | cond_50<<2 | cond_25<<3 | cond_15<<4 | cond_50<<5 | cond_50<<6 | cond_50<<7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_5(tmp); - tmp = TRANSLATE_5(tmp, ((int)97043.5), 970435); - tmp = WC_SWITCH(tmp, 970435); + tmp = FUNCTION_8(tmp); + tmp = TRANSLATE_8(tmp, ((int)5124.1), 51241); + tmp = WC_SWITCH(tmp, 51241); WASTE_NSEC(tmp); - int output_c44 = (cond_44 | cond_44<<1 | cond_22<<2 || cond_22<<3); - xTaskNotifyIndexed(xTask_13_Handle,1,output_c44,eSetValueWithOverwrite); + int output_c3 = (cond_15 | cond_19<<1 | cond_8<<2 || cond_15<<3); + int output_c8 = (cond_19 | cond_25<<1 | cond_50<<2 || cond_8<<3); + int output_c15 = (cond_25 | cond_8<<1 | cond_8<<2 || cond_15<<3); + int output_c16 = (cond_25 | cond_15<<1 | cond_50<<2 || cond_50<<3); + int output_c19 = (cond_19 | cond_15<<1 | cond_25<<2 || cond_15<<3); + int output_c25 = (cond_19 | cond_15<<1 | cond_15<<2 || cond_15<<3); + int output_c42 = (cond_25 | cond_15<<1 | cond_25<<2 || cond_15<<3); + int output_c43 = (cond_25 | cond_8<<1 | cond_19<<2 || cond_8<<3); + xTaskNotifyIndexed(xTask_22_Handle,0,output_c3,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_19_Handle,0,output_c8,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_20_Handle,1,output_c15,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_22_Handle,2,output_c16,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_4_Handle,1,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_22_Handle,4,output_c25,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_36_Handle,2,output_c42,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_22_Handle,6,output_c43,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -1005,35 +1019,55 @@ static void task_21_fn(void *pvParameters) { static void task_22_fn(void *pvParameters) { const int task_id = 22; TickType_t xLastWakeTime = initial_release_time; - const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + const TickType_t xFrequency = 50.0 / portTICK_PERIOD_MS; uint8_t chaininp = 0; uint16_t byteinp = 0; volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c9=0; - uint32_t input_c30=0; - uint32_t input_c47=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c9,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c30,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c47,0); + uint32_t input_c3=0; + uint32_t input_c13=0; + uint32_t input_c16=0; + uint32_t input_c19=0; + uint32_t input_c25=0; + uint32_t input_c42=0; + uint32_t input_c43=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c3,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c13,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c16,0); + xTaskNotifyWaitIndexed(3,ULONG_MAX,ULONG_MAX,&input_c19,0); + xTaskNotifyWaitIndexed(4,ULONG_MAX,ULONG_MAX,&input_c25,0); + xTaskNotifyWaitIndexed(5,ULONG_MAX,ULONG_MAX,&input_c42,0); + xTaskNotifyWaitIndexed(6,ULONG_MAX,ULONG_MAX,&input_c43,0); - int32_t cond_9 = input_c9!=10 || ! (input_c47>=1) || ! (input_c47>=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_30 = input_c30>=(INPUT_CHAR_NEXT % 16 ); - int32_t cond_47 = input_c47<13 && (input_c30>=(INPUT_CHAR_NEXT % 16 )) || ! (input_c47<16); + int32_t cond_3 = input_c3!=(INPUT_CHAR_NEXT % 16 ); + int32_t cond_13 = input_c13==(INPUT_CHAR_NEXT % 16 ) || ! (input_c13(INPUT_CHAR_NEXT % 16 ); + int32_t cond_42 = input_c42<(INPUT_CHAR_NEXT % 16 ); + int32_t cond_43 = input_c43==7; - chaininp = (uint8_t)(input_c9 << 4 | input_c30); + chaininp = (uint8_t)(cond_3 | cond_13<<1 | cond_42<<2 | cond_25<<3 | cond_19<<4 | cond_43<<5 | cond_16<<6 | cond_19<<7); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_9(tmp); - tmp = TRANSLATE_9(tmp, ((int)33427.1), 334271); - tmp = WC_SWITCH(tmp, 334271); + tmp = FUNCTION_8(tmp); + tmp = TRANSLATE_8(tmp, ((int)21865.9), 218659); + tmp = WC_SWITCH(tmp, 218659); WASTE_NSEC(tmp); - int output_c9 = (cond_9 | cond_47<<1 | cond_9<<2 || cond_47<<3); - int output_c26 = (cond_9 | cond_47<<1 | cond_9<<2 || cond_47<<3); - xTaskNotifyIndexed(xTask_18_Handle,0,output_c9,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_26_Handle,0,output_c26,eSetValueWithOverwrite); + int output_c8 = (cond_25 | cond_13<<1 | cond_43<<2 || cond_25<<3); + int output_c13 = (cond_16 | cond_19<<1 | cond_3<<2 || cond_19<<3); + int output_c15 = (cond_16 | cond_43<<1 | cond_19<<2 || cond_43<<3); + int output_c16 = (cond_42 | cond_3<<1 | cond_3<<2 || cond_3<<3); + int output_c19 = (cond_3 | cond_42<<1 | cond_16<<2 || cond_19<<3); + int output_c50 = (cond_19 | cond_43<<1 | cond_13<<2 || cond_16<<3); + xTaskNotifyIndexed(xTask_20_Handle,0,output_c8,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_10_Handle,1,output_c13,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_21_Handle,1,output_c15,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_20_Handle,2,output_c16,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_26_Handle,0,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_21_Handle,4,output_c50,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -1047,29 +1081,23 @@ static void task_23_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c15=0; - uint32_t input_c26=0; - uint32_t input_c30=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c15,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c26,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c30,0); + uint32_t input_c42=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c42,0); - int32_t cond_15 = input_c15!=input_c26 && (input_c15==input_c30); - int32_t cond_26 = input_c26>(INPUT_CHAR_NEXT % 16 ) || (input_c15!=0) && (input_c26!=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_30 = RNG_FROM(input_c30) % 16!=2; + int32_t cond_42 = input_c42>(INPUT_CHAR_NEXT % 16 ); - chaininp = (uint8_t)(input_c15 << 4 | input_c26); + chaininp = (uint8_t)(input_c42 << 4 | 0xFF); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; tmp = FUNCTION_9(tmp); - tmp = TRANSLATE_9(tmp, ((int)35262.6), 352626); - tmp = WC_SWITCH(tmp, 352626); + tmp = TRANSLATE_9(tmp, ((int)55368.2), 553682); + tmp = WC_SWITCH(tmp, 553682); WASTE_NSEC(tmp); - int output_c15 = (cond_15 | cond_30<<1 | cond_26<<2 || cond_26<<3); - int output_c30 = (cond_30 | cond_30<<1 | cond_15<<2 || cond_26<<3); - xTaskNotifyIndexed(xTask_10_Handle,0,output_c15,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_24_Handle,2,output_c30,eSetValueWithOverwrite); + int output_c29 = (cond_42 | cond_42<<1 | cond_42<<2 || cond_42<<3); + int output_c42 = (cond_42 | cond_42<<1 | cond_42<<2 || cond_42<<3); + xTaskNotifyIndexed(xTask_36_Handle,1,output_c29,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_24_Handle,2,output_c42,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -1083,43 +1111,31 @@ static void task_24_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c15=0; - uint32_t input_c22=0; - uint32_t input_c30=0; - uint32_t input_c44=0; - uint32_t input_c47=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c15,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c22,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c30,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c44,0); - xTaskNotifyWaitIndexed(4,0,ULONG_MAX,&input_c47,0); + uint32_t input_c21=0; + uint32_t input_c26=0; + uint32_t input_c42=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c21,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c26,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c42,0); - int32_t cond_15 = input_c15<(INPUT_CHAR_NEXT % 16 ) && (input_c15>=10) || ! (RNG_FROM(input_c22) % 16!=input_c44); - int32_t cond_22 = input_c22>(INPUT_CHAR_NEXT % 16 ) && ! (RNG_FROM(input_c44) % 16==0) && (input_c44>=4) || ! (input_c47>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_30 = input_c30<=9 && (input_c47==8) && (input_c44=(INPUT_CHAR_NEXT % 16 )); - int32_t cond_44 = input_c44==input_c15 || (input_c47<=10) || (input_c44<=input_c15) || (input_c22>6); - int32_t cond_47 = input_c47!=(INPUT_CHAR_NEXT % 16 ) || ! (input_c47>=input_c44) || ! (input_c44!=(INPUT_CHAR_NEXT % 16 )) && (input_c47>=5); + int32_t cond_21 = input_c21input_c26 || ! (input_c42!=7); - chaininp = (uint8_t)(cond_47 | cond_22<<1 | cond_15<<2 | cond_44<<3 | cond_30<<4 | cond_47<<5 | cond_30<<6 | cond_44<<7); + chaininp = (uint8_t)(input_c21 << 4 | input_c26); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_2(tmp); - tmp = TRANSLATE_2(tmp, ((int)7860.9), 78609); - tmp = WC_SWITCH(tmp, 78609); + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)423.9), 4239); + tmp = WC_SWITCH(tmp, 4239); WASTE_NSEC(tmp); - int output_c15 = (cond_30 | cond_47<<1 | cond_47<<2 || cond_22<<3); - int output_c22 = (cond_44 | cond_47<<1 | cond_22<<2 || cond_30<<3); - int output_c30 = (cond_30 | cond_47<<1 | cond_15<<2 || cond_22<<3); - int output_c42 = (cond_22 | cond_47<<1 | cond_15<<2 || cond_30<<3); - int output_c44 = (cond_44 | cond_30<<1 | cond_47<<2 || cond_22<<3); - int output_c47 = (cond_44 | cond_47<<1 | cond_44<<2 || cond_47<<3); - xTaskNotifyIndexed(xTask_23_Handle,0,output_c15,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_25_Handle,0,output_c22,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_22_Handle,1,output_c30,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_20_Handle,1,output_c42,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_8_Handle,1,output_c44,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_22_Handle,2,output_c47,eSetValueWithOverwrite); + int output_c21 = (cond_21 | cond_26<<1 | cond_21<<2 || cond_42<<3); + int output_c26 = (cond_21 | cond_26<<1 | cond_21<<2 || cond_21<<3); + int output_c42 = (cond_26 | cond_42<<1 | cond_42<<2 || cond_42<<3); + xTaskNotifyIndexed(xTask_26_Handle,1,output_c21,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_34_Handle,0,output_c26,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_29_Handle,2,output_c42,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -1133,38 +1149,23 @@ static void task_25_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c22=0; - uint32_t input_c23=0; - uint32_t input_c44=0; - uint32_t input_c49=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c22,0); - xTaskNotifyWaitIndexed(1,0,ULONG_MAX,&input_c23,0); - xTaskNotifyWaitIndexed(2,0,ULONG_MAX,&input_c44,0); - xTaskNotifyWaitIndexed(3,0,ULONG_MAX,&input_c49,0); + uint32_t input_c19=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c19,0); - int32_t cond_22 = input_c22<4 && ! (input_c23>(INPUT_CHAR_NEXT % 16 )); - int32_t cond_23 = input_c23!=3 || (RNG_FROM(input_c44) % 16!=(INPUT_CHAR_NEXT % 16 )) && (input_c23=14); - int32_t cond_49 = input_c49<=input_c23 || ! (input_c44<=(INPUT_CHAR_NEXT % 16 )) || (RNG_FROM(input_c49) % 16<=12); + int32_t cond_19 = input_c19<6; - chaininp = (uint8_t)(cond_23 | cond_22<<1 | cond_44<<2 | cond_49<<3 | cond_22<<4 | cond_22<<5 | cond_49<<6 | cond_23<<7); + chaininp = (uint8_t)(input_c19 << 4 | 0xFF); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; - tmp = FUNCTION_1(tmp); - tmp = TRANSLATE_1(tmp, ((int)72668.5), 726685); - tmp = WC_SWITCH(tmp, 726685); + tmp = FUNCTION_3(tmp); + tmp = TRANSLATE_3(tmp, ((int)4884.6), 48846); + tmp = WC_SWITCH(tmp, 48846); WASTE_NSEC(tmp); - int output_c9 = (cond_23 | cond_22<<1 | cond_49<<2 || cond_49<<3); - int output_c22 = (cond_23 | cond_23<<1 | cond_44<<2 || cond_44<<3); - int output_c30 = (cond_49 | cond_49<<1 | cond_49<<2 || cond_49<<3); - int output_c35 = (cond_44 | cond_23<<1 | cond_23<<2 || cond_22<<3); - int output_c44 = (cond_22 | cond_23<<1 | cond_22<<2 || cond_44<<3); - xTaskNotifyIndexed(xTask_22_Handle,0,output_c9,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_2_Handle,1,output_c22,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_18_Handle,1,output_c30,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_20_Handle,0,output_c35,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_1_Handle,4,output_c44,eSetValueWithOverwrite); + int output_c19 = (cond_19 | cond_19<<1 | cond_19<<2 || cond_19<<3); + int output_c39 = (cond_19 | cond_19<<1 | cond_19<<2 || cond_19<<3); + xTaskNotifyIndexed(xTask_22_Handle,3,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_27_Handle,2,output_c39,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -1178,25 +1179,360 @@ static void task_26_fn(void *pvParameters) { volatile int tmp=0; while(1) { RNG_RESET - uint32_t input_c26=0; - xTaskNotifyWaitIndexed(0,0,ULONG_MAX,&input_c26,0); + uint32_t input_c19=0; + uint32_t input_c21=0; + uint32_t input_c23=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c19,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c21,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c23,0); - int32_t cond_26 = input_c26>=16; + int32_t cond_19 = input_c19<=8 || ! (input_c21!=10) || (input_c21>=4); + int32_t cond_21 = input_c21>=(INPUT_CHAR_NEXT % 16 ); + int32_t cond_23 = input_c23<13 || (input_c21>=(INPUT_CHAR_NEXT % 16 )) || ! (input_c23<16); + + chaininp = (uint8_t)(input_c19 << 4 | input_c21); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)35951.2), 359512); + tmp = WC_SWITCH(tmp, 359512); + WASTE_NSEC(tmp); + + int output_c19 = (cond_19 | cond_23<<1 | cond_19<<2 || cond_23<<3); + int output_c21 = (cond_19 | cond_23<<1 | cond_19<<2 || cond_23<<3); + int output_c23 = (cond_21 | cond_21<<1 | cond_19<<2 || cond_23<<3); + int output_c46 = (cond_21 | cond_19<<1 | cond_21<<2 || cond_23<<3); + xTaskNotifyIndexed(xTask_21_Handle,2,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_31_Handle,0,output_c21,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_35_Handle,0,output_c23,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_36_Handle,3,output_c46,eSetValueWithOverwrite); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_27_fn(void *pvParameters) { + const int task_id = 27; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c13=0; + uint32_t input_c23=0; + uint32_t input_c39=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c13,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c23,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c39,0); + + int32_t cond_13 = input_c13<=(INPUT_CHAR_NEXT % 16 ) || ! (input_c13>=0) || (input_c23!=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_23 = RNG_FROM(input_c23) % 16!=2; + int32_t cond_39 = input_c39>=7 || ! (input_c39!=(INPUT_CHAR_NEXT % 16 )) || (input_c39=4) || ! (input_c13==16) || ! (input_c13<=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_13 = input_c13!=(INPUT_CHAR_NEXT % 16 ) || (input_c12<=input_c29) || (input_c13>(INPUT_CHAR_NEXT % 16 )) || (input_c12<(INPUT_CHAR_NEXT % 16 )); + int32_t cond_26 = input_c26==input_c29 || (input_c26>=(INPUT_CHAR_NEXT % 16 )) || (input_c26>=input_c29); + int32_t cond_29 = input_c29!=(INPUT_CHAR_NEXT % 16 ) || (input_c13<=10) || ! (input_c29==(INPUT_CHAR_NEXT % 16 )) || ! (input_c13<=(INPUT_CHAR_NEXT % 16 )); + + chaininp = (uint8_t)(cond_13 | cond_29<<1 | cond_26<<2 | cond_12<<3 | cond_29<<4 | cond_29<<5 | cond_12<<6 | cond_29<<7); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_8(tmp); + tmp = TRANSLATE_8(tmp, ((int)33427.1), 334271); + tmp = WC_SWITCH(tmp, 334271); + WASTE_NSEC(tmp); + + int output_c13 = (cond_12 | cond_12<<1 | cond_26<<2 || cond_29<<3); + int output_c26 = (cond_26 | cond_12<<1 | cond_29<<2 || cond_13<<3); + xTaskNotifyIndexed(xTask_8_Handle,0,output_c13,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_24_Handle,1,output_c26,eSetValueWithOverwrite); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_29_fn(void *pvParameters) { + const int task_id = 29; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c12=0; + uint32_t input_c19=0; + uint32_t input_c42=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c12,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c19,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c42,0); + + int32_t cond_12 = input_c12<9; + int32_t cond_19 = input_c19!=input_c42 || (input_c42!=input_c12) || (input_c12>=input_c19); + int32_t cond_42 = input_c42!=(INPUT_CHAR_NEXT % 16 ); + + chaininp = (uint8_t)(input_c12 << 4 | input_c19); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_6(tmp); + tmp = TRANSLATE_6(tmp, ((int)35262.6), 352626); + tmp = WC_SWITCH(tmp, 352626); + WASTE_NSEC(tmp); + + int output_c12 = (cond_19 | cond_12<<1 | cond_12<<2 || cond_12<<3); + int output_c19 = (cond_12 | cond_12<<1 | cond_12<<2 || cond_12<<3); + int output_c42 = (cond_42 | cond_19<<1 | cond_12<<2 || cond_12<<3); + xTaskNotifyIndexed(xTask_28_Handle,0,output_c12,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_9_Handle,1,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_20_Handle,3,output_c42,eSetValueWithOverwrite); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_30_fn(void *pvParameters) { + const int task_id = 30; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c19=0; + uint32_t input_c39=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c19,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c39,0); + + int32_t cond_19 = RNG_FROM(input_c19) % 16!=input_c39; + int32_t cond_39 = input_c39>input_c19 || (input_c39!=5); + + chaininp = (uint8_t)(input_c19 << 4 | input_c39); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_6(tmp); + tmp = TRANSLATE_6(tmp, ((int)7860.9), 78609); + tmp = WC_SWITCH(tmp, 78609); + WASTE_NSEC(tmp); + + int output_c19 = (cond_19 | cond_39<<1 | cond_39<<2 || cond_19<<3); + int output_c47 = (cond_39 | cond_39<<1 | cond_39<<2 || cond_19<<3); + xTaskNotifyIndexed(xTask_29_Handle,1,output_c19,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_31_Handle,1,output_c47,eSetValueWithOverwrite); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_31_fn(void *pvParameters) { + const int task_id = 31; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c21=0; + uint32_t input_c47=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c21,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c47,0); + + int32_t cond_21 = input_c21>=(INPUT_CHAR_NEXT % 16 ); + int32_t cond_47 = input_c47>input_c21; + + chaininp = (uint8_t)(input_c21 << 4 | input_c47); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)72668.5), 726685); + tmp = WC_SWITCH(tmp, 726685); + WASTE_NSEC(tmp); + + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_32_fn(void *pvParameters) { + const int task_id = 32; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + + + chaininp = (INPUT_CHAR_NEXT); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_5(tmp); + tmp = TRANSLATE_5(tmp, ((int)96338.4), 963384); + tmp = WC_SWITCH(tmp, 963384); + WASTE_NSEC(tmp); + + int output_c26 = (INPUT_CHAR_NEXT % 16); + xTaskNotifyIndexed(xTask_28_Handle,2,output_c26,eSetValueWithOverwrite); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_33_fn(void *pvParameters) { + const int task_id = 33; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c26=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c26,0); + + int32_t cond_26 = input_c26>=1; chaininp = (uint8_t)(input_c26 << 4 | 0xFF); byteinp = INPUT_SHORT_NEXT; tmp = STRETCH_i32(chaininp) + byteinp; tmp = FUNCTION_2(tmp); - tmp = TRANSLATE_2(tmp, ((int)96338.4), 963384); - tmp = WC_SWITCH(tmp, 963384); + tmp = TRANSLATE_2(tmp, ((int)58608.4), 586084); + tmp = WC_SWITCH(tmp, 586084); WASTE_NSEC(tmp); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_34_fn(void *pvParameters) { + const int task_id = 34; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c26=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c26,0); + + int32_t cond_26 = input_c26<=4; + + chaininp = (uint8_t)(input_c26 << 4 | 0xFF); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_1(tmp); + tmp = TRANSLATE_1(tmp, ((int)36444.1), 364441); + tmp = WC_SWITCH(tmp, 364441); + WASTE_NSEC(tmp); + + int output_c12 = (cond_26 | cond_26<<1 | cond_26<<2 || cond_26<<3); + int output_c21 = (cond_26 | cond_26<<1 | cond_26<<2 || cond_26<<3); int output_c26 = (cond_26 | cond_26<<1 | cond_26<<2 || cond_26<<3); - int output_c44 = (cond_26 | cond_26<<1 | cond_26<<2 || cond_26<<3); - int output_c49 = (cond_26 | cond_26<<1 | cond_26<<2 || cond_26<<3); - xTaskNotifyIndexed(xTask_23_Handle,1,output_c26,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_21_Handle,1,output_c44,eSetValueWithOverwrite); - xTaskNotifyIndexed(xTask_18_Handle,2,output_c49,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_29_Handle,0,output_c12,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_24_Handle,0,output_c21,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_33_Handle,0,output_c26,eSetValueWithOverwrite); + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_35_fn(void *pvParameters) { + const int task_id = 35; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c23=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c23,0); + + int32_t cond_23 = input_c23>(INPUT_CHAR_NEXT % 16 ); + + chaininp = (uint8_t)(input_c23 << 4 | 0xFF); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_9(tmp); + tmp = TRANSLATE_9(tmp, ((int)51214.0), 512140); + tmp = WC_SWITCH(tmp, 512140); + WASTE_NSEC(tmp); + + trigger_job_done(); + xTaskDelayUntil(&xLastWakeTime, xFrequency ); + } +} +static void task_36_fn(void *pvParameters) { + const int task_id = 36; + TickType_t xLastWakeTime = initial_release_time; + const TickType_t xFrequency = 100.0 / portTICK_PERIOD_MS; + uint8_t chaininp = 0; + uint16_t byteinp = 0; + volatile int tmp=0; + while(1) { + RNG_RESET + uint32_t input_c23=0; + uint32_t input_c29=0; + uint32_t input_c42=0; + uint32_t input_c46=0; + xTaskNotifyWaitIndexed(0,ULONG_MAX,ULONG_MAX,&input_c23,0); + xTaskNotifyWaitIndexed(1,ULONG_MAX,ULONG_MAX,&input_c29,0); + xTaskNotifyWaitIndexed(2,ULONG_MAX,ULONG_MAX,&input_c42,0); + xTaskNotifyWaitIndexed(3,ULONG_MAX,ULONG_MAX,&input_c46,0); + + int32_t cond_23 = input_c23<(INPUT_CHAR_NEXT % 16 ) || (input_c29!=(INPUT_CHAR_NEXT % 16 )) || ! (input_c23<=(INPUT_CHAR_NEXT % 16 )); + int32_t cond_29 = input_c29(INPUT_CHAR_NEXT % 16 )); + int32_t cond_42 = input_c42!=(INPUT_CHAR_NEXT % 16 ); + int32_t cond_46 = input_c46>=(INPUT_CHAR_NEXT % 16 ); + + chaininp = (uint8_t)(cond_29 | cond_46<<1 | cond_23<<2 | cond_42<<3 | cond_42<<4 | cond_29<<5 | cond_46<<6 | cond_29<<7); + byteinp = INPUT_SHORT_NEXT; + tmp = STRETCH_i32(chaininp) + byteinp; + tmp = FUNCTION_8(tmp); + tmp = TRANSLATE_8(tmp, ((int)75425.6), 754256); + tmp = WC_SWITCH(tmp, 754256); + WASTE_NSEC(tmp); + + int output_c23 = (cond_23 | cond_46<<1 | cond_29<<2 || cond_29<<3); + int output_c29 = (cond_23 | cond_29<<1 | cond_42<<2 || cond_29<<3); + int output_c42 = (cond_29 | cond_23<<1 | cond_46<<2 || cond_23<<3); + xTaskNotifyIndexed(xTask_8_Handle,1,output_c23,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_28_Handle,3,output_c29,eSetValueWithOverwrite); + xTaskNotifyIndexed(xTask_23_Handle,0,output_c42,eSetValueWithOverwrite); trigger_job_done(); xTaskDelayUntil(&xLastWakeTime, xFrequency ); } @@ -1206,21 +1542,21 @@ static void task_26_fn(void *pvParameters) { void ISR_0_Handler(void) { BaseType_t xHigherPriorityTaskWoken = pdFALSE; if (xTask_0_Handle != NULL) { - vTaskNotifyGiveIndexedFromISR(xTask_0_Handle, 9, &xHigherPriorityTaskWoken); + vTaskNotifyGiveIndexedFromISR(xTask_1_Handle, 9, &xHigherPriorityTaskWoken); portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); } } void ISR_1_Handler(void) { BaseType_t xHigherPriorityTaskWoken = pdFALSE; if (xTask_1_Handle != NULL) { - vTaskNotifyGiveIndexedFromISR(xTask_1_Handle, 9, &xHigherPriorityTaskWoken); + vTaskNotifyGiveIndexedFromISR(xTask_2_Handle, 9, &xHigherPriorityTaskWoken); portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); } } void ISR_2_Handler(void) { BaseType_t xHigherPriorityTaskWoken = pdFALSE; if (xTask_2_Handle != NULL) { - vTaskNotifyGiveIndexedFromISR(xTask_2_Handle, 9, &xHigherPriorityTaskWoken); + vTaskNotifyGiveIndexedFromISR(xTask_3_Handle, 9, &xHigherPriorityTaskWoken); portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); } }