Closed AntonHermann closed 3 years ago
For some reason, the iterate_by_n
-function in _rocket-chip/scripts/vlsi_romgen raised an error where it should have returned:
diff --git a/scripts/vlsi_rom_gen b/scripts/vlsi_rom_gen
index 3e97070db..c0185d1d2 100755
--- a/scripts/vlsi_rom_gen
+++ b/scripts/vlsi_rom_gen
@@ -94,7 +94,7 @@ def iterate_by_n(it, n):
'Iterable length not evenly divisible by {}'.format(n)
)
else:
- raise
+ return
yield batch
With this change, the romgen
target builds as expected.
I'm honestly wondering what went wrong with my build, I can't be the first one to have such a trivial problem :confused:
Hey :) I can't get the .mcs file to build, in particular the
make
targetromgen
failes with this error:My tool versions:
I'll continue digging around in
rocket-chip
and try to understand what happens there.Thanks in advance,\ Anton