Closed alanvgreen closed 4 years ago
It is not possible to do option 2, since the output of nMigen has to be customized for the Yosys version it works with (RTLIL is not stable); so option 1 seems sensible.
Will do.
I would be fine with (3) but I think we should do (1) in parallel, since this is probably not the last time we encounter such Yosys builds.
I have been yosys and nextpnr-ice40 from v1.5.6 of the fomu-toolchain, downloaded from https://github.com/im-tomu/fomu-toolchain/releases/tag/v1.5.6
The version number reported by the fomu-toolchain build of yosys is not compatible with the version number parser in _yosys.py. Here is the traceback from calling platform.build():
The above message is due to match being None, since the regex match failed.
Here is the yosys version string from the fomu build of yosys:
Here are a couple of possible solutions:
Of these, think 1 is best. I'm happy to try making a PR for either 1 or 2.