flyingmonkeys1996 at gmail.com
Mon Apr 22 06:55:34 BST 2019
> encoder is a one-out, therefore can be used as an index into the write_array?
> the for-loop generates N Case statements equal to i, therefore it's:
> * if self.encoder.o == 1 write_port == self.write_port
> * if self.encoder.o == 2 write_port == self.write_port
> * if self.encoder.o == 3 write_port == self.write_port
> might as well just be:
> write_port = self.write_array[self.encoder.o]
I kept getting some ArrayProxy value out of the array whenever I tried
this. I do not know why.
More information about the libre-riscv-dev