Example #1
0
 def __init__(self, ddr):
     GPIOBank.__init__(
         self,
         'zynq_gpio',
         self.FP_GPIO_OFFSET + self.EMIO_BASE,
         0xFFF,  # use_mask
         ddr)
Example #2
0
 def __init__(self):
     GPIOBank.__init__(
         self,
         'zynq_gpio',
         self.BP_GPIO_OFFSET + self.EMIO_BASE,
         0x7,  # use_mask
         0x7,  # ddr
     )
Example #3
0
 def __init__(self, ddr):
     GPIOBank.__init__(
         self,
         {'label': 'zynq_gpio'},
         self.FP_GPIO_OFFSET + self.EMIO_BASE,
         0xFF, # use_mask
         ddr
     )
Example #4
0
 def __init__(self):
     GPIOBank.__init__(
         self,
         {'label': 'zynq_gpio'},
         self.BP_GPIO_OFFSET + self.EMIO_BASE,
         0x7, # use_mask
         0x7, # ddr
     )
Example #5
0
 def __init__(self, slot_idx):
     pwr_base = self.EMIO_BASE + 2*slot_idx
     GPIOBank.__init__(
         self,
         {'label': 'zynq_gpio'},
         pwr_base,
         0x3, # use_mask
         0x3, # ddr
     )