win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key cheap Win 7 key win 7 professional Windows 7 key windows-7-ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key store Windows 7 Professional Product Key Windows-7-Ultimate-Product-Key windows-7-home-premium buy Windows 7 key Office-2013-key office-professional-plus-2013 Office-2010-key Office-2016-key windows 8 key windows-8-key-sale windows 8.1 key windows 8.1 product key windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key windows 7 home Windows 7 professional windows 7 pro windows 7 key Windows 7 professional windows 10 product key windows 10 key windows 8 key Windows 8.1 professional windows 8.1 pro office 2013 key office-2010 serial key office 2010 key windows 10 key windows 7 home premium windows 7 ultimate windows 8.1 key windows 8 professional windows 7 ultimate windows 7 key windows 7 home windows 7 activation key win 10 professional office 2010 key Windows 7 Product Key Windows 7 Key Windows 7 iso Windows 7 ultimate

LabVIEW FPGA – Static RAM – Part 1

Here is a quick overview of how to use Static RAM with the LabVIEW FPGA Module:

You first have to declare a piece of Static RAM, to do this you have 2 options:

Option 1 – Declare an FPGA global Static RAM

Right-click on the FPGA target, and select “New->Memory”

01_add_memory

The default options are fine, I chose to rename my RAM to “My_SRAM”, and to set the number of cycles of read latency to 1. (The default option was 2)

02_add_memory_options

Here is what the project looks like after adding FPGA global Static RAM:

03_project_with_sram

Option 2 – Declare FPGA vi-scoped Static RAM

From an FPGA vi, right click and select  “Data Storage & Transfer->VI-Defined Memory Configuration”04_vi_scoped_add_memory

And you will see the following on your Block Diagram:

05_vi_scoped_memory

Double-click on it and you will see the same options as before.  Rename it and set the # of cycles of read latency to 1.

 

After you have added some Static RAM to your project, you will be able to either Read from the memory, or write to it.  Additionally, you should only read or write to it from one place each, and to do both operations from inside a Single-Cycle Timed Loop.  (Note: Yes, you can do it from outside these locations, but I do not recommend that a newbie do so.)

The VI to use for both reading and writing can be accessed from the “Data Storage & Transfer” palette.  It is called “Memory Method Node”.  You right-click on it and select between “Read” and “Write”.  You also have to wire in a reference to the SRAM.  The reference can be from a Constant, where you can pick the FPGA global SRAM from a combox, or it can be a wire from the VI-defined SRAM.

07_select_ram

Now the Write method contains 2 input terminals, one for the Address, and one for the data. Memory addresses, are indexed starting with 0, and the data type wired in should match the data type defined in the memory configuration.  See here, for what is probably the most simple LabVIEW FPGA SRAM example in the world:

08_vi_snippet_sram_example

note: The above is also a VI snippet, which means you can drag and drop it directly into a VI and it will produce the appropriate code for you!

You can see the source code on github here:

https://github.com/JohnStratoudakis/LabVIEW_Fpga/tree/master/SRAM/01_SRAM_Simple

You can also download a zip file from here:

http://quantprogrammer.com/Code/01_SRAM_Simple.zip

Here is a quick overview of how to use Static RAM with the LabVIEW FPGA Module:

You first have to declare a piece of Static RAM, to do this you have 2 options:

Option 1 – Declare an FPGA global Static RAM

Right-click on the FPGA target, and select “New->Memory”

01_add_memory

The default options are fine, I chose to rename my RAM to “My_SRAM”, and to set the number of cycles of read latency to 1. (The default option was 2)

02_add_memory_options

Here is what the project looks like after adding FPGA global Static RAM:

03_project_with_sram

Option 2 – Declare FPGA vi-scoped Static RAM

From an FPGA vi, right click and select  “Data Storage & Transfer->VI-Defined Memory Configuration”04_vi_scoped_add_memory

And you will see the following on your Block Diagram:

05_vi_scoped_memory

Double-click on it and you will see the same options as before.  Rename it and set the # of cycles of read latency to 1.

 

After you have added some Static RAM to your project, you will be able to either Read from the memory, or write to it.  Additionally, you should only read or write to it from one place each, and to do both operations from inside a Single-Cycle Timed Loop.  (Note: Yes, you can do it from outside these locations, but I do not recommend that a newbie do so.)

The VI to use for both reading and writing can be accessed from the “Data Storage & Transfer” palette.  It is called “Memory Method Node”.  You right-click on it and select between “Read” and “Write”.  You also have to wire in a reference to the SRAM.  The reference can be from a Constant, where you can pick the FPGA global SRAM from a combox, or it can be a wire from the VI-defined SRAM.

07_select_ram

Now the Write method contains 2 input terminals, one for the Address, and one for the data. Memory addresses, are indexed starting with 0, and the data type wired in should match the data type defined in the memory configuration.  See here, for what is probably the most simple LabVIEW FPGA SRAM example in the world:

08_vi_snippet_sram_example

note: The above is also a VI snippet, which means you can drag and drop it directly into a VI and it will produce the appropriate code for you!

You can see the source code on github here:

https://github.com/JohnStratoudakis/LabVIEW_Fpga/tree/master/SRAM/01_SRAM_Simple

You can also download a zip file from here:

http://quantprogrammer.com/Code/01_SRAM_Simple.zip

Leave a Comment