Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| openroad [2026/02/12 16:13] – add regression test beckmanf | openroad [2026/03/09 09:03] (current) – [OpenROAD] add ihp course beckmanf | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| The [[https:// | The [[https:// | ||
| + | |||
| + | Video: [[https:// | ||
| + | |||
| + | IHP Digital Course: [[https:// | ||
| + | |||
| + | Video: [[https:// | ||
| + | |||
| + | ==== Others ==== | ||
| + | |||
| + | ETH Zürich has [[https:// | ||
| + | |||
| + | They manage the tools setup via [[https:// | ||
| + | |||
| ==== Install ==== | ==== Install ==== | ||
| The [[https:// | The [[https:// | ||
| + | |||
| + | OpenROAD is the tool for the backend part. OpenROAD provides [[https:// | ||
| + | |||
| + | To install all tools for the [[https:// | ||
| + | |||
| + | The following parts are only for the OpenROAD tool. | ||
| + | |||
| + | === Download the OpenROAD git repository === | ||
| + | |||
| + | < | ||
| + | git clone --recurse-submodules https:// | ||
| + | cd OpenROAD | ||
| + | </ | ||
| === Install via bazel === | === Install via bazel === | ||
| Line 10: | Line 36: | ||
| Bazel promises reproducable builds which I liked. I tried it on a virtual (via UTM) debian 13 (trixie) arm64 machine. The openroad binary is a gui application which relies on qt. It seems quite difficult to have system independent gui application. OpenROAD uses prebuild libraries, for example the xcd libraries which are from [[https:// | Bazel promises reproducable builds which I liked. I tried it on a virtual (via UTM) debian 13 (trixie) arm64 machine. The openroad binary is a gui application which relies on qt. It seems quite difficult to have system independent gui application. OpenROAD uses prebuild libraries, for example the xcd libraries which are from [[https:// | ||
| - | I gave up on that one for the time being. | + | == Install bazelisk == |
| + | |||
| + | See: https:// | ||
| + | |||
| + | for the different systems. For debian linux on x86_64 machines do: | ||
| + | |||
| + | < | ||
| + | wget https:// | ||
| + | sudo dpkg -i bazelisk-amd64.deb | ||
| + | </ | ||
| + | |||
| + | |||
| + | == Build and Run openroad in cmdline mode == | ||
| + | |||
| + | The will build and run the openroad tool in cmdline mode. | ||
| + | < | ||
| + | bazelisk run //: | ||
| + | </ | ||
| + | |||
| + | == Build and run in gui mode == | ||
| + | |||
| + | < | ||
| + | bazelisk run --//: | ||
| + | </ | ||
| + | |||
| + | == Run the regression test via bazel == | ||
| + | |||
| + | The following command will run all tests which are defined in the | ||
| + | src folder. The three dots are real. | ||
| + | < | ||
| + | bazelisk test src/... | ||
| + | </ | ||
| + | |||
| + | == Run one test from the regression == | ||
| + | |||
| + | < | ||
| + | bazelisk test src/ | ||
| + | </ | ||
| + | |||
| + | == Run the flowtests via bazel == | ||
| + | |||
| + | < | ||
| + | bazelisk test // | ||
| + | bazelisk test // | ||
| + | bazelisk test // | ||
| + | </ | ||
| === Install via cmake === | === Install via cmake === | ||
| Line 35: | Line 106: | ||
| < | < | ||
| ./ | ./ | ||
| + | ctest --test-dir build -j 8 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | === Build Results === | ||
| + | |||
| + | Some collected build results: | ||
| + | |||
| + | [[or_buildresults|OpenROAD Build Results]] | ||