
























struct s_axi4_reg { uint32_t reg[1024]; }; struct s_axi4_reg *p_axi4_reg; #define AXI4_REG_BASE ((struct s_axi4_reg *)(0x60000000)) void axi4_reg_test( void ) { int i=0; for( i=0; i<4; i++ ) { xprintf( "AXI4_REG_BASE reg addr=%d, w_before:%d.\n", i, AXI4_REG_BASE->reg[i] ); AXI4_REG_BASE->reg[i] = i; xprintf( "AXI4_REG_BASE reg addr=%d,w_later:%d.\n", i, AXI4_REG_BASE->reg[i] ); } }
访问卡死;
在官网论坛查资料:Custom AXI Lite Interface should work? Is there a Microsemi specific AXI protocol?


此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。