Open gabrielrodcanal opened 11 months ago
For (1) and (2), you can run mlir-aie
to generate a core program plus some header files contain some configuration data for the test you want to execute, and then you can integrate them here. Some information regarding specific locks and the buffer offsets could be found in mlir-aie
source code. I would also try looking at a few test files and official AIE documents as well..
Regarding (3), there are tests that demonstrate how to link anAIE.core
with an external core file, for example: tests/unit_tests/13_julia_fp/aie.mlir
. I think there is also some MLIR op that let you define location agnostic core, but not sure about its current status now. Maybe try checking with mlir-aie
repo?
Hi,
So it seems the address of the buffer can be specified as an attribute in the aie.buffer
operation. I'm not sure if the address is 0x38000
? Could you point out to a reference on what the fields in the .bcf file mean? I couldn't find it. Also, could you please explain why this address in particular?
Thank you.
Hi, I intend to use this design to load AIE kernels generated in MLIR. As a first step, I was trying to generate the simple kernel you provide in https://github.com/nqdtan/vck5000_vivado_ulp/blob/2022.2/host_sw_with_aie/aie_core_elf/core.cc#L24
To my understanding, the MLIR code should look something like this:
That code doesn't do exactly the same, but it's useful to ask the following questions: