mirror of https://github.com/YosysHQ/yosys.git
Merge branch 'eddie/fix_techmap' into xaig_arrival
This commit is contained in:
commit
affe9c9c1a
|
@ -943,7 +943,7 @@ struct TechmapPass : public Pass {
|
||||||
log(" instead of inlining them.\n");
|
log(" instead of inlining them.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -max_iter <number>\n");
|
log(" -max_iter <number>\n");
|
||||||
log(" only run the specified number of iterations for each module.\n");
|
log(" only run the specified number of iterations on each module.\n");
|
||||||
log(" default: unlimited\n");
|
log(" default: unlimited\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -recursive\n");
|
log(" -recursive\n");
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
module top;
|
||||||
|
sub s0();
|
||||||
|
foo f0();
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
module foo;
|
||||||
|
sub s0();
|
||||||
|
endmodule
|
|
@ -0,0 +1,4 @@
|
||||||
|
module sub;
|
||||||
|
sub _TECHMAP_REPLACE_ ();
|
||||||
|
bar f0();
|
||||||
|
endmodule
|
|
@ -0,0 +1,3 @@
|
||||||
|
set -ev
|
||||||
|
|
||||||
|
../../yosys -p 'hierarchy -top top; techmap -map recursive_map.v -max_iter 1; select -assert-count 2 t:sub; select -assert-count 2 t:bar' recursive.v
|
Loading…
Reference in New Issue