The set up
Blueprint of this setup:Expected result
I would expect both signals being seen in the output.In my imagination this would perform (although probably in an optimised form):
Code: Select all
// assume out, in_red, in_green are maps of signal identifier to value
for(auto signal : ALL_SIGNALS) {
int32_t result = in_red[signal] & in_green[signal];
out[signal] = result;
}
// in this case this should be equivalent to
out[COPPER_CABLE] = 66'000 & 0xFFFF_FFFF;
out[HOLMIUM_PLATE] = 66'000 & 0xFFFF_FFFF;