Commit e447283
committed
[FIRRTL] Fix InstanceOp::getPortDomain
Fix a mistake in the `InstanceOp::getPortDomain` member function where
this would always return a casted `ArrayAttr` for a port's domain
information. This is not correct as the domain information can be
_either_ an `ArrayAttr` (if a non-domain port) or a
`FlatSymbolRefAttr` (if a domain port).
Signed-off-by: Schuyler Eldridge <[email protected]>1 parent 2215d6c commit e447283
File tree
2 files changed
+3
-3
lines changed- include/circt/Dialect/FIRRTL
- lib/Dialect/FIRRTL
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2658 | 2658 | | |
2659 | 2659 | | |
2660 | 2660 | | |
2661 | | - | |
| 2661 | + | |
2662 | 2662 | | |
2663 | 2663 | | |
2664 | | - | |
| 2664 | + | |
2665 | 2665 | | |
2666 | 2666 | | |
2667 | 2667 | | |
| |||
0 commit comments