mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 13:53:40 +00:00
kernel: use more ID::*
This commit is contained in:
parent
164dd0f6b2
commit
fdafb74eb7
69 changed files with 843 additions and 841 deletions
|
@ -133,13 +133,13 @@ struct Ice40FfinitPass : public Pass {
|
|||
if (type_str.back() == 'S') {
|
||||
type_str.back() = 'R';
|
||||
cell->type = type_str;
|
||||
cell->setPort("\\R", cell->getPort("\\S"));
|
||||
cell->unsetPort("\\S");
|
||||
cell->setPort("\\R", cell->getPort(ID::S));
|
||||
cell->unsetPort(ID::S);
|
||||
} else
|
||||
if (type_str.back() == 'R') {
|
||||
type_str.back() = 'S';
|
||||
cell->type = type_str;
|
||||
cell->setPort("\\S", cell->getPort("\\R"));
|
||||
cell->setPort(ID::S, cell->getPort("\\R"));
|
||||
cell->unsetPort("\\R");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue