summaryrefslogtreecommitdiff
blob: 493ba225f963af5dab930d0a8c2a1862ab0eed17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import java.util.*;

public class VHDLComponent
{
   private static final Map<String, VHDLComponent> FROM_ID;

   static
   {
      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;

   private VHDLComponent (final String id)
   {
      this.id = id;

      port_map = new HashMap<String, String>();
   }
}