litex-hub / linux-on-litex-vexriscv

Linux on LiteX-VexRiscv
BSD 2-Clause "Simplified" License
574 stars 174 forks source link

Building bit stream error for zcu104 #209

Closed zld932 closed 3 years ago

zld932 commented 3 years ago

hello There is an error when I build bit stream for zcu104 by running command: ./make.py --board=zcu104 --cpu-count=6 --build The error is shown as

Starting DRC Task INFO: [DRC 23-27] Running DRC with 8 threads ERROR: [DRC MDRV-1] Multiple Driver Nets: Net idelay_rst has multiple drivers: FDPE_3/Q, and FDPE_1/Q. ERROR: [Vivado_Tcl 4-78] Error(s) found during DRC. Opt_design not run. INFO: [Project 1-461] DRC finished with 1 Errors INFO: [Project 1-462] Please refer to the DRC report (report_drc) for more information.

Time (s): cpu = 00:00:03 ; elapsed = 00:00:01 . Memory (MB): peak = 4882.625 ; gain = 64.031 ; free physical = 19875 ; free virtual = 27725 INFO: [Common 17-83] Releasing license: Implementation 6 Infos, 0 Warnings, 0 Critical Warnings and 2 Errors encountered. opt_design failed ERROR: [Common 17-39] 'opt_design' failed due to earlier errors.

while executing

"opt_design -directive default" (file "zcu104.tcl" line 39) INFO: [Common 17-206] Exiting Vivado at Thu Mar 11 11:32:16 2021... Traceback (most recent call last): File "./make.py", line 634, in main() File "./make.py", line 615, in main builder.build(run=args.build) File "/home/zld932/Documents/RISCV/linux_on_zcu104/litex/litex/soc/integration/builder.py", line 217, in build vns = self.soc.build(build_dir=self.gateware_dir, kwargs) File "/home/zld932/Documents/RISCV/linux_on_zcu104/litex/litex/soc/integration/soc.py", line 1076, in build return self.platform.build(self, *args, *kwargs) File "/home/zld932/Documents/RISCV/linux_on_zcu104/litex/litex/build/xilinx/platform.py", line 53, in build return self.toolchain.build(self, args, kwargs) File "/home/zld932/Documents/RISCV/linux_on_zcu104/litex/litex/build/xilinx/vivado.py", line 355, in build _run_script(script) File "/home/zld932/Documents/RISCV/linux_on_zcu104/litex/litex/build/xilinx/vivado.py", line 101, in _run_script raise OSError("Error occured during Vivado's script execution.") OSError: Error occured during Vivado's script execution.

Please give me some advice

enjoy-digital commented 3 years ago

Sorry, I made some improvements recently on the LiteDRAM PHY/Clocking and introduced the while applying the changes on the targets. This is fixed with https://github.com/litex-hub/litex-boards/commit/75f7120ff918673f65d7a1b6fe7478060d56cccb. Thanks for reporting.