Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions include/circt/Dialect/HW/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,12 @@ def HWAggregateToComb : Pass<"hw-aggregate-to-comb", "hw::HWModuleOp"> {
let dependentDialects = ["comb::CombDialect"];
}

def HWVectorization : Pass<"hw-vectorization", "hw::HWModuleOp"> {
let summary = "Vectorizes bit-level operations in HW dialect";
let description = [{
This pass performs structural vectorization of hardware modules,
merging scalar bit-level assignments into vectorized operations.
}];
}

#endif // CIRCT_DIALECT_HW_PASSES_TD
1 change: 1 addition & 0 deletions lib/Dialect/HW/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ add_circt_dialect_library(CIRCTHWTransforms
VerifyInnerRefNamespace.cpp
FlattenModules.cpp
FooWires.cpp
HWVectorization.cpp

DEPENDS
CIRCTHWTransformsIncGen
Expand Down
Loading