Altera_Forum
Honored Contributor
16 years agoModelsim -nodebug with megafunctions
I used the -nodebug option with vcom to compile some VHDL into encrypted RTL for simulation (to be distributed with an IP core product). However, I cannot use it to simulate my design since it instantiates Altera Megafunctions (ie. dcfifo). Modelsim-Altera complains Error: (vsim-3067) Debug module 'C:\altera\90\modelsim_ase\altera\vhdl\altera_mf.dcfifo(behavior)' called from nondebug module 'c:\*deleted*\sim.pst_altera_async_fifo_wrapper(struc)'.
Now this error is pretty self explanitory and I understand why it would stop short on simulating (so that internal signals are not shown). So my question is this: how am I supposed to generate protected (encrypted) precompiled code for RTL simulation if I rely on megafunction components for fifos, memory, and multipliers? I would like to avoid just using obfuscated code (the alternative).