It is not able to import the package which is present in the test_module_A to test_wrapper_AB , when ran below command.
Command used: emacs --batch test_wrapper_AB.sv -f verilog-batch-auto
Verilog-mode autos don't process imports, it just ignores any packagename::. If there is a typedef in a package it must be named based on the typedef-regexp rules (so it works ignoring the package::)
module test_module_A ( *import common_pkg::;** sig_A_01, sig_A_02 ); input sig_A_01; output sig_A_02; endmodule
++++++++++++++++++++++++++++++ module test_wrapper_AB (/AUTOARG/);
/AUTOOUTPUT/ /AUTOINPUT/ /AUTOWIRE/
test_module_A u_test_module_A(/AUTOINST/); endmodule // Local Variables: // verilog-library-flags:(". ") // verilog-auto-inst-param-value:t // End: +++++++++++++++++++++++++++++++++
It is not able to import the package which is present in the test_module_A to test_wrapper_AB , when ran below command. Command used: emacs --batch test_wrapper_AB.sv -f verilog-batch-auto