LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[FPGA] Associate existing FPGA target with actual hardware?

Solved!
Go to solution

I started writing some FPGA code and to support this I created a 'new' FPGA device- i.e. a device in the project but not associated with any real hardware.

 

A colleague now has access to some real hardware and is trying to run the code on it, but has resorted to creating another FPGA target from the existing (real hardware) FPGA device and copying the code hierarchy from the other 'virtual' device over to it. This also involved having to copy/recreate items such as FIFOs in the project hierarchy.

 

Is there an easier way to just associate the target we created in the first place with the real hardware?

0 Kudos
Message 1 of 5
(2,190 Views)

Sure, just drag the FPGA target to the desired location within the project. Works within one project or between 2 project explorers.

Message 2 of 5
(2,152 Views)

Thanks Dan, certainly helpful info but didn't quite answer the exam question. It turned out we didn't need to do anything. I was thinking with the mindset of someone coming from DAQ hardware where there is the concept of simulated and real hardware. For FPGA there is no real distinction- your FPGA item either has a reference to real hardware or not. When we loaded the project on a system with real hardware, it recognised it and was good to go without recreating the FPGA item.

 

Cheers

0 Kudos
Message 3 of 5
(2,115 Views)
Solution
Accepted by topic author ToeCutter

Sorry, I thought the issue was to move an FPGA target from one project to another (already existing) without having to recreate FIFOs, clocks and other resources.

If your FPGA card sits in a real-time controller you can just change the IP address of the real-time system (from 0.0.0.0 or any other IP to the actual real-time controller IP) to have it run on a particular system.

 

 

Message 4 of 5
(2,109 Views)

Thanks again Dan. TBH, I can understand the confusion upon re-reading my OP!

0 Kudos
Message 5 of 5
(2,104 Views)