1

I would like to change default_nettype in my RTL design without explicitly modifying the respective compiler directive within each file.

Is there a way to override it in ModelSim software?

yildizabdullah
  • 1,895
  • 5
  • 24
  • 37
  • 3
    in verilog you only need to add this directive to the very first file in the compilation list. Unless it gets overwritten in some other files, it will stick. Alternatively you can add it to a common \`include file if you have one. – Serge Jun 02 '21 at 12:59

1 Answers1

2

The answer to your question is no.

dave_59
  • 39,096
  • 3
  • 24
  • 63