EDAboard.com | EDAboard.de | EDAboard.co.uk | WTWH Media

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

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Verilog Language - How to store a 11776x17408 matrix in verilog in form of RAM

nitin sapre
Guest

Thu Jan 16, 2020 5:45 pm   



I need to store a 11776x17408 matrix in verilog in form of RAM

Kevin Neilson
Guest

Fri Jan 17, 2020 10:45 pm   



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.

nitin sapre
Guest

Mon Jan 20, 2020 7:45 am   



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.


Guest

Mon Jan 20, 2020 7:45 am   



On Sunday, January 19, 2020 at 9:55:13 PM UTC-8, nitin sapre wrote:
Quote:
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?

nitin sapre
Guest

Tue Jan 21, 2020 6:45 am   



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.

Michael Kellett
Guest

Tue Jan 21, 2020 3:45 pm   



On 21/01/2020 05:00, nitin sapre wrote:
Quote:
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


Guest

Wed Jan 22, 2020 2:45 am   



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

nitin sapre
Guest

Wed Jan 22, 2020 6:45 am   



On Wednesday, January 22, 2020 at 7:05:45 AM UTC+5:30, morningst...@gmail.com wrote:
Quote:
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

nitin sapre
Guest

Wed Jan 22, 2020 6:45 am   



On Tuesday, January 21, 2020 at 7:48:03 PM UTC+5:30, Michael Kellett wrote:
Quote:
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

Igmar Palsenberg
Guest

Mon Jan 27, 2020 9:45 pm   



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

Rick C
Guest

Mon Jan 27, 2020 11:45 pm   



On Monday, January 27, 2020 at 3:36:43 PM UTC-5, Igmar Palsenberg wrote:
Quote:
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

nitin sapre
Guest

Thu Jan 30, 2020 7:45 am   



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.

elektroda.net NewsGroups Forum Index - Verilog Language - How to store a 11776x17408 matrix in verilog in form of RAM

Ask a question - edaboard.com

Arabic version Bulgarian version Catalan version Czech version Danish version German version Greek version English version Spanish version Finnish version French version Hindi version Croatian version Indonesian version Italian version Hebrew version Japanese version Korean version Lithuanian version Latvian version Dutch version Norwegian version Polish version Portuguese version Romanian version Russian version Slovak version Slovenian version Serbian version Swedish version Tagalog version Ukrainian version Vietnamese version Chinese version Turkish version
EDAboard.com map