| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-08-29 00:05:39 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-08-29 00:05:39 +0200 |
| commit | f1dfb1eb04a705521238dba64e09bb9ecdea794f (patch) | |
| tree | e8cd8d7349cd5008160e4a19c1e788241dd11b7b /instance-calculator/src/VHDLEntity.java | |
| parent | ee9d405bc917be3f596ccd2ffd2d7ddc01687d31 (diff) | |
Starting to get an idea of how it's going to work.
Diffstat (limited to 'instance-calculator/src/VHDLEntity.java')
| -rw-r--r-- | instance-calculator/src/VHDLEntity.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/instance-calculator/src/VHDLEntity.java b/instance-calculator/src/VHDLEntity.java index c8fa332..a5ba28c 100644 --- a/instance-calculator/src/VHDLEntity.java +++ b/instance-calculator/src/VHDLEntity.java @@ -9,6 +9,24 @@ public class VHDLEntity FROM_ID = new HashMap<String, VHDLEntity>(); } + public static void add_element (final String id) + { + if (!FROM_ID.containsKey(id)) + { + FROM_ID.put(id, new VHDLEntity(id)); + } + } + + public static boolean handle_is_port_of + ( + final String pt_id, + final String e_id + ) + { + return false; + } + +/******************************************************************************/ private final List<String> ports; private final String id; |


