How to store a 11776x17408 matrix in verilog in form of RAM

N

nitin sapre

Guest
I need to store a 11776x17408 matrix in verilog in form of RAM
 
On Thursday, January 16, 2020 at 9:35:22 AM UTC-7, nitin sapre wrote:
> I need to store a 11776x17408 matrix in verilog in form of RAM

The $readmemh() function might be useful for you.
 
On Thursday, January 16, 2020 at 10:05:22 PM UTC+5:30, nitin sapre wrote:
> I need to store a 11776x17408 matrix in verilog in form of RAM

thank you sir.
Can you please give some example or any related documents so i can try it out.
 
On Sunday, January 19, 2020 at 9:55:13 PM UTC-8, nitin sapre wrote:
On Thursday, January 16, 2020 at 10:05:22 PM UTC+5:30, nitin sapre wrote:
I need to store a 11776x17408 matrix in verilog in form of RAM

thank you sir.
Can you please give some example or any related documents so i can try it out.

Have you ever used Google before?
 
On Thursday, January 16, 2020 at 10:05:22 PM UTC+5:30, nitin sapre wrote:
> I need to store a 11776x17408 matrix in verilog in form of RAM

Yes greg I have used and for your kind info after all my research i have posted this question.
 
On 21/01/2020 05:00, nitin sapre wrote:
On Thursday, January 16, 2020 at 10:05:22 PM UTC+5:30, nitin sapre wrote:
I need to store a 11776x17408 matrix in verilog in form of RAM

Yes greg I have used and for your kind info after all my research i have posted this question.
If you have researched a topic and can't find what you need then it's a
really good idea to mention that in your post and also perhaps to
provide some context for your question.

There is a reason that this is considered good manners - people in this
group are being asked by you to spend time and effort helping you out -
you can pay them and others back by sharing what you do know, and
talking about what you are doing.

Do you want this matrix to get into hardware somehow ?

MK
 
On Thursday, January 16, 2020 at 11:35:22 AM UTC-5, nitin sapre wrote:
> I need to store a 11776x17408 matrix in verilog in form of RAM

How much experience do you have with programming FPGAs?

It's been awhile for me, but I think you may get better search results on google if you ask a different question. A two-dimensional matrix can be built as block of memory. And whether you are programming in Verilog or VHDL there is always a way to read a file into a predefined memory structure. You can generally build things from scratch or use some pre-built cores depending on the tool you are using.

Kevin provided you with a great starting point. Your next thing to do would be to google how to use the function he provided and figure out what it is you need to make in hardware (like ROM/RAM) and search for content related to that.

This Verilog book is well known for having lots of code examples in it: https://www.amazon.com/Digital-Implementation-Programmable-Information-Technology/dp/1402080115/ref=sr_1_4?keywords=digital+design+and+implementation+with+field&qid=1579656007&sr=8-4
 
On Wednesday, January 22, 2020 at 7:05:45 AM UTC+5:30, morningst...@gmail.com wrote:
On Thursday, January 16, 2020 at 11:35:22 AM UTC-5, nitin sapre wrote:
I need to store a 11776x17408 matrix in verilog in form of RAM

How much experience do you have with programming FPGAs?

It's been awhile for me, but I think you may get better search results on google if you ask a different question. A two-dimensional matrix can be built as block of memory. And whether you are programming in Verilog or VHDL there is always a way to read a file into a predefined memory structure. You can generally build things from scratch or use some pre-built cores depending on the tool you are using.

Kevin provided you with a great starting point. Your next thing to do would be to google how to use the function he provided and figure out what it is you need to make in hardware (like ROM/RAM) and search for content related to that.

This Verilog book is well known for having lots of code examples in it: https://www.amazon.com/Digital-Implementation-Programmable-Information-Technology/dp/1402080115/ref=sr_1_4?keywords=digital+design+and+implementation+with+field&qid=1579656007&sr=8-4

I have no experience with fpga

I will go through the Kevin's sugesstion
Thank you
 
On Tuesday, January 21, 2020 at 7:48:03 PM UTC+5:30, Michael Kellett wrote:
On 21/01/2020 05:00, nitin sapre wrote:
On Thursday, January 16, 2020 at 10:05:22 PM UTC+5:30, nitin sapre wrote:
I need to store a 11776x17408 matrix in verilog in form of RAM

Yes greg I have used and for your kind info after all my research i have posted this question.

If you have researched a topic and can't find what you need then it's a
really good idea to mention that in your post and also perhaps to
provide some context for your question.

There is a reason that this is considered good manners - people in this
group are being asked by you to spend time and effort helping you out -
you can pay them and others back by sharing what you do know, and
talking about what you are doing.

Do you want this matrix to get into hardware somehow ?

MK

yeah i Understand and I apologies.....

Yes sir absolutely coreect
 
On Thursday, 16 January 2020 17:35:22 UTC+1, nitin sapre wrote:
> I need to store a 11776x17408 matrix in verilog in form of RAM

For what purpose ? Assuming we're talking items if 8 bits, its almost 200 MB. If we're talking bits, its 24 MB. No FPGA has that in silicon, so you need to use external RAM.

If you use it for simulation, its a matter of the right definition.


Igmar
 
On Monday, January 27, 2020 at 3:36:43 PM UTC-5, Igmar Palsenberg wrote:
On Thursday, 16 January 2020 17:35:22 UTC+1, nitin sapre wrote:
I need to store a 11776x17408 matrix in verilog in form of RAM

For what purpose ? Assuming we're talking items if 8 bits, its almost 200 MB. If we're talking bits, its 24 MB. No FPGA has that in silicon, so you need to use external RAM.

If you use it for simulation, its a matter of the right definition.

For simulation I understand the most efficient data type is integers. They only have a value so as long as no calculations are being done they are accessed similarly to simple variables in typical languages.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209
 
On Thursday, January 16, 2020 at 10:05:22 PM UTC+5:30, nitin sapre wrote:
> I need to store a 11776x17408 matrix in verilog in form of RAM

Thank you.
 

Welcome to EDABoard.com

Sponsor

Back
Top