File size: 2,197 Bytes
660c0b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Does TritonRoute support all design rules in  ISPD 2014/2015 tech files?

Tool: Detailed Routing

Subcategory: Design rule support

## Conversation

### liangrj2014
We wonder whether TritonRoute support all design rules in ISPD 2014/2015 tech files (https://www.ispd.cc/contests/14/web/benchmarks.html)? Example design rules are as follows:

1. PROPERTY LEF57_MINSTEP "MINSTEP 0.100 MAXEDGES 1 ;" ;

2. MINIMUMCUT 2 WIDTH 0.400 ;

3. MINENCLOSEDAREA 0.30 ;

4. PROPERTY LEF57_SPACING "SPACING 0.13 PARALLELOVERLAP ;”;


### maliberty
We test with ispd 18&19 but not those.  2 is only relevant for pdn and I know we support 3.  @osamahammad21 would you check on 1 & 4

### refaay
We currently parse for LEF58 rules. We don't parse LEF57 (by looking at /src/odb/src/lefin/lefin.cpp and /src/drt/src/io/io.cpp).
I will start a PR for parsing LEF57.

Also, we don't support PARALLELOVERLAP option for LEF58_SPACING in drt according to io.cpp:



```

case odb::dbTechLayerCutSpacingRule::CutSpacingType::PARALLELOVERLAP:

        logger_->warn(utl::DRT,
                      260,

                      "Unsupported LEF58_SPACING rule for layer {} of type "

                      "PARALLELOVERLAP.",

                      layer->getName());

        break;

```


We support MAXEDGES for LEF58_MINSTEP as in io.cpp:



```

for (auto rule : layer->getTechLayerMinStepRules()) {

    auto con = make_unique<frLef58MinStepConstraint>();
    con->setMinStepLength(rule->getMinStepLength());

    con->setMaxEdges(rule->isMaxEdgesValid() ? rule->getMaxEdges() : -1);

    con->setMinAdjacentLength(

        rule->isMinAdjLength1Valid() ? rule->getMinAdjLength1() : -1);

    con->setEolWidth(rule->isNoBetweenEol() ? rule->getEolWidth() : -1);

    tmpLayer->addLef58MinStepConstraint(con.get());

    tech_->addUConstraint(std::move(con));

  }

```

### maliberty
We could add support for new rules if there is strong interest

### refaay
Hi @liangrj2014 , we added support for PROPERTY LEF57_MINSTEP & PROPERTY LEF57_SPACING.
Also, support for PARALLELOVERLAP will be added soon.

### refaay
@liangrj2014 PARALLELOVERLAP is now supported for LEF57_SPACING &LEF58_SPACING properties.