2 # Simple test of hierarchy -auto-top.
6 ..
/..
/yosys
-q -s - <<- EOY 2>&1 | grep "Automatically selected TOP as design top module"
12 aoi12 p [31:0] (a, y);
24 ..
/..
/yosys
-q -s - <<- EOY 2>&1 | grep "Automatically selected TOP as design top module"
42 ..
/..
/yosys
-q -s - <<- EOY 2>&1 | grep "Automatically selected noTop as design top module."