Hi,
I created a design using quartus and SystemVerilog which I am running on the board's FPGA.
The FPGA does a computation and writes the result to pins D1-11 (the ones defined under // SAM D21 PINS in the template file) as follows:
...
counter ct (
wOSC_CLK,
bMKR_D[11:1] // this is the output
);
...
I want to check that the FPGA is computing the correct thing by printing the output to the serial console.
But to do this, I must access bMKR_D[11:1] on the ATSAMD21 microprocessor.
Which numbers do I need to put in digitalRead() to get the data that I am writing? I tried digitalRead(1) ... digitalRead(11) but that didn't work.
Am I approaching this the wrong way?