Skip to content

Commit

Permalink
Done registration condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansaya committed Feb 28, 2023
1 parent 5a3131c commit f0d2f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLS/stg/BB_based_stg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ DesignFlowStep_Status BB_based_stg::InternalExec()

HLS->STG->ComputeCyclesCount(is_pipelined);
HLS->registered_done_port = [&]() {
if(!HLS->STG->CGetStg()->CGetStateTransitionGraphInfo()->bounded)
if(HLS->STG->CGetStg()->CGetStateTransitionGraphInfo()->min_cycles != 1 && !is_pipelined)
{
/// check for unbounded op executed in the last step
/// this ops creates problems with done port registering
Expand Down

0 comments on commit f0d2f65

Please sign in to comment.