Date:2021/1/20 Author: YJ Guan
Platform: Zedboard+Vivado 2020.1+Vitis
Content from Xilinx PG058
Write First Mode: In WRITE_FIRST mode, the input data is simultaneously written into memory and driven on the data output, as shown in Figure 3-9. This transparent mode offers the flexibility of using the data output bus during a Write operation on the same port.
Address = XPAR_AXI_BRAM_CTRL_1_S_AXI_BASEADDR (PS Offset)+ BRAM_ADDR
Ex: Address = 0x4000_0000+ 0x0000_0010
Address = BRAM_ADDR
Ex: Address = 0x0000_0010
Button T18 on zedboard is set as a interrupt port. The PS reading part is interrupted until T18 is pushed. Before that, BRAM can be written from the port B of BRAM.