-
I pretty much followed the instructions on building your own OR, but I get an error running a simple test:
On commit 7dcbe03. Then inside OR:
And I get this:
Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
@vvbandeira suggestions? |
Beta Was this translation helpful? Give feedback.
-
@mguthaus |
Beta Was this translation helpful? Give feedback.
-
This is a pretty decent machine. 12 cores, 64 gig of memory. Ohh, maybe it is how Docker is configured and what it is allocating to the VM. |
Beta Was this translation helpful? Give feedback.
-
Host is Ubuntu 20.04 |
Beta Was this translation helpful? Give feedback.
-
Seems reasonable:
It fails really early, so I don't think it is a resource issue though. |
Beta Was this translation helpful? Give feedback.
-
I did a fresh clone, and used this commit 650e321 and it works. However, with the master version (650e321 as of now), it does not work and gives the above error. |
Beta Was this translation helpful? Give feedback.
-
I've been tracking this down and it fails in
which was changed in d07d6d9. This uses some arguments that don't seem to be available in the Yosys version that is compiled:
Specifically, "-unit_delay" and "-ignore_buses" are not valid arguments. Did someone forget to bump the version of Yosys? |
Beta Was this translation helpful? Give feedback.
-
Further debugging, the build dir as Yosys 0.49:
but this isn't compiled by the |
Beta Was this translation helpful? Give feedback.
-
This is related to my other discussion here: #2752 The docker build scripts aren't smart enough to detect when a submodule changes and recompile things. I imagine this is because the OR test suite also does a fresh checkout each time rather than re-compiling like a user would. I'm not sure what the best fix is now, but I do think that this is an error or at least should be documented in the build instructions. If I made a small edit to
|
Beta Was this translation helpful? Give feedback.
-
The docker image still includes the old version of yosys though. :( |
Beta Was this translation helpful? Give feedback.
-
ah hah! The suggested command in the documentation runs an OLD docker image:
Needs to specify which version of the image to use:
I'm going to clarify this in the documentation to help other people... |
Beta Was this translation helpful? Give feedback.
-
It runs the "latest" which was tagged 7 months ago... |
Beta Was this translation helpful? Give feedback.
ah hah! The suggested command in the documentation runs an OLD docker image:
docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd)/flow:/OpenROAD-flow-scripts/flow openroad/flow-ubuntu22.04-builder
Needs to specify which version of the image to use:
docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd)/flow:/OpenROAD-flow-scripts/flow openroad/flow-ubuntu22.04-builder:770124
I'm going to clarify this in the documentation to help other people...