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

    From nitin sapre@21:1/5 to All on Thu Jan 16 08:35:19 2020
    I need to store a 11776x17408 matrix in verilog in form of RAM

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kevin Neilson@21:1/5 to nitin sapre on Fri Jan 17 12:47:21 2020
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nitin sapre@21:1/5 to nitin sapre on Sun Jan 19 21:55:10 2020
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From greg.holdren@gmail.com@21:1/5 to nitin sapre on Sun Jan 19 22:44:27 2020
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nitin sapre@21:1/5 to nitin sapre on Mon Jan 20 21:00:45 2020
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Kellett@21:1/5 to nitin sapre on Tue Jan 21 14:18:00 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From morningstar.natalie@gmail.com@21:1/5 to nitin sapre on Tue Jan 21 17:35:42 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nitin sapre@21:1/5 to Michael Kellett on Tue Jan 21 21:12:26 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nitin sapre@21:1/5 to morningst...@gmail.com on Tue Jan 21 21:16:40 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Igmar Palsenberg@21:1/5 to nitin sapre on Mon Jan 27 12:36:39 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick C@21:1/5 to Igmar Palsenberg on Mon Jan 27 14:13:29 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nitin sapre@21:1/5 to nitin sapre on Wed Jan 29 22:12:53 2020
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)