argan-network / rocket-zcu104

Rocket Chip on Xilinx Zynq ZCU104
Other
2 stars 0 forks source link

Failds make bitstream with zcu104 #1

Open Usutatsu opened 2 years ago

Usutatsu commented 2 years ago

I am trying to mount a Rocket core on a zcu104. So I tried to use this repository for development. I have completed the generation of the verilog file, but when creating the bitstream, I get an error and it fails. The error message is as follows

`** Vivado v2017.1 (64-bit) SW Build 1846317 on Fri Apr 14 18:54:47 MDT 2017 IP Build 1846188 on Fri Apr 14 20:52:08 MDT 2017 ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.

ERROR: [Common 17-356] Failed to install all user apps. source src/tcl/zcu104_rocketchip_ZynqConfig.tcl

set origin_dir "."

if { [info exists ::origin_dir_loc] } {

set origin_dir $::origin_dir_loc

}

variable script_file

set script_file "zcu104_rocketchip_ZynqConfig.tcl"

proc help {} {

variable script_file

puts "\nDescription:"

puts "Recreate a Vivado project from this script. The created project will be"

puts "functionally equivalent to the original project for which this script was"

puts "generated. The script contains commands for creating a project, filesets,"

puts "runs, adding/importing sources and setting properties on various objects.\n"

puts "Syntax:"

puts "$script_file"

puts "$script_file -tclargs [--origin_dir ]"

puts "$script_file -tclargs [--help]\n"

puts "Usage:"

puts "Name Description"

puts "-------------------------------------------------------------------------"

puts "[--origin_dir ] Determine source file paths wrt this path. Default"

puts " origin_dir path value is \".\", otherwise, the value"

puts " that was set with the \"-paths_relative_to\" switch"

puts " when this script was generated.\n"

puts "[--help] Print help information for this script"

puts "-------------------------------------------------------------------------\n"

exit 0

}

if { $::argc > 0 } {

for {set i 0} {$i < [llength $::argc]} {incr i} {

set option [string trim [lindex $::argv $i]]

switch -regexp -- $option {

"--origin_dir" { incr i; set origin_dir [lindex $::argv $i] }

"--help" { help }

default {

if { [regexp {^-} $option] } {

puts "ERROR: Unknown option '$option' specified, please type '$script_file -tclargs --help' for usage info.\n"

return 1

}

}

}

}

}

set orig_proj_dir "[file normalize "$origin_dir/zcu104_rocketchip_ZynqConfig"]"

create_project zcu104_rocketchip_ZynqConfig $orig_proj_dir

set proj_dir [get_property directory [current_project]]

set obj [get_projects zcu104_rocketchip_ZynqConfig]

set_property "default_lib" "xil_defaultlib" $obj

set_property "part" "xczu7ev-ffvc1156-2-e" $obj

ERROR: [Common 17-69] Command failed: Part 'xczu7ev-ffvc1156-2-e' not found`

How can I solve these problems?

GuoYS0010 commented 9 months ago

there is no part "xczu7ev-ffvc1156-2-e" and board zcu104 in vivado 2017.1. you should download vivado 2017.4 and update1 and try again

GuoYS0010 commented 9 months ago

sorry, it should be vivado 2021. the author forget to edit the readme file, but in the script src/tcl/zcu104_rocketchip_ZynqConfig.tcl, you can see ' set_property flow "Vivado Synthesis 2021"