mirror of https://github.com/YosysHQ/yosys.git
attribute -> attr
This commit is contained in:
parent
61b4d7ae13
commit
b0a3b430bf
|
@ -12,7 +12,7 @@ endcode
|
||||||
|
|
||||||
match first
|
match first
|
||||||
select first->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
select first->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
||||||
select !first->has_keep_attribute()
|
select !first->has_keep_attr()
|
||||||
filter !non_first_cells.count(first)
|
filter !non_first_cells.count(first)
|
||||||
//generate
|
//generate
|
||||||
// SigSpec A = module->addWire(NEW_ID);
|
// SigSpec A = module->addWire(NEW_ID);
|
||||||
|
@ -49,7 +49,7 @@ subpattern setup
|
||||||
|
|
||||||
match first
|
match first
|
||||||
select first->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
select first->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
||||||
select !first->has_keep_attribute()
|
select !first->has_keep_attr()
|
||||||
endmatch
|
endmatch
|
||||||
|
|
||||||
code
|
code
|
||||||
|
@ -72,7 +72,7 @@ endcode
|
||||||
|
|
||||||
match next
|
match next
|
||||||
select next->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
select next->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
||||||
select !next->has_keep_attribute()
|
select !next->has_keep_attr()
|
||||||
select !port(next, \D)[0].wire->get_bool_attribute(\keep)
|
select !port(next, \D)[0].wire->get_bool_attribute(\keep)
|
||||||
select nusers(port(next, \Q)) == 2
|
select nusers(port(next, \Q)) == 2
|
||||||
index <IdString> next->type === first->type
|
index <IdString> next->type === first->type
|
||||||
|
@ -105,7 +105,7 @@ arg first
|
||||||
match next
|
match next
|
||||||
semioptional
|
semioptional
|
||||||
select next->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
select next->type.in($_DFF_N_, $_DFF_P_, $_DFFE_NN_, $_DFFE_NP_, $_DFFE_PN_, $_DFFE_PP_, \FDRE, \FDRE_1)
|
||||||
select !next->has_keep_attribute()
|
select !next->has_keep_attr()
|
||||||
select !port(next, \D)[0].wire->get_bool_attribute(\keep)
|
select !port(next, \D)[0].wire->get_bool_attribute(\keep)
|
||||||
select nusers(port(next, \Q)) == 2
|
select nusers(port(next, \Q)) == 2
|
||||||
index <IdString> next->type === chain.back()->type
|
index <IdString> next->type === chain.back()->type
|
||||||
|
|
Loading…
Reference in New Issue