2 # Simple test of hierarchy -auto-top.
6 echo -n " TOP first - "
7 ..
/..
/yosys
-s - <<- EOY | grep "Automatically selected TOP as design top module"
13 aoi12 p [31:0] (a, y);
25 echo -n " TOP last - "
26 ..
/..
/yosys
-s - <<- EOY | grep "Automatically selected TOP as design top module"
44 echo -n " no explicit top - "
45 ..
/..
/yosys
-s - <<- EOY | grep "Automatically selected noTop as design top module."