Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Access DLL files from FPGA

Status
Not open for further replies.

marufsust

Newbie level 6
Joined
May 5, 2010
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,383
Hi All,

I am a PhD student. Recently for my research purpose I bought some SMART SWITCHES which can be controlled from PC. I use their DLL files in MATLAB and can access the functions. However, I need to access those functions from FPGA Board. FYI, My FPGA board is ALTERA DE4 (Stratix IV) and I prefer Verilog as my HDL coding.

The MATLAB code is given below...

loadlibrary('<DLL_Name>', '<HEADER_Name>');
calllib('<DLL_Name>','<FN_Name>'...);
unloadlibrary('<DLL_Name>');

Thanx in ADVANCE....
 

The right way to approach this is to get the datasheet for the smart switches and use that to build a sequencer in the FPGA that sends the smart switch programming sequence.

If you insist on using the DLL, then design an Intel compatible instruction set processor in your FPGA board and run Windows on it. (Note: this isn't possible with the DE4 or likely any FPGA board you can find, maybe some expandable ASIC emulation system might be big enough)
 

Will the FPGA board be used with a PC connected? In that case you can use the PC as a "bridge" to the smart switches. Define your own protocol between the FPGA board and the PC, and let the PC use the DLL's to control the switches.
 
Yes my FPGA board is connected with a PC and the SMART switches connects with that PC (via USB interface).

- - - Updated - - -

DATASHEET?? Can you just explain a little bit more? The smart switches provides only the DLL and their own HEADER files.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top