[skip ci] remove need to set site_packages_dir

This commit is contained in:
Harrison Liew
2023-02-09 10:18:24 -08:00
parent 2bfc6e1347
commit ea65d93c8e
3 changed files with 4 additions and 8 deletions

View File

@@ -5,16 +5,12 @@ Advanced Usage
Hammer Development
------------------
If you need to develop Hammer within Chipyard, you will not use the ``hammer-vlsi`` package as installed by conda.
First, clone the `Hammer repository <https://github.com/ucb-bar/hammer>`__ somewhere else on your disk. Then:
If you need to develop Hammer within Chipyard or use a version of Hammer beyond the latest PyPI release, clone the `Hammer repository <https://github.com/ucb-bar/hammer>`__ somewhere else on your disk. Then:
.. code-block:: shell
pip install -e <path/to/hammer>
Finally, you will need to override the ``site_packages_dir`` variable in ``vlsi/Makefile`` to point to the abspath of your Hammer repository.
Alternative RTL Flows
---------------------
The Make-based build system provided supports using Hammer without using RTL generated by Chipyard. To push a custom Verilog module through, one only needs to append the following environment variables to the ``make buildfile`` command (or edit them directly in the Makefile).