Hello, I am trying to configure the LA to send a 1 bit signal used to reset the design instantiated inside the user_proj_example. The
.c
file for this is coded as below:
#include "../../defs.h"
void main()
{
reg_mprj_io_0 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_1 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_2 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_3 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_4 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_5 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_6 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_io_7 = GPIO_MODE_USER_STD_OUTPUT;
reg_mprj_xfer = 1;
while(reg_mprj_xfer == 1);
reg_la0_ena = 0xFFFFFFFE;
reg_la1_ena = 0xFFFFFFFF;
reg_la2_ena = 0xFFFFFFFF;
reg_la3_ena = 0xFFFFFFFF;
reg_la0_data = 0x00000001;
}
I am using the mprj_io[7:0] as outputs to be driven by the user. Then applying the configuration and after that using the LA bitfield 0 as an output and all others as input. Finally sending the data to the output. But this data is not received inside the user_proj_example module. I have attached the output waveform generated by running the test.