circt/test/Conversion/CombToAIG
Hideto Ueno ee62dbcbe0
[CombToAIG] Add support for div/mod operations (#8130)
This patch adds support for lowering comb div/mod operations to AIG:
* Support unsigned div/mod for power-of-2 constant divisors 
* Support for non-power-of-2 divisors by emulating the operation with a mux tree when the number of unknown bits is small (default threshold is 10 bits). This is not ideal and eventually we should lower to a proper div/mod. Practically this lowering pattern covers many cases since users rarely use div/mod because these operations are very expensive (users write their own div/mod in their frontend language).  
* LEC tests are added.
2025-02-03 15:11:09 -08:00
..
comb-to-aig-arith.mlir [CombToAIG] Add support for div/mod operations (#8130) 2025-02-03 15:11:09 -08:00
comb-to-aig.mlir [CombToAIG] Add a pattern for lowering varidaic operations 2024-12-13 00:09:08 -08:00