LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Initialize FPGA Memory (Block RAM) by means of "Initialization VI" ?

Hi,

 

I try to initialize FPGA Memory (Block RAM) by means of "Initialization VI", but 

I can not find any document which describes the procedure.

 

My goal is to use an " Initialization VI" to generate the desired content of FPFA Memory (ROM Type).

Where can I find the document describing the procedure ?

or could anyone describe the procedure for me?

 

Thanks

 

Godel Sung

 

0 Kudos
Message 1 of 5
(5,771 Views)

nathand 已寫:

Have you looked at the help? http://zone.ni.com/reference/en-XX/help/371599H-01/lvfpgamain/fpga_define_memory_db/


Hi nathand,

Thanks for your reply.

I have find the way to initialize FPGA Memory through "Initialization VI".

 

There is a key step which is not described in the help.

The output name of "Initialization VI" should be "Init Data Out" and

the data type of the output should be an array which contains the "Initialization Data".

 

Godel

Message 3 of 5
(5,716 Views)

Hi Godel,

 

You are right, this is a very simple idea.

Let's back into standard function, in standard function, user could give a default value for each address by few basic function.

However, sometimes we need to customize the initial value. That is the purpose of initialization VI does.

According this conception, it is not too difficult to consider the initialization VI to be a customize purpose VI.

In this VI, you could use a simple loop to provide the value for each memory to realize the custom default value.

 

As below image shown, you just click the buttom to create a template then modify it.

 

BRs,

Harvey

 

2014-12-16_094412.png

0 Kudos
Message 4 of 5
(5,677 Views)

Hi, Could you please help to find a way to initialize FPGA memory in CRIO with the waveform values from a CSV file. My CSV file has 30000 values which I need to write to the FPGA memory. How to do this through the initialization VI?

0 Kudos
Message 5 of 5
(801 Views)