Update README and setpaths with new PYTHONPATH

This commit is contained in:
mrg 2022-07-20 10:27:10 -07:00
parent c406e2a9da
commit 5ad97aa636
2 changed files with 2 additions and 11 deletions

View File

@ -53,19 +53,16 @@ You must set two environment variables:
+ OPENRAM\_HOME should point to the compiler source directory.
+ OPENERAM\_TECH should point to one or more root technology directories (colon separated).
You should also add OPENRAM\_HOME to your PYTHONPATH.
For example add this to your .bashrc:
```
export OPENRAM_HOME="$HOME/openram/compiler"
export OPENRAM_TECH="$HOME/openram/technology"
```
You should also add OPENRAM\_HOME to your PYTHONPATH:
```
export PYTHONPATH=$OPENRAM_HOME
```
Note that if you want symbols to resolve in your editor, you may also want to add the specific technology
directory that you use and any custom technology modules as well. For example:
```

View File

@ -7,9 +7,3 @@
export OPENRAM_HOME="`pwd`/compiler"
export OPENRAM_TECH="`pwd`/technology"
export PYTHONPATH=$OPENRAM_HOME
for dir in `pwd`/compiler/*
do
if [ -d $dir ]; then
export PYTHONPATH=$PYTHONPATH:$dir
fi;
done