Open zslwyuan opened 2 years ago
I think encounter this problem is because this is no option "{ }", but argv is end of "{ }". I try to fix this by add a option "{ }" with empty operation in the switch list.
......
switch -glob $flag {
{} {
}
-top-module {
set argv [lassign $argv[set argv {}] top]
}
-F {
......
Background Work
Chipyard Version and Hash
Release: 1.5.0 Hash: a6a6a6
OS Setup
Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal
Other Setup
Go through the standard FPGA prototyping flow in Chipyard Documentation
Current Behavior
As mentioned in Chipyard Google Group here:
When I excute the command "make SUB_PROJECT=vcu118 CONFIG=RocketVCU118Config bitstream" ERROR as follows:
Expected Behavior
The Tcl script should work fine with Error
Other Information
This is a bug of Vivado Tcl interpreter. I am not sure whether I should make a new pull request since the solution is a little bit dirty by modifying the file fpga/fpga-shells/xilinx/common/tcl/prologue.tcl. I provided the solution here in case someone else encounters this similar problem.