The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.3.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



PULP Community
Sharing data between PULP and HWPE on HERO - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: Sharing data between PULP and HWPE on HERO (/showthread.php?tid=59)

Pages: 1 2


RE: Sharing data between PULP and HWPE on HERO - akurth - 02-06-2019

(02-06-2019, 07:47 AM)Adi Wrote: How do I do the same thing in PULPissimo? I see that there is no such constant in pulp_soc_defines.sv in PULPissimo. Do I change TCDM_END_ADDRESS in soc_interconnect.sv?

I think that should work, but I am not very familiar with PULPissimo. If it does not work, please open a new thread on this so we can direct the attention of the responsible people there.


RE: Sharing data between PULP and HWPE on HERO - Adi - 02-06-2019

(01-08-2019, 09:57 AM)akurth Wrote: What second toolchain did you use? The PULP SDK deliberately only implements a subset of the standard C library, so unless the other toolchain and the Fortran library are similarly specialized, a lot of mismatches can happen. Do you need the functions that are missing, or could you reduce the Fortran library to the required minimum and thus work around the missing functions?

I don't think the missing functions are needed for BLAS, so theoretically I think I can reduce the Fortran library so it won't use functions that are missing from the standard C library.
The problem is I'm not sure how to do this - specialize the other toolchain and reduce the Fortran library.
I've also tried to add Fortran to the hero-sdk toolchain compilation, but couldn't get it to compile the needed libgfortran.a.

Could you help with one of the methods above?
How can I make the necessary specialization to the other toolchain and to the Fortran library in it in order to prevent mismatches?
Alternatively, how can I add the libgfortran.a compilation to the hero-sdk toolchain?

Thanks!

Edit: I found a workaround and I use a library which doesn't include Fortran code. Thanks anyway!


RE: Sharing data between PULP and HWPE on HERO - Adi - 02-18-2019

Hi,


Initially I used the TCDM to share data between PULP and a HWPE in bigpulp, but I couldn't make the TCDM large enough because of FPGA BRAM and routing limitations.
I understand that I can also use rt_alloc.h API to share data between PULP and the HWPE, is that right? 
If so, how can I do it? I tried using the API but I see that the HWPE doesn't read the expected data so clearly I'm not using it right. Is there a working example somewhere?

Thanks!
Adi


RE: Sharing data between PULP and HWPE on HERO - internetdunyam - 05-17-2023

thank you Smile