Skip to content

Commit 125cde7

Browse files
committed
OpenRoadArch
1 parent 76a4dd5 commit 125cde7

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

doc/CodingPractices.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This is a compilation of many idioms in openroad code that I consider
22
undesirable. Obviously other programmers have different opinions or
3-
they would be so pervasive. James Cherry 04/2020
3+
they would not be so pervasive. James Cherry 04/2020
44

55
................................................................
66

@@ -97,6 +97,11 @@ ad nauseam
9797

9898
....
9999

100+
Do not use strings (names) to refer to database or sta objects except
101+
in user interface code. DEF, SDC, and verilog all use different names
102+
for netlist instances and nets so the names will not always match.
103+
104+
....
100105
Do not use continue.
101106
Wrap the body in an if instead.
102107

doc/OpenRoadArch.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,22 @@ Regression scripts should add output files or directories to
166166
`.gitignore` so that running does note leave the source repository
167167
"dirty".
168168

169+
The Nangate45 open source library data used by many tests is in
170+
`test/Nangate45`. Use the following command to add a link in the tool
171+
command
172+
173+
```
174+
cd tool/test
175+
ln -s ../../../test/Nangate45
176+
```
177+
178+
After the link is installed, the test script can read the liberty file
179+
with the command shown below.
180+
181+
```
182+
read_liberty Nangate45/Nangate45_typ.lib
183+
```
184+
169185
### Builds
170186

171187
Checking out the OpenROAD repo with --recursive installs all of the

0 commit comments

Comments
 (0)