From f1dfb1eb04a705521238dba64e09bb9ecdea794f Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 29 Aug 2017 00:05:39 +0200 Subject: Starting to get an idea of how it's going to work. --- instance-calculator/src/VHDLEntity.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'instance-calculator/src/VHDLEntity.java') 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(); } + 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 ports; private final String id; -- cgit v1.2.3-70-g09d2