Nilakshan Posted March 25, 2017 Share Posted March 25, 2017 I want to store the image matrix into block RAM.In my UART receiver code I have instantiated BRAM module for writing purpose.Is this way is correct? Wheneve Instantiate there is not declring error.Where can I ear functionality of Block RAM Link to comment Share on other sites More sharing options...
D@n Posted March 25, 2017 Share Posted March 25, 2017 @Nilakshan, Sorry, it's just really hard to say if your method is "correct" given all you've said of it. Let me turn the question back at you: does it work? As for storing an image in Block RAM, many on this forum have set out to do so, but few have returned to post their success. The answer really is: it depends. Block RAM is expensive. There tends not to be much of it. Will your image fit within the block RAM of your device? Will it still fit with everything else within that block RAM also competing for resources? Just some things to think about. Dan Link to comment Share on other sites More sharing options...
Nilakshan Posted March 26, 2017 Author Share Posted March 26, 2017 Issue it gave non declaring error even I have define the variables.I'm using vivado IP.I think my image size is enough as mentioned block RAM address-size.But its in the default-value,I couldn't change them Link to comment Share on other sites More sharing options...
D@n Posted March 26, 2017 Share Posted March 26, 2017 @Nilakshan, If the issue is a variable that you've declared that Vivado says you have not declared, then .... you need to share some more information about what is going on and what you are doing or it will be very difficult to help you. If the issue is instead just reading from UART and storing to block RAM, then you can find an example of code that does that here. In the example, the UART data is stored into a FIFO so that it can be read out at a later time, such as when the CPU isn't quite so busy. Dan Link to comment Share on other sites More sharing options...
Question
Nilakshan
I want to store the image matrix into block RAM.In my UART receiver code I have instantiated BRAM module for writing purpose.Is this way is correct?
Wheneve Instantiate there is not declring error.Where can I ear functionality of Block RAM
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.