I am developing a simple code in C where I have two vectors with four inputs.
V1[4] where V1[0] = 0; V1[1] = 1; V1[2] = 0; V1[3] = 1;
V2[4] where V2[0] = 0; V2[1] = 0; V2[2] = 1; V2[3] = 1;
I am using the wishbone_write() to send these values for my FPGA.
I used the skeleton editor to create the wishbone code.
My FPGA code is a AND_GATE;
resp <= SIG1 AND SIG2;
But I do not know how to do the SIG1 receives the value of V1[0] and SIG2 receives the value of V2[0].
Please, I do not have idea how i can do this.
Thank you very much.