summaryrefslogtreecommitdiff
blob: a5ba28c3bb2fcc4b496c32870edc5f52957c13b8 (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
import java.util.*;

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

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

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

      ports = new ArrayList<String>();
   }
}