Expose interrupt pin for standalone design

This commit is contained in:
Xiretza 2020-02-10 11:01:31 +01:00
parent 208bc095d9
commit a696ccddb4
No known key found for this signature in database
GPG Key ID: E51A6C6A1EB378ED
1 changed files with 4 additions and 0 deletions

View File

@ -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):