| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-08-01 11:10:01 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-08-01 11:10:01 +0200 | 
| commit | 4637db06583bc250b96e6145fc7bac9e16c730df (patch) | |
| tree | d787feebae44e7bfd526e8391e1999376a4f0185 /ast-to-instr/src/VHDLNode.java | |
| parent | 798dea30c7832f8c6364d1734423c6a6fda1ce57 (diff) | |
Fixes is_accessed_by. CNE_01700 is not working.
The BCE has been updated to include a group of items that should be
tagged by the CNE_01700 rule. However, it's not happening. I don't see
anything wrong with the way the CNE_01700 rule is written and a quick
overview of the generated model would lead me to conclude that it indeed
should tag something. Likely there are still issues with the way
properties are turned into Kodkod formulas.
Diffstat (limited to 'ast-to-instr/src/VHDLNode.java')
| -rw-r--r-- | ast-to-instr/src/VHDLNode.java | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/ast-to-instr/src/VHDLNode.java b/ast-to-instr/src/VHDLNode.java index b05f08c..36ba028 100644 --- a/ast-to-instr/src/VHDLNode.java +++ b/ast-to-instr/src/VHDLNode.java @@ -69,6 +69,13 @@ public abstract class VHDLNode extends ParsableXML              Strings.get_id_from_string(Integer.toString(i)),              elements.get(i)           ); + +         Predicates.add_entry +         ( +            "is_accessed_by", +            elements.get(i), +            parent_id +         );        }     } @@ -111,6 +118,13 @@ public abstract class VHDLNode extends ParsableXML              Strings.get_id_from_string(Integer.toString(i)),              elements.get(i)           ); + +         Predicates.add_entry +         ( +            "is_accessed_by", +            elements.get(i), +            parent_id +         );        }     }  } | 


