mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 10:42:24 +00:00
add unused-row assertion
This commit is contained in:
parent
d3c498231e
commit
e5a1f84bf8
|
@ -96,6 +96,7 @@ fn map_remaining_olmc(
|
|||
Ok(x)
|
||||
}
|
||||
None => {
|
||||
assert!(!unused.is_empty(), "should have rows available");
|
||||
let minsize = unused.iter().map(|x| x.1).min().unwrap();
|
||||
Err(MappingError::SopTooBig {
|
||||
name: sop.name.unwrap(),
|
||||
|
|
Loading…
Reference in a new issue