• 0
Sophia_123

access to BRAM

Question

2 answers to this question

Recommended Posts

  • 0

I've never used it, but Xil_Out8 should work just fine. Don't think you will see any performance gains over doing 32-bit accesses in your code, but if it is for convenience sake I get it. 

Dan's suggestion should also work, but be aware that it's behavior may change depending on what the size of "int" is (I don't know of the top of my head) and whether or not bram_addr is aligned to the size of int. I think unaligned accesses might have behavior counter-intuitive to what you would expect...

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now