Expose interrupt pin for standalone design
This commit is contained in:
parent
208bc095d9
commit
a696ccddb4
|
@ -46,6 +46,8 @@ _io = [
|
|||
("sys_clock", 0, Pins(1)),
|
||||
("sys_reset", 1, Pins(1)),
|
||||
|
||||
("interrupt", 0, Pins(1)),
|
||||
|
||||
# MII PHY Pads
|
||||
("mii_eth_clocks", 0,
|
||||
Subsignal("tx", Pins(1)),
|
||||
|
@ -223,6 +225,8 @@ class MACCore(PHYCore):
|
|||
self.submodules += bridge
|
||||
self.add_wb_master(bridge.wishbone)
|
||||
|
||||
self.comb += self.platform.request("interrupt").eq(self.ethmac.ev.irq)
|
||||
|
||||
# UDP Core -----------------------------------------------------------------------------------------
|
||||
|
||||
class UDPCore(PHYCore):
|
||||
|
|
Loading…
Reference in New Issue