start adding myhdl IO class
[pinmux.git] / src / ifacebase.py
index c5487a1c3946562e55902f3714ab5200b7b60cb9..72dbcc9d06ef579673275866d46f429dcc850993 100644 (file)
@@ -66,7 +66,8 @@ class InterfacesBase(UserDict):
                 ln = ln.strip()
                 ln = ln.split("\t")
                 name = ln[0]
-                d = {'name': name}  # here we start to make the dictionary
+                d = {'name': name,  # here we start to make the dictionary
+                     'type': ln[1]}
                 if ln[1] == 'out':
                     d['action'] = True  # adding element to the dict
                 elif ln[1] == 'inout':