Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#804 Segmentation fault

v0.9
closed-fixed
Cary R.
5
2010-06-07
2010-06-06
Cristian Paul
No

Icarus Verilog Parser/Elaborator version 0.9.2 (v0_9_2) (package from debian squeeze)

Icarus gives Segmentation fault after try to compile Milkysmit Test code for ML104 Board

Milkymist code can be fetched from http://github.com/lekernel/milkymist.git

----
make
iverilog -D SIMULATION -I /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl -I /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl -o system /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/system_tb.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/test/iddr.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/test/oddr.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/test/idelay.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl/ddram.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl/lm32_include.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl/setup.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl/system.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl/vga.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../rtl/../../gen_capabilities.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/conbus/rtl/conbus_arb.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/conbus/rtl/conbus.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_cpu.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_instruction_unit.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_decoder.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_load_store_unit.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_adder.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_addsub.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_logic_op.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_shifter.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_multiplier.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_mc_arithmetic.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_interrupt.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_ram.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_icache.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_dcache.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_top.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/fmlarb/rtl/fmlarb.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/fmlbrg/rtl/fmlbrg_datamem.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/fmlbrg/rtl/fmlbrg_tagmem.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/fmlbrg/rtl/fmlbrg.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/csrbrg/rtl/csrbrg.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/norflash32/rtl/norflash32.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/uart/rtl/uart_transceiver.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/uart/rtl/uart.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/sysctl/rtl/sysctl.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/aceusb/rtl/aceusb_access.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/aceusb/rtl/aceusb_sync.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/aceusb/rtl/aceusb.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/hpdmc_banktimer.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/hpdmc_busif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/hpdmc_ctlif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/hpdmc_datactl.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/hpdmc_mgmt.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/hpdmc.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/virtex4/hpdmc_ddrio.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/virtex4/hpdmc_iddr32.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/virtex4/hpdmc_idelay8.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/virtex4/hpdmc_oddr32.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/hpdmc_ddr32/rtl/virtex4/hpdmc_oddr4.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/vgafb/rtl/vgafb_graycounter.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/vgafb/rtl/vgafb_asfifo.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/vgafb/rtl/vgafb_pixelfeed.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/vgafb/rtl/vgafb_ctlif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/vgafb/rtl/vgafb_fifo64to16.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/vgafb/rtl/vgafb.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_asfifo.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_ctlif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_deframer.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_dma.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_framer.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_graycounter.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97_transceiver.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ac97/rtl/ac97.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_above.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_addrgen.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_alu.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_clz32.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_copy.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_ctlif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_dma.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_equal.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_f2i.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_faddsub.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_fmul.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_i2f.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_if.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_prog.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_quake.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_regf.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_seq.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_sincos.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_tpram.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu_tsign.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/pfpu/rtl/pfpu.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_adrgen.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_clamp.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_dpram_sw.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_hdiv.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_burst.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_pixout.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_ctlif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_fetchvertex.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_hinterp.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_qpram32_ss.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_vdivops.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_decay.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_geninterp18.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mask.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_qpram.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_vdiv.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_divider17.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_hdivops.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_texcache.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_vinterp.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_blend.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_fdest.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_alpha.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/ps2/rtl/ps2.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_asfifo.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_ctlif.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_graycounter.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_rxfifo.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_rx.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_txfifo.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac_tx.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/minimac/rtl/minimac.v /srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/fmlmeter/rtl/fmlmeter.v
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_cpu.v:2082: warning: Numeric constant truncated to 3 bits.
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_instruction_unit.v:154: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_icache.v:101: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_icache.v:102: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_icache.v:108: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_icache.v:109: error: identifier `addr_tag_msb` is not a parameter in system_tb.system.cpu.cpu.instruction_unit.icache.
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_load_store_unit.v:121: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_dcache.v:94: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_dcache.v:95: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_dcache.v:101: sorry: constant user functions are not currently supported: clogb2().
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/lm32/rtl/lm32_dcache.v:102: error: identifier `addr_tag_msb` is not a parameter in system_tb.system.cpu.cpu.load_store_unit.dcache.
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
/srv/data/Desktop/copyleft_hardware/milkymist/milkymist/boards/xilinx-ml401/test/../../../cores/tmu2/rtl/tmu2_mult2_virtex4.v:39: error: Unknown module type: DSP48
Segmentation fault
make: *** [system] Error 139

---

Discussion

  • Cristian Paul
    Cristian Paul
    2010-06-06

    makefile

     
    Attachments
  • Cristian Paul
    Cristian Paul
    2010-06-06

     
    Attachments
  • Cristian Paul
    Cristian Paul
    2010-06-06

    The location from wich the makefile was ran is:

    milkymist/boards/xilinx-ml401/test

     
  • Cary R.
    Cary R.
    2010-06-06

    You are correct this code should not crash the compiler, but I hope you did see all the warning and error messages. Icarus instead of failing on the first error tries to process more code to report other problems later in the code. Occasionally this can lead to crashes. I'll try to figure out why this is crashing and fix it, but after that you're going to have to deal with the other issues. I'm guessing fixing these will also avoid the crash. FYI you should be able to use $clog2 in place of the constant user function.

     
  • Cary R.
    Cary R.
    2010-06-07

    I have verified that development also crashes when compiling this code. I will still assert that if you fix the problems Icarus reported before it crashed it will then compile the code without crashing. FYI you can us `ifdef __ICARUS__ to add Icarus Verilog specific changes (e.g. use $clog2 instead of the constant function, etc.).

    At first glace the crash appears to be related to the missing constant function support (a parameter/localparam is not defined correctly). I'll look at this more later.

     
  • Cary R.
    Cary R.
    2010-06-07

    • assigned_to: nobody --> caryr
     
  • Cristian Paul
    Cristian Paul
    2010-06-07

    I think the 'ifdef' solution hide defects in the tool and as result i could have code that surelly will mistmatch behavior when making the synthesize, plus bigger code.

    I'm not related to verilog devel, but how dificult will add support to implement the constant user functions in icarus?

    regards

     
  • Cary R.
    Cary R.
    2010-06-07

    We will not be adding constant functions anytime soon. It's a major task and has been attempted a couple of time with no success. We added the warnings to allow user to know why things were failing. $clog2 is a standard system function from 1364-2005. Both synthesis and simulation tools should support it. If you don't like __ICARUS__ then you could add SUPPORTS_1364_2005_CLOG2.

    pr1634527 is the original report for constant user functions.

     
  • Cary R.
    Cary R.
    2010-06-07

    • status: open --> closed-fixed
     
  • Cary R.
    Cary R.
    2010-06-07

    I submitted a patch to the patch tracker that prevents this code from crashing. It works for both the development and V0.9 branches. I added a comment to the constant user function bug report that mentions this report. From my previous comments you should have enough information to get this to actually compile and hopefully run correctly. I'm closing this report since the problem that is unique to it has been fixed.