pulp-platform / ara

The PULP Ara is a 64-bit Vector Unit, compatible with the RISC-V Vector Extension Version 1.0, working as a coprocessor to CORE-V's CVA6 core
Other
357 stars 126 forks source link

uint64_t #331

Closed grigohas closed 2 months ago

grigohas commented 2 months ago

Hello, i do make riscv-isa-sim but i get an error for the uint64_t of the device.h file and i checked that there isn't the cstdint library defined but when i add it and do make again , the device.h file is regenerated without the cstdint header. How can i solve this error?

egor-achkasov commented 2 months ago

Could you try downgrading gcc to the version 12 and running the build again? My guess us that the issue is due to a reduced usage of several headers (including cstdint that defines uint64_t) in the gcc 13 implementation.

PS: whenever you run make riscv-isa-sim it reclones the repo, including your device.h. That's why your fix won't work.

grigohas commented 2 months ago

it worked thanks