attribute -> attr
authorEddie Hung <eddie@fpgeh.com>
Wed, 21 Aug 2019 22:44:07 +0000 (15:44 -0700)
committerEddie Hung <eddie@fpgeh.com>
Wed, 21 Aug 2019 22:44:07 +0000 (15:44 -0700)
passes/pmgen/xilinx_srl.pmg

index e90bac68d49c2fa1b1c7d432b9f59a4a89d83ae2..6c740b7a7911dea0e567608b3f6cca34e4d53e4c 100644 (file)
@@ -12,7 +12,7 @@ endcode
 
 match first
        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)
 //generate
 //     SigSpec A = module->addWire(NEW_ID);
@@ -49,7 +49,7 @@ subpattern setup
 
 match first
        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
 
 code
@@ -72,7 +72,7 @@ endcode
 
 match next
        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 nusers(port(next, \Q)) == 2
        index <IdString> next->type === first->type
@@ -105,7 +105,7 @@ arg first
 match next
        semioptional
        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 nusers(port(next, \Q)) == 2
        index <IdString> next->type === chain.back()->type