microsoft / cheriot-safe

Repo for CHERI development system
Apache License 2.0
7 stars 6 forks source link

Building fails due to extra connection #10

Closed speedy-h closed 2 months ago

speedy-h commented 4 months ago

I tried to build the core following the instructions in the build directory, but it failed with the following error:

INFO: [Synth 8-6155] done synthesizing module 'ibex_top' (0#1) [/home/xxxxx/temp/cheriot-safe/cheriot-ibex/rtl/ibexc_top.sv:20]
INFO: [Synth 8-6155] done synthesizing module 'ibex_top_tracing' (0#1) [/home/xxxxx/temp/cheriot-safe/cheriot-ibex/rtl/ibexc_top_tracing.sv:13]
ERROR: [Synth 8-349] instance 'ibex_top_i' of module 'ibex_top_tracing' passed 49 connections, but takes just 48 [/home/xxxxx/temp/cheriot-safe/src/msft_cheri_core/msftDvIp_cheri_core_wrapper.sv:105]

To reproduce:

cd build
./build_arty_a7

It looks like the extra connection is cheri_fatal_err_o, which I can't find in the ibex_top_tracing module

I used vivado v2023.1 (64-bit) for linux. I'm not sure if I've got a file out of date

kliuMsft commented 3 months ago

This should be fixed by now - it's because the cheriot-ibex submodule wasn't up to date. Please do a submodule update and try again.