tilus.ir.layout.divide¶
- tilus.ir.layout.divide(lhs, rhs)[source]¶
Divide two layouts.
Given two layouts lhs and rhs, the divide function will return a new layout result, such that:
lhs = compose(result, rhs)
If no such layout exists, the function will raise a LayoutOperationFailed exception.
- Parameters:
lhs (RegisterLayout) – The layout to be divided.
rhs (RegisterLayout) – The layout to divide by.
- Returns:
ret – The result layout.
- Return type: