Forum Discussion
Altera_Forum
Honored Contributor
9 years agoThe manuals which came with older versions of ModelSim had more discussion. Based on some of that information here's one way to try to control if a memory is sparse:
reg /*sparse*/ mem0;
But then the tools warn that they won't support it: vlog test.v
Model Technology ModelSim ALTERA vlog 10.4b Compiler 2015.05 May 27 2015
-- Compiling module test
** Warning: test.v(4): (vlog-2154) Cannot mark any array in personal edition as sparse.
It seems like SparseMemThreshold in modelsim.ini is ignored as well. It seems strange that the tools would intentionally ignore attempts to implement plain old arrays as sparse, but then support SystemVerilog associative arrays.