Jonathan Balkind
Jonathan Balkind
The core doesn't know the real world time under simulation. A verilog system task like $time can give you the simulated time within the simulation I think. I have never...
You could use SystemVerilog C++ DPI and bring in the time from C++ code. You'd need to figure out how to do this yourself.
Yes, there is a CLINT which contains mtime and mtimecmp registers which can be accessed via the memory app using load and store instructions (or the relevant CSR operations). Also,...
Can you instead try the hello_world_token.c test that I think should be released with metro-mpi? There's a software bottleneck in the test itself which that test should help with in...
The regular cva6-sdk isn't designed to run with OpenPiton. You could try this branch instead which I have kept more up to date and tends to work better: https://github.com/Jbalkind/ariane-sdk/tree/openpiton-opensbi That...
The bare metal environment used in simulation doesn't support functions like fopen() and fclose(). Are you able to run on FPGA instead?
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.
Again, the core is running bare metal code. It does not have those functions.
Read the thread I mentioned on the Google group.
To be clear, we only observed this issue on UltraScale+ FPGAs and we've actually had a user who ran on vcu118 or similar without the issue so I think there's...