Accessing GPIO on the fpga
Posted: Thu Aug 03, 2017 11:42 pm
Hello,
I want add some features to the fpga-image ('classic'). I.a I want to access the led-, exp_n-, exp_p-pins. Therefore I passed the gpio-object (from red_pitaya_top.sv) to my module which then sets the value of gpio.o[some index]. Unfortunately, this leads to the following design error , where mod is my module which has the argument
How should one manipulate the led,.. pins instead?
I want add some features to the fpga-image ('classic'). I.a I want to access the led-, exp_n-, exp_p-pins. Therefore I passed the gpio-object (from red_pitaya_top.sv) to my module which then sets the value of gpio.o[some index]. Unfortunately, this leads to the following design error
Code: Select all
[DRC MDRV-1] Multiple Driver Nets: Net i_mod/B9 has multiple drivers: ps/system_i/processing_system7/inst/PS7_i/EMIOGPIOO[15], i_mod/d_out.o_reg[15]/Q.
Code: Select all
gpio_if d_out