Remove unused event
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 27 Jul 2020 15:58:04 +0000 (17:58 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 27 Jul 2020 15:58:04 +0000 (17:58 +0200)
gram/core/__init__.py

index 5632a82047f7cd0d71c345e100aa73e1e4de2987..371f674e972342d4a04c86afbeb58c4c9e7fa9d1 100644 (file)
@@ -15,8 +15,6 @@ class gramCore(Peripheral, Elaboratable):
 
         bank = self.csr_bank()
 
-        self._zero_ev = self.event(mode="rise")
-
         self._phy = phy
         self._geom_settings = geom_settings
         self._timing_settings = timing_settings
@@ -45,7 +43,6 @@ class gramCore(Peripheral, Elaboratable):
 
         self._bridge = self.bridge(data_width=32, granularity=8, alignment=2)
         self.bus = self._bridge.bus
-        self.irq = self._bridge.irq
 
     def elaborate(self, platform):
         m = Module()