05-17-2022 12:38 PM
Minor note, but you need to get your Outputs outside the case structure of your FGV, else you are forcing teh compiler to make a copy, in order to output the same value when you call the "write" case.
05-18-2022 02:55 AM
@drjdpowell wrote:
Minor note, but you need to get your Outputs outside the case structure of your FGV, else you are forcing teh compiler to make a copy, in order to output the same value when you call the "write" case.
I did not know that.
Should I create two other shift registers then? Or send an empty array and a 0 to my outputs in the other cases ? And at this point it is the same to place them outside the while loop, no?
05-18-2022 07:48 AM
@VinnyAstro wrote:
Should I create two other shift registers then? Or send an empty array and a 0 to my outputs in the other cases ? And at this point it is the same to place them outside the while loop, no?
Outside the loop, and return empty arrays.