# Lanes The term "Lanes" is borrowed from Hwacha. Register table | reg num | Lane 0 | Lane 1 | Lane 2 | Lane 3 | | ------- | ------ | ------ | ------ | ------ | | r0 | (31.0) | (31.0) | (31.0) | (31.0) | | r1 | (31.0) | (31.0) | (31.0) | (31.0) | | r2 | (31.0) | (31.0) | (31.0) | (31.0) | Example parallel add: /* XLEN and N are "baked-in" to the hardware */ parameter XLEN; parameter N; /* note that N cannot be greater than XLEN */ register plane[XLEN]; register x[N][32][XLEN]; function op_add(rd, rs1, rs2) { /* note that this is ADD, not PADD */ int i; for (i = 0; i