mirror of https://github.com/YosysHQ/yosys.git
Extend test with renaming cells with prefix too
This commit is contained in:
parent
369652d4b9
commit
a4f2f7d23c
|
@ -2,6 +2,7 @@ read_verilog <<EOT
|
||||||
module sub(input i, output o, input j);
|
module sub(input i, output o, input j);
|
||||||
foobar _TECHMAP_REPLACE_(i, o, j);
|
foobar _TECHMAP_REPLACE_(i, o, j);
|
||||||
wire _TECHMAP_REPLACE_.asdf = i ;
|
wire _TECHMAP_REPLACE_.asdf = i ;
|
||||||
|
barfoo _TECHMAP_REPLACE_.blah (i, o, j);
|
||||||
endmodule
|
endmodule
|
||||||
EOT
|
EOT
|
||||||
design -stash techmap
|
design -stash techmap
|
||||||
|
@ -14,3 +15,4 @@ EOT
|
||||||
|
|
||||||
techmap -map %techmap
|
techmap -map %techmap
|
||||||
select -assert-any w:s0.asdf
|
select -assert-any w:s0.asdf
|
||||||
|
select -assert-any c:s0.blah
|
||||||
|
|
Loading…
Reference in New Issue