PandA-2024.02
documentation
tutorial_hpca_2023
01-introduction
Exercise6
module2.c
Go to the documentation of this file.
1
#include "
module_lib.h
"
2
void
module2
(uint32_t input1,
module2_output_t
*outputs)
3
{
4
outputs->
output1
= input1 * input1;
5
outputs->
output2
= input1 | (((uint64_t)input1)<<32);
6
outputs->
output3
= (uint16_t)input1;
7
}
module2_output_t::output2
uint64_t output2
Definition:
module_lib.h:19
module2_output_t::output1
uint64_t output1
Definition:
module_lib.h:18
module2_output_t
Definition:
module_lib.h:17
module_lib.h
module2
void module2(uint32_t input1, module2_output_t *outputs)
Definition:
module2.c:2
module2_output_t::output3
uint16_t output3
Definition:
module_lib.h:20
Generated on Mon Feb 12 2024 13:02:47 for PandA-2024.02 by
1.8.13