Skip to content

Bitstream generation fails due to missing features #443

@acomodi

Description

@acomodi

The picosoc test that uses the nextpnr interchange support fails at the bitstream generation with the following error:

    "error_msg": [
        "[...]",
        "/nextpnr-env/lib/python3.7/site-packages/xc_fasm/fasm2frames.py\", line 194, in fasm2frames",
        "    assembler.parse_fasm_filename(filename_in, extra_features=extra_features)",
        "  File \"/data/f4pga/fpga-tool-perf/env/conda/envs/nextpnr-env/lib/python3.7/site-packages/prjxray/fasm_assembler.py\", line 190, in parse_fasm_filename",
        "    raise FasmLookupError('\\n'.join(missing_features))",
        "prjxray.fasm_assembler.FasmLookupError: Segment DB BRAM_L, key BRAM_L.RAMB18_Y1.WRITE_MODE_A_WRITE_FIRST not found from line 'BRAM_L_X6Y25.RAMB18_Y1.WRITE_MODE_A_WRITE_FIRST'",
        "Segment DB BRAM_L, key BRAM_L.RAMB18_Y1.WRITE_MODE_B_WRITE_FIRST not found from line 'BRAM_L_X6Y25.RAMB18_Y1.WRITE_MODE_B_WRITE_FIRST'",
        "Segment DB BRAM_L, key BRAM_L.RAMB18_Y0.WRITE_MODE_A_WRITE_FIRST not found from line 'BRAM_L_X6Y35.RAMB18_Y0.WRITE_MODE_A_WRITE_FIRST'",
        "Segment DB BRAM_L, key BRAM_L.RAMB18_Y0.WRITE_MODE_B_WRITE_FIRST not found from line 'BRAM_L_X6Y35.RAMB18_Y0.WRITE_MODE_B_WRITE_FIRST'",
        "make: *** [Makefile:29: picosoc.bit] Error 1",
        ""
    ],

The prjxray-db is missing the WRITE_MODE_[AB]_WRITE_FIRST features.

Until the FASM features are added to prjxray-db, the following line should be commented out: https://github.com/chipsalliance/fpga-tool-perf/blob/main/project/picosoc.yaml#L21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions