PandA-bambu icon indicating copy to clipboard operation
PandA-bambu copied to clipboard

testbench generation error with clang12

Open SerenaC94 opened this issue 2 years ago • 0 comments

bambu test_issue.c --top-fname=test_function --simulate --generate-tb=test.xml --compiler=I386_CLANG10 -v4 -> synthesis and simulation work fine

bambu test_issue.c --top-fname=test_function --simulate --generate-tb=test.xml --compiler=I386_CLANG12 -v4 -> testbench generation fails with the following error:

C-based testbench generation for function test_function: /files0/extended/curz959/issue_panda/HLS_output//simulation/values.c
error -> Unexpected nested initialization tree_reindex - Current status is tree_reindex[0]:tree_reindex[0]

All files attached in clang12.zip. I am using bambu version afa080171819389ea58433e3865fbc9fbfc3935f-dev/panda.

SerenaC94 avatar May 13 '22 21:05 SerenaC94