Forum Discussion
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- Do you mean, that there is some subsets of Verilog language - for example one subset (name it Synthesizable) is devoted to hardware synthesis, another subset (name it Behavior) is for modeling ? --- Quote End --- Yes, Only a subset of the verilog language is synthesizable. The higher level functions like $display and $monitor were really meant as aids to debugging the code Usually you have a top level testbench that is not synthesizable that you that you tell quartus it is not the TOP of your design. If you have have non-synthesizable debug $displays in your synthesizable code, you tell quartus to ignore these with pragma's //synthesis translate_off and //synthesis translate_on --- Quote Start --- For example ModelSim (Mentor Graphics) could compile the upper code. --- Quote End --- Yes. All the simulators will support the non-synthesizable constructs $display, $montitor, etc. Pete