minor bug fix encoder2d

This commit is contained in:
alexmadison 2022-03-22 16:30:58 +01:00
parent 9ad12dc951
commit a42254a57b
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ namespace tmpl {
(i:Nx:x_acks[i] = x[i].a;)
dualrail_encoder<NxC, Nx> x_encoder(.in = x_acks, .out = x_enc_out, .supply = supply);
bool y_acks[Nx];
bool y_acks[Ny];
Mx1of2<NyC> y_enc_out;
(i:Ny:y_acks[i] = y[i].a;)
dualrail_encoder<NyC, Ny> y_encoder(.in = y_acks, .out = y_enc_out, .supply = supply);