Altera_Forum
Honored Contributor
7 years agoModelSim Intel FPGA Starter edition 10.5b fails to simulate due to mem alloc fail
Just fired up ModelSim FPGA Starter edition 10.5b and tried to simulate the simplest of models to get a feel for the tool. The testbench contains a file reader pushing test vectors into a DUT stub. Goes nowhere fast.
Working on a Windows 10 PC, with an i7, 16GB memory, 200GB of swap, no other tools running, so there is plenty of memory available, but vsim provides this log: vsim work.add_tb(behavior)# vsim work.add_tb(behavior) # Start time: 08:01:46 on Mar 23,2018# Loading std.standard# Loading std.textio(body)# Loading ieee.std_logic_1164(body)# Loading ieee.std_logic_textio(body)# Loading ieee.numeric_std(body)# Loading work.add_tb(behavior)# Loading work.test_vector_reader(behavior)# ** Fatal: (vsim-4) ****** Memory allocation failure. *****# Attempting to allocate 2147483664 bytes# Please check your system for available memory and swap space.# ** Fatal: (vsim-4) ****** Memory allocation failure. *****# Attempting to allocate 2147483664 bytes# Please check your system for available memory and swap space.# ** Fatal: (vsim-4) ****** Memory allocation failure. *****# Attempting to allocate 2147483648 bytes# Please check your system for available memory and swap space.# ** Fatal: (vsim-4) ****** Memory allocation failure. *****# Attempting to allocate 2147483648 bytes# Please check your system for available memory and swap space.# ** Fatal: (SIGSEGV) Bad handle or reference.# Time: 0 ps Iteration: 0 Process: /add_tb/U1/file_io File: C:/Users/tomtz/Documents/dev/posit-qa/hw/vhdl/test_vector_reader.vhdl# FATAL ERROR while loading design# Error loading design