Skip to content

synth: crash when synthesizing satcat5 #1080

@bkzshabbaz

Description

@bkzshabbaz

Description
Trying to synthesize the satcat5 design but GHDL synth crashes.

Expected behaviour
Graceful error reporting of why this design fails to synthesize.

How to reproduce?

 $ git clone https://github.com/the-aerospace-corporation/satcat5.git
 $ cd satcat5/src/vhdl/
 $ ghdl --synth common/switch_types.vhd lattice/synchronization.vhd common/common_types.vhd common/eth_frame_common.vhd common/eth_frame_adjust.vhd common/smol_fifo.vhd common/port_adapter.vhd lattice/io_ice40.vhd common/eth_preambles.vhd common/port_rmii.vhd common/io_uart.vhd common/slip_encoder.vhd common/slip_decoder.vhd common/port_serial_uart_4wire.vhd common/eth_frame_check.vhd common/packet_fifo.vhd common/port_passthrough.vhd common/switch_dual.vhd common/led_types.vhd common/scrub_placeholder.vhd common/error_reporting.vhd common/switch_aux.vhd lattice/switch_top_rmii_serial_adapter.vhd -e switch_top_rmii_serial_adapter

Context
Please, provide the following information:

  • OS:
  • Origin:
    • Package manager: version
    • Released binaries: tarball_url
    • Built from sources: commit 11a5be93a2b037dae7ba6785ea10cb17c7fef2b7

If a GHDL Bug occurred block is shown in the log, please paste it here:

******************** GHDL Bug occurred ***************************
Please report this bug on https://github.com/ghdl/ghdl/issues
GHDL release: 0.37-dev (v0.36-1437-g11a5be93) [Dunoon edition]
Compiled with GNAT Version: 8.3.0
Target: x86_64-linux-gnu
/tmp/satcat5/src/vhdl/
Command line:
ghdl --synth common/switch_types.vhd lattice/synchronization.vhd common/common_types.vhd common/eth_frame_common.vhd common/eth_frame_adjust.vhd common/smol_fifo.vhd common/port_adapter.vhd lattice/io_ice40.vhd common/eth_preambles.vhd common/port_rmii.vhd common/io_uart.vhd common/slip_encoder.vhd common/slip_decoder.vhd common/port_serial_uart_4wire.vhd common/eth_frame_check.vhd common/packet_fifo.vhd common/port_passthrough.vhd common/switch_dual.vhd common/led_types.vhd common/scrub_placeholder.vhd common/error_reporting.vhd common/switch_aux.vhd lattice/switch_top_rmii_serial_adapter.vhd -e switch_top_rmii_serial_adapter
Exception TYPES.INTERNAL_ERROR raised
Exception information:
raised TYPES.INTERNAL_ERROR : synth-context.adb:320
Call stack traceback locations:
0x555a4d7ee6de 0x555a4d7ee869 0x555a4d815cac 0x555a4d815c96 0x555a4d81944b 0x555a4d80575c 0x555a4d81937a 0x555a4d7f41db 0x555a4d7f4519 0x555a4d7f4bf4 0x555a4d7f4d10 0x555a4d80422e 0x555a4d80432f 0x555a4d7f6352 0x555a4d7f6470 0x555a4d7f006f 0x555a4d849963 0x555a4d795dd2 0x555a4d8f3e45 0x555a4d55e6a9 0x7fb513e2fb95 0x555a4d55cf08 0xfffffffffffffffe
******************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFeaReq: SynthesisRequested feature addition related to synthesis.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions