diff --git a/examples/using-published/some-project/src/main/sv/some_project.sv b/examples/using-published/some-project/src/main/sv/some_project.sv index 0dc52b3..a38db2d 100644 --- a/examples/using-published/some-project/src/main/sv/some_project.sv +++ b/examples/using-published/some-project/src/main/sv/some_project.sv @@ -1,10 +1,12 @@ module some_project; import some_published_dependency::*; + `include "some_published_dependency_macros.svh" initial do_stuff(); function automatic void do_stuff(); some_class o = new(); + `some_published_dependency_macro endfunction endmodule diff --git a/examples/using-published/some-published-dependency/src/main/sv_headers/some_published_dependency_macros.svh b/examples/using-published/some-published-dependency/src/main/sv_headers/some_published_dependency_macros.svh new file mode 100644 index 0000000..752a8ab --- /dev/null +++ b/examples/using-published/some-published-dependency/src/main/sv_headers/some_published_dependency_macros.svh @@ -0,0 +1,2 @@ +`define some_published_dependency_macro \ + $display("Hello from macro");