openpiton icon indicating copy to clipboard operation
openpiton copied to clipboard

Facing Issue in accesing threads.

Open Rahulritgithub opened this issue 1 year ago • 7 comments

I'm Trying to access 4 threads each should calculate some factorial code parallely and should write in a specific directory Using fopen() and fclose() file library

Rahulritgithub avatar Jan 09 '25 06:01 Rahulritgithub

The bare metal environment used in simulation doesn't support functions like fopen() and fclose(). Are you able to run on FPGA instead?

Jbalkind avatar Jan 09 '25 17:01 Jbalkind

Ok Jonathan. So I want to write verilog code to accept fopen and fclose right?

On Thu, 9 Jan 2025, 11:11 pm Jonathan Balkind, @.***> wrote:

The bare metal environment used in simulation doesn't support functions like fopen() and fclose(). Are you able to run on FPGA instead?

— Reply to this email directly, view it on GitHub https://github.com/PrincetonUniversity/openpiton/issues/159#issuecomment-2580904669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXT3RMUNONK6MXTZZUQZSUD2J2YF5AVCNFSM6AAAAABU3N4QBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBQHEYDINRWHE . You are receiving this because you authored the thread.Message ID: @.***>

Rahulritgithub avatar Jan 19 '25 15:01 Rahulritgithub

I don't know. You haven't really given me enough information to say. This sounds a lot like a recent discussion on the openpiton Google group that you could read.

Jbalkind avatar Jan 20 '25 17:01 Jbalkind

I don't know. You haven't really given me enough information to say. This sounds a lot like a recent discussion on the openpiton Google group that you could read.

we are running on linux only using VNC so can we use fopen fclose?

praveen1709-hub avatar Jan 22 '25 08:01 praveen1709-hub

Again, the core is running bare metal code. It does not have those functions.

Jbalkind avatar Jan 23 '25 01:01 Jbalkind

Again, the core is running bare metal code. It does not have those functions.

thanks for that, but is there any possible other ways you can suggest?

praveen1709-hub avatar Jan 23 '25 04:01 praveen1709-hub

Read the thread I mentioned on the Google group.

Jbalkind avatar Jan 23 '25 04:01 Jbalkind