Open ghost opened 3 years ago
How did you invoke qflow? It appears that the script graywolf.sh
got an empty string for the 2nd argument, and so set $rootname
to an empty string. Apparently this happened through several steps, because the script did not fail on checking the existence of file ${rootname}.info
, so apparently an earlier script had an empty string argument and left a file .info
in the layout directory.
The same problem occurs when invoking qflow in the root project directory as described by the tutorial (qflow synthesize place route map9v3
,) as well as running the place
step by itself or running through the flow via the GUI. It also seems to persist even after working from a clean project directory.
I came back to this problem today, removing the :h
in set rootname=${sourcename:h}
where it's used fixes the problem. I'd like to find a less hacky solution, though.
Odd. . . the 1st line invokes tcsh; the scripts are all in tcsh syntax. And the tcsh man page clearly states that history substitutions are allowed in variable substitutions, so ${sourcename:h}
should be the head of path ${sourcename}
. Removing the :h
works as long as qflow is called with the root name of a project; perhaps that is the only way it's ever called?
I've run into the same problem on qflow 1.3 in placement.sh. Strangely enough, it worked fine before, but now does not. I believe I didn't do any changes between runs.
However, I don't find a reason it can/could work successfully since what ${sourcename:h}
returns is actually a directory of a path, however, according to default qflow_exec.sh
the sourcename
is set to map9v3
from the second argument (checked both exec scripts for the run that succeeded long ago and the one that does not succeed now). Thus, ${sourcename:h}
returns an empty string every time. Again, I don't have an idea why it worked successfully before.
I'm doing a run-through of qflow 1.4 with the
map9v3.v
file used as an example, and the flow stops at the placement step since vlog2Cel is being pointed at.rtlnopwr.v
, rather thanmap9v3.rtlnopwr.v
which was appropriately generated. Here's the output ofqflow place map9v3
: