#if defined(D_NEXYS_A7) #include "bsp_printf.h" #include "bsp_mem_map.h" #include "bsp_version.h" #else PRE_COMPILED_MSG("no platform was defined") #endif #include "psp_api.h" // ALU register addresses #define data_in 0x80003000 #define wb_dat_o 0x80003004 // Macros for reading and writing registers #define READ_INT32(dir) (*(volatile unsigned char*)dir) #define WRITE_INT32(dir, value) { (*(volatile unsigned *)dir) = (value); } #define N 64 #define M 64 extern unsigned int image_data_32bits[N][M]; unsigned char ALUImage[N][M]; //unsigned char v[2][2]; int main(void) { for(int i = 0; i