Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace not generated when building some designs with peano (CHESS=false) #2001

Open
jackl-xilinx opened this issue Dec 20, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jackl-xilinx
Copy link
Collaborator

This is an issue with the non-chess compile flow (peano) which seems to cause issues generating trace on some designs. Most notably, the simplified vector_scalar_mul design under section-4b. This would be enabled for designs if CHESS=false is passed to the make trace command. This is still being investigated but one workaround is to modify the aiecc.py build script to remove some optimization flags for the peano build option.

If you install your design via the utils/quick_setup.sh script, the source python file will be found under mlir-aie/my_install/mlir_aie/python/aie/compiler/aiecc/main.py.

Modify line 1137 to change:

await self.do_call(progress_bar.task, [self.peano_opt_path, "--passes=default<O2>", "-inline-threshold=10", "-S", file_llvmir, "-o", file_llvmir_opt])

to

await self.do_call(progress_bar.task, [self.peano_opt_path, "-S", file_llvmir, "-o", file_llvmir_opt])

to remove the two options.

@jackl-xilinx jackl-xilinx added the bug Something isn't working label Dec 20, 2024
@jackl-xilinx jackl-xilinx self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant