: 显示如下:
: (7006): actual bit length 16 differs from formal bit length 13 for port
: "cfgbp_link2csr"
: (120): truncated value with size 64 to match size of target (32)
: (144): truncated value with size 64 to match size of target (32)
: (241): truncated value with size 5 to match size of target (4)
: 但是砍掉就还不知道怎么做...
: 期望是:
: : actual bit length 16 differs from formal bit length 13 for port
: "cfgbp_link2csr"
: : truncated value with size 64 to match size of target (32)
: : truncated value with size 64 to match size of target (32)
: : truncated value with size 5 to match size of target (4)
研究出来用以下code可以搞定, 谢谢~
$string_2 =~ tr/^\([0-9]+\)//d;
就可以印出上述的要求了