mirror of https://github.com/VLSIDA/OpenRAM.git
Merge branch 'dev' of github.com:VLSIDA/PrivateRAM into dev
This commit is contained in:
commit
69d5731d67
|
|
@ -53,19 +53,16 @@ You must set two environment variables:
|
||||||
+ OPENRAM\_HOME should point to the compiler source directory.
|
+ OPENRAM\_HOME should point to the compiler source directory.
|
||||||
+ OPENERAM\_TECH should point to one or more root technology directories (colon separated).
|
+ 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:
|
For example add this to your .bashrc:
|
||||||
|
|
||||||
```
|
```
|
||||||
export OPENRAM_HOME="$HOME/openram/compiler"
|
export OPENRAM_HOME="$HOME/openram/compiler"
|
||||||
export OPENRAM_TECH="$HOME/openram/technology"
|
export OPENRAM_TECH="$HOME/openram/technology"
|
||||||
```
|
|
||||||
|
|
||||||
You should also add OPENRAM\_HOME to your PYTHONPATH:
|
|
||||||
|
|
||||||
```
|
|
||||||
export PYTHONPATH=$OPENRAM_HOME
|
export PYTHONPATH=$OPENRAM_HOME
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that if you want symbols to resolve in your editor, you may also want to add the specific technology
|
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:
|
directory that you use and any custom technology modules as well. For example:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -309,8 +309,8 @@ class replica_bitcell_array(bitcell_base_array):
|
||||||
|
|
||||||
# This creates space for the unused wordline connections as well as the
|
# This creates space for the unused wordline connections as well as the
|
||||||
# row-based or column based power and ground lines.
|
# row-based or column based power and ground lines.
|
||||||
self.vertical_pitch = getattr(self, "{}_pitch".format(self.supply_stack[0]))
|
self.vertical_pitch = 1.1 * getattr(self, "{}_pitch".format(self.supply_stack[0]))
|
||||||
self.horizontal_pitch = getattr(self, "{}_pitch".format(self.supply_stack[2]))
|
self.horizontal_pitch = 1.1 * getattr(self, "{}_pitch".format(self.supply_stack[2]))
|
||||||
self.unused_offset = vector(0.25, 0.25)
|
self.unused_offset = vector(0.25, 0.25)
|
||||||
|
|
||||||
# This is a bitcell x bitcell offset to scale
|
# This is a bitcell x bitcell offset to scale
|
||||||
|
|
@ -495,16 +495,7 @@ class replica_bitcell_array(bitcell_base_array):
|
||||||
else:
|
else:
|
||||||
bitcell = getattr(props, "bitcell_{}port".format(OPTS.num_ports))
|
bitcell = getattr(props, "bitcell_{}port".format(OPTS.num_ports))
|
||||||
|
|
||||||
wl_layer = bitcell.wl_layer
|
|
||||||
wl_dir = bitcell.wl_dir
|
|
||||||
|
|
||||||
bl_layer = bitcell.bl_layer
|
|
||||||
bl_dir = bitcell.bl_dir
|
|
||||||
|
|
||||||
vdd_layer = bitcell.vdd_layer
|
|
||||||
vdd_dir = bitcell.vdd_dir
|
vdd_dir = bitcell.vdd_dir
|
||||||
|
|
||||||
gnd_layer = bitcell.gnd_layer
|
|
||||||
gnd_dir = bitcell.gnd_dir
|
gnd_dir = bitcell.gnd_dir
|
||||||
|
|
||||||
# vdd/gnd are only connected in the perimeter cells
|
# vdd/gnd are only connected in the perimeter cells
|
||||||
|
|
@ -514,8 +505,6 @@ class replica_bitcell_array(bitcell_base_array):
|
||||||
top_bot_mult = 1
|
top_bot_mult = 1
|
||||||
left_right_mult = 1
|
left_right_mult = 1
|
||||||
|
|
||||||
vdd_locs = []
|
|
||||||
gnd_locs = []
|
|
||||||
# There are always vertical pins for the WLs on the left/right if we have unused wordlines
|
# There are always vertical pins for the WLs on the left/right if we have unused wordlines
|
||||||
self.left_gnd_locs = self.route_side_pin("gnd", "left", left_right_mult)
|
self.left_gnd_locs = self.route_side_pin("gnd", "left", left_right_mult)
|
||||||
self.right_gnd_locs = self.route_side_pin("gnd","right", left_right_mult)
|
self.right_gnd_locs = self.route_side_pin("gnd","right", left_right_mult)
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,3 @@
|
||||||
export OPENRAM_HOME="`pwd`/compiler"
|
export OPENRAM_HOME="`pwd`/compiler"
|
||||||
export OPENRAM_TECH="`pwd`/technology"
|
export OPENRAM_TECH="`pwd`/technology"
|
||||||
export PYTHONPATH=$OPENRAM_HOME
|
export PYTHONPATH=$OPENRAM_HOME
|
||||||
for dir in `pwd`/compiler/*
|
|
||||||
do
|
|
||||||
if [ -d $dir ]; then
|
|
||||||
export PYTHONPATH=$PYTHONPATH:$dir
|
|
||||||
fi;
|
|
||||||
done
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue