This PR fixes the failure in #486 (which is because the PR branch is not up-to-date and does not cover necessary CI formatting tests).
Also, it fixes the insertion point for GlobalOp. We should follow C/C++ convention that declare all the required variables before usage. For example, instead of
This PR fixes the failure in #486 (which is because the PR branch is not up-to-date and does not cover necessary CI formatting tests).
Also, it fixes the insertion point for
GlobalOp
. We should follow C/C++ convention that declare all the required variables before usage. For example, instead ofWe should do the following
This would also simplify the backend HLS codegen.