Add install, use the installed cell libs
authorCassie Jones <code@witchoflight.com>
Wed, 4 Mar 2020 22:43:51 +0000 (23:43 +0100)
committerCassie Jones <code@witchoflight.com>
Wed, 4 Mar 2020 22:43:51 +0000 (23:43 +0100)
commitba7a87eddf43153f8fa3f03b6c5cd2259e3b8be1
tree6a17874fa89c136c0752f825b26f8d368cc75f0e
parentc854b6ba3bc4efb9baff699e91acafabfe08ebdb
Add install, use the installed cell libs

The extension needs to load a cell library in order to tech-map things,
and that means having a Verilog file at a locatable path. The Yosys
built-ins put them in the <share>/yosys directory, and so we install
things there and load them from there for convenience.

Using a path +/<path> will be rewritten inside Yosys to load from
<share>/yosys/<path>. I add a nangate/ sub-directory for namespacing
purposes during the install, and load things from +/nangate/<file>.
.gitignore
Makefile
nangate.cc
techlib.sv [moved from gateware.sv with 100% similarity]