Source code security and -nodebug
The -nodebug option on both vcom and vlog hides internal model data. This allows a model supplier to provide pre-compiled libraries without providing source code and without revealing internal model variables and structure.
If a design unit is compiled with -nodebug the Source window will not display the design unit's source code, the Structure window will not display the internal structure, the Signals window will not display internal signals (it still displays ports), the Process window will not display internal processes, and the Variables window will not display internal variables. In addition, none of the hidden objects may be accessed through the Dataflow window or with ModelSim commands.
Even with the data hiding of -nodebug, there remains some visibility into models compiled with -nodebug. The names of all design units comprising your model are visible in the library, and you may invoke vsim directly on any of these design units and see the ports. Design units or modules compiled with -nodebug can only instantiate design units or modules that are also compiled -nodebug
To restrict visibility into the lower levels of your design you can use the following nodebug switches when you compile.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |