sld-columbia / esp

Embedded Scalable Platforms: Heterogeneous SoC architecture and IP integration made easy
Other
331 stars 106 forks source link

DTC and vivado_hls errors with bump to Vivado2023.2 #233

Open kcanidaISI opened 1 month ago

kcanidaISI commented 1 month ago

Bumping to Xilinx Vivado2023.2 in our current container environment is failing with a couple of errors.

Desktop:

DTC Error:

To Reproduce

    1. Within docker container
    2. 'source esp_env_cad.sh'
    3. 'cd esp/socs/xilinx-vc707-xc7vx485t'
    4. 'make esp-defconfig'
    5. 'make soft'

dtc_error

Additional context Sourcing Vivado 2023.2 settings64.sh adds newer dtc version installed with Vitis to path

dtc_path

HLS Error:

To Reproduce

    1. 'make adder_vivado-hls'

vivado_hls_error

Additional context vivado_hls deprecated in Vivado 2023.2 for vitis_hls

jzuckerman commented 3 weeks ago

With Vivado 2023.2, vivado_hls, has changed to vitis_hls. You could try patching this line with that change. I am not sure, though, if there will be other issues.

Alternatively, you could use a different version of Vivado to run HLS (I'd suggest 2019.2, which is what we've tested with) than for generating bitstreams.

jzuckerman commented 3 weeks ago

For the DTC issue, I would suggest just using the one installed on your machine than the one from Vivado. When I run which dtc I get back /usr/bin/dtc.