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/VHDLComponent.java | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'instance-calculator/src/VHDLComponent.java') diff --git a/instance-calculator/src/VHDLComponent.java b/instance-calculator/src/VHDLComponent.java index 29261a7..493ba22 100644 --- a/instance-calculator/src/VHDLComponent.java +++ b/instance-calculator/src/VHDLComponent.java @@ -9,6 +9,34 @@ public class VHDLComponent FROM_ID = new HashMap(); } + public static void add_element (final String id) + { + if (!FROM_ID.containsKey(id)) + { + FROM_ID.put(id, new VHDLComponent(id)); + } + } + + public static boolean handle_is_component_of + ( + final String cmp_id, + final String e_id + ) + { + return false; + } + + public static boolean handle_port_maps + ( + final String cmp_id, + final String pt_id, + final String wfm_id + ) + { + return false; + } + +/******************************************************************************/ private final Map port_map; private final String id; -- cgit v1.2.3-70-g09d2