1# Clean up directory
2rm -rf work
3mkdir -p data
4mkdir -p work
5cd work
6
7# Create a soft link to openroad executable
8ln -s ../../../../build/src/openroad
9
10# Step A: Generate Patterns Layout that models
11#         various capacitance and resistance
12#         models.
13./openroad ../script/generate_patterns.tcl
14
15# Step B: Perform extraction using reference extractor.
16# The output parasitics file should placed in the
17# directory below.
18cd ./EXT
19
20##################################
21# Running the reference Extractor
22# #Put Command below
23##################################
24
25################################
26cd ..
27
28# Step C: Generate OpenRCX tech file
29#         (OpenRCX RC table) by converting
30#         the parasitics extracted from the
31#         reference extractor to a RC table.
32./openroad ../script/generate_rules.tcl
33
34# Step D: Perform parasitic extraction on the
35#         pattern geometries, and compare the
36#         parasitic result with the golden parasitics
37#         calculated by reference extractor to evaluate
38#         the accuracy of the OpenRCX using the generated
39#         RC table (Extraction Rule file).
40./openroad ../script/ext_patterns.tcl
41