utils: timings: handle f7 and f8 mux timings

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
diff --git a/v2x/lib/mux.py b/v2x/lib/mux.py
index 59db0b2..910a6b6 100644
--- a/v2x/lib/mux.py
+++ b/v2x/lib/mux.py
@@ -188,12 +188,22 @@
             for outport in pins:
                 if outport.pin_type not in (MuxPinType.OUTPUT, ):
                     continue
+                if inport.name.startswith('I'):
+                    delay_inport = inport.name[1]
+                else:
+                    # if it is not IX it must be S
+                    delay_inport = "S0"
+                # XXX: temporary workaroud
+                if mux_name == "F6MUX":
+                    maxdel = "10e-12"
+                else:
+                    maxdel = "{{iopath_{}_OUT}}".format(delay_inport)
 
                 ET.SubElement(
                     pb_type_xml,
                     'delay_constant',
                     {
-                        'max': "10e-12",
+                        'max': maxdel,
                         'in_port': "%s" % inport.name,
                         'out_port': "%s" % outport.name,
                     },