MaistoV / UninaSoC

RISC-V soft-SoC extensible plaftorm for Xilinx FPGAs from University of Naples Federico II.
Apache License 2.0
4 stars 5 forks source link

[feature/linker_cleanup] Clean up the sw + linking flow #24

Open MaistoV opened 6 days ago

MaistoV commented 6 days ago

Currently, each sw app uses aits own linker script and not the one config-generated, which is just a stub.

  1. We should have a/some common .ld(s) in a given folder, config-generated, which all SoC apps refer to.
  2. The physical addresses of peripherals should come from linker-defined symbols, not hardcoded in headers. Alternatively, we should define a SoC header

From meeting minutes, this task also involves:

Optionally, also:

Granp4sso commented 1 day ago

In addition to this, we should also understand how to deal with external libraries, wether they are different repos or not. Also, we should decide for a structure of the SoC sw directory.