mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Added $sop cell type and "abc -sop"
This commit is contained in:
parent
c3365034e9
commit
52bb1b968d
7 changed files with 171 additions and 31 deletions
|
@ -845,6 +845,15 @@ namespace {
|
|||
return;
|
||||
}
|
||||
|
||||
if (cell->type == "$sop") {
|
||||
param("\\DEPTH");
|
||||
param("\\TABLE");
|
||||
port("\\A", param("\\WIDTH"));
|
||||
port("\\Y", 1);
|
||||
check_expected();
|
||||
return;
|
||||
}
|
||||
|
||||
if (cell->type == "$sr") {
|
||||
param_bool("\\SET_POLARITY");
|
||||
param_bool("\\CLR_POLARITY");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue