Already do #define fast_to_slow_read_t uint64_s_array_4_t making it look like a type.
Get rid of #include "uint64_s_array_N_t.h" by actually generating fast_to_slow_read_t struct which has field that is an fixed size array.
Macro for sync crossing will need user to specify clock ratio (instead of being detected in auto generated header gen process) but macros are easier to work with than #include's...
...so that the new
clock_crossing.h
header macros can be used.Current code gen looks like:
Already do
#define fast_to_slow_read_t uint64_s_array_4_t
making it look like a type.Get rid of
#include "uint64_s_array_N_t.h"
by actually generatingfast_to_slow_read_t
struct which has field that is an fixed size array.Macro for sync crossing will need user to specify clock ratio (instead of being detected in auto generated header gen process) but macros are easier to work with than #include's...