That was a good hint,
rm -rf work
mkdir work
ghdl -i *.vhd
ghdl -i --work=simprim /opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/*.vhd
ghdl -i --work=simprim
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/mti/*.vhd
ghdl -i --work=simprim
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/*.vhd
ghdl -m -g -Psimprim -Wa,--32 -Wl,-m32 --warn-no-vital-generic
--no-vital-checks --ieee=synopsys -fexplicit tb_lm_cpu
../../../src/vital2000/timing_b.vhdl:196:15:warning: procedure
"vitalerror" is never referenced
../../../src/vital2000/timing_b.vhdl:217:15:warning: procedure
"vitalerror" is never referenced
../../../src/vital2000/prmtvs_b.vhdl:1041:15:warning: function "toedge"
is never referenced
../../../src/synopsys/std_logic_arith.vhdl:391:14:warning: function
"left_signed_arg" is never referenced
../../../src/synopsys/std_logic_arith.vhdl:400:14:warning: function
"left_unsigned_arg" is never referenced
../../../src/synopsys/std_logic_arith.vhdl:409:14:warning: function
"mult_signed_arg" is never referenced
../../../src/synopsys/std_logic_arith.vhdl:418:14:warning: function
"mult_unsigned_arg" is never referenced
../../../src/synopsys/std_logic_arith.vhdl:1258:14:warning: function
"unsigned_return_boolean" is never referenced
../../../src/synopsys/std_logic_arith.vhdl:1266:14:warning: function
"signed_return_boolean" is never referenced
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB16BWER.vhd:1199:18:warning:
universal integer bound must be numeric literal or attribute
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB16BWER.vhd:1229:18:warning:
universal integer bound must be numeric literal or attribute
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB8BWER.vhd:1192:18:warning:
universal integer bound must be numeric literal or attribute
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB8BWER.vhd:1222:18:warning:
universal integer bound must be numeric literal or attribute
analyze tb_lm_cpu.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/simprim_Vcomponents.vhd
analyze /opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/simprim_Vpackage.vhd
analyze lm_cpu_map.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_INV.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB16BWER.vhd
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB16BWER.vhd:1199:18:warning:
universal integer bound must be numeric literal or attribute
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB16BWER.vhd:1229:18:warning:
universal integer bound must be numeric literal or attribute
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_BUF.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB8BWER.vhd
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB8BWER.vhd:1192:18:warning:
universal integer bound must be numeric literal or attribute
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB8BWER.vhd:1222:18:warning:
universal integer bound must be numeric literal or attribute
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_SFF.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_LUT6.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_LUT5.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_ZERO.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_CARRY4.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_FF.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_ONE.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_OBUF.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_CKBUF.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_MUX2.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMD64_ADV.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_LATCHE.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_SRLC16E.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMD32.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_ROC.vhd
analyze
/opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_TOC.vhd
elaborate tb_lm_cpu
red@linux-nrd1:~/projekt/mips/LM_CPU/ise/netgen/map> ls
e~tb_lm_cpu.o lm_cpu_map.v simprim-obj93.cf tb_lm_cpu.o
work-obj93.cf X_FF.o X_LUT6.o X_RAMB16BWER.o X_ROC.o X_ZERO.o
lm_cpu_map.nlf lm_cpu_map.vhd simprim_Vcomponents.o tb_lm_cpu.vhd
X_BUF.o X_INV.o X_MUX2.o X_RAMB8BWER.o X_SFF.o
lm_cpu_map.o makefile simprim_Vpackage.o unisim-obj93.cf
X_CARRY4.o X_LATCHE.o X_OBUF.o X_RAMD32.o X_SRLC16E.o
lm_cpu_map.sdf makefile~ tb_lm_cpu work
X_CKBUF.o X_LUT5.o X_ONE.o X_RAMD64_ADV.o X_TOC.o
red@linux-nrd1:~/projekt/mips/LM_CPU/ise/netgen/map> make run
ghdl -r tb_lm_cpu --sdf=./=lm_cpu_map.sdf --wave=tbench.ghw
--stop-time=500us
./tb_lm_cpu:internal error: cannot allocate stack: memory exhausted
ghdl: compilation error
make: *** [run] Error 1
That runs out of stack space. I have use the stack size option 200MB but
this crashed anywhere.
I feel it is a short step into the goal.
Thanks
René
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss