Closed chhzh123 closed 4 years ago
Should be solved by #237.
Yes... This issue is solved, but #193 happens again. After removing the rewrite_unsafe_select pass, the data type casting before some variables is removed, causing synthesis error.
We are supposed to add a regression test for each bug fix. Did we do that for #193? Going forward, let's do mention where the new test case is added before closing an issue.
Yes. We did that for #193. I did modify the test to reflect our latest change. However, it seems that the modification is not always true. Let me do more verification.
I bring back the old test for testing #193 in #238. This should ensure the generated VHLS code after removing the rewrite_unsafe_select
pass work.
@chhzh123 please see if this is solved. Thanks.
Yes, it's fixed. Thanks!
The following program causes a Runtime Error when accessing bit 0 of tensor
A
inhcl.select
.Error message is shown below.
However, if I remove
hcl.select
, the program is able to run.