mirror of https://github.com/YosysHQ/icestorm.git
Like yosys and arachne-pnr, allow for searching for the desired chipdb file relative to the executing binaries directory. This allows for portable builds of icetime without needing to specify the exact path to the needed chipdb file with the -C arg. In order to support this icetime must be able to get the "proc_self_dirname" path just like yosys and arachne-pnr. As such copy the equivalent code to get this path information. To avoid cluttering the icetime.cc file with this code, place it in a separate iceutil.cc file. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| cells.v | ||
| icetime.cc | ||
| iceutil.cc | ||
| mktest.py | ||
| show.sh | ||
| timings.py | ||