EmbDev.net

Forum: FPGA, VHDL & Verilog File system in vivado SDK


von Sai S. (Company: sssihl) (shashidhar)


Attached files:

Rate this post
useful
not useful
Hi all,
Can i use file systems in SDK? when i tried running simple example(shown 
below) on zynq, it is not giving me any results. Can someone please tell 
me why it is so?

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Sai S. wrote:
> it is not giving me any results.
What does it do instead? Does it run? Does it report any kind of 
error? Do you at least get a valid filepointer?

> Can i use file systems in SDK?
Does your hardware support any kind of memory on which a file system 
can be implemented?

> fp = fopen ("C:\\Users\\Sairam\\Desktop\\OUTPUT\\file.txt", "w+");
Ouch, ouch. Does your zynq hardware have a drive "c:\"?
As far as I see: you have a big problem about understandig where your 
software is running actually.
It is NOT running on your PC with your drive "C:\Users\...". Instead you 
develop software thats running on a zynq-board on your table without any 
drive "C:\Users\...".

> Can someone please tell me why it is so?
Become clear about the design flow and the target. At the moment you are 
on the very wrong track!

: Edited by Moderator
von Sai S. (Company: sssihl) (shashidhar)


Rate this post
useful
not useful
HI
thanks for the reply. I am new to this area. I got a fair idea of what 
is happening. Basically i need to process a file of size 25MB. If i 
store that in a header file in vivado SDK, the compiler hangs. So i was 
exploring these options.

Do you have any idea regarding this.(I am using zed board (zynq 7000) 
for processing)

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Sai S. wrote:
> Basically i need to process a file of size 25MB.
What kind of data is in the file? What kind of process must the FPGA 
perform?

Usually it goes like this: you read the file in the PC and send a 
datastream via Ethernet to the FPGA. The FPGA does some calculations and 
sends the result back to the PC. There you store it an the hard disk.

> If i store that in a header file in vivado SDK, the compiler hangs
If you have the MicroZed at least, then you have a microSD port. And 
there should be some samples how to access it.

> I got a fair idea of what is happening.
To be honest: I'm not that sure at all...

: Edited by Moderator
von Julian Bauer (Guest)


Rate this post
useful
not useful
if you set up a file system in bare metal, please let me know

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.