12-28-2019 10:42 PM
Hi everyone,
I'm wondering whether it is possible to create a block with an AXI slave port that can give different values when PS read or write the same address. For example,
Obviously this problem can be solved if I create another AXI slave port and use a different address for the read command. I'm just curious whether it can be achieved in HLS.
Thanks in advance!
12-30-2019 03:29 AM
Sort of. HLS refuses (at least in my experience - I'm still on 2016.2) to create a read-write register on the AXI Lite interface; instead a register that should be read-write ends up as a read port and a separate write port. However, if you make it a RAM instead (a two element RAM is fine - when I tried it, one element wasn't enough) then each address is full read-write.
12-30-2019 03:29 AM
Sort of. HLS refuses (at least in my experience - I'm still on 2016.2) to create a read-write register on the AXI Lite interface; instead a register that should be read-write ends up as a read port and a separate write port. However, if you make it a RAM instead (a two element RAM is fine - when I tried it, one element wasn't enough) then each address is full read-write.