summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'instance-calculator/src/VHDLComponent.java')
-rw-r--r--instance-calculator/src/VHDLComponent.java28
1 files changed, 28 insertions, 0 deletions
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<String, VHDLComponent>();
}
+ 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<String, String> port_map;
private final String id;