Merge pull request #166 from ucb-bar/vlsi-init

Add vlsi init script.
This commit is contained in:
Jerry Zhao
2019-07-19 15:24:35 -07:00
committed by GitHub
3 changed files with 19 additions and 1 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@ target
env.sh
riscv-tools-install
tags
*~

13
scripts/init-vlsi.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# exit script if any command fails
set -e
set -o pipefail
# Initialize HAMMER and CAD-plugins
git submodule update --init --recursive vlsi/hammer
git submodule update --init --recursive vlsi/hammer-cad-plugins
# Initialize HAMMER tech plugin
git submodule update --init --recursive vlsi/hammer-$1-plugin

View File

@@ -2,4 +2,8 @@ This is the starting point for a vlsi flow from this repository.
This flow will not work without the necessary CAD and technology plugins for HAMMER.
If you are a UCB-affiliate, you may be able to acquire access to the tech-plugins.
If you are a UCB-affiliate, you may be able to acquire access to the tech-plugins.
# Initial Setup Instructions (For All technologies)
Run the `init-vlsi.sh` script to pull correct versions of hammer, hammer-cad-plugins, and the hammer-tech-plugins
```scripts/init-vlsi.sh TECH_NAME```