Skip to content

Commit

Permalink
ppeline nesting, wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Dec 6, 2023
1 parent e7e0891 commit 89eccad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2644,6 +2644,15 @@ Algorithm::t_combinational_block *Algorithm::gatherPipeline(siliceParser::Pipeli
insertVar(var, _current->context.parent_scope != nullptr ? _current->context.parent_scope : _current);
}
}
// if nested, convert parent pipeline trickling into rewrite rules
/*
// TODO FIXME: this does not work as parent has not yet determined its trickling vios
// TODO FIXME: closure on rewrite rules necessary?
if (_current->context.pipeline_stage != nullptr) {
for (const auto& tv : _current->context.pipeline_stage->pipeline->trickling_vios) {
_current->context.vio_rewrites.insert(std::make_pair(tv.first, tricklingVIOName(tv.first, _current->context.pipeline_stage)));
}
}*/
// add a block for after pipeline
t_combinational_block *after = addBlock(generateBlockName(), _current);
// set next of last stage
Expand Down

0 comments on commit 89eccad

Please sign in to comment.