Commit Graph

739 Commits

Author SHA1 Message Date
Florent Kermarrec 8a3e0a23aa phy/a7_1000basex: Use ALIGN_COMMA_WORD/RXCDR_CFG from Xilinx wizard. 2024-10-15 10:06:45 +02:00
Florent Kermarrec 04fc888285 liteeth/phy/pcs_1000basex: Avoid deadlock situation in AUTONEG_WAIT_ABI if receiving ACKNOWLEDGE instead of ABILITY. 2024-10-15 10:01:36 +02:00
Florent Kermarrec e5746c8a81 phy/pcs_1000basex: Add missing RX Align during AUTONEG_WAIT_ABI state and enable/connect it on all PHYs. 2024-10-15 09:47:46 +02:00
Florent Kermarrec 7e602c406d phy/pcs_1000basex: Replace self.lp_abi.o[0] with is_sgmii to ease understanding. 2024-10-15 09:28:09 +02:00
Florent Kermarrec 41c8b50ba5 phy/pcs_1000basex: Cleanup sgmii timer reload. 2024-10-15 09:26:34 +02:00
Florent Kermarrec 78b8f9ee85 mac/sram: Minor cosmetic cleanup. 2024-10-15 09:17:42 +02:00
Florent Kermarrec f30d6ef7b9 mac/core: Switch to LiteXModule. 2024-09-27 15:14:23 +02:00
Florent Kermarrec b96a6252c4 setup.py: 2024.08 release. 2024-09-27 09:35:27 +02:00
Florent Kermarrec 880bdf43b0 liteeth/phy/rmii: Add 10Mbps/100MBps dynamic speed support.
Speed still needs to be changed manually, we could try to add automatic detection in the future.
2024-09-26 12:57:29 +02:00
enjoy-digital 7f91ebbee5
Merge pull request #172 from VOGL-electronic/phy_rmii_fix_efinix_sdr
phy/rmii: fix it for efinix
2024-09-26 11:55:32 +02:00
enjoy-digital 90b1a18485
Merge pull request #173 from trabucayre/efinix_rework_clkinput_pll
phy/trionrgmii,titaniumrgmii: replaces str by ClockSignal for ClkInput and PLL
2024-09-26 11:51:44 +02:00
Gwenhael Goavec-Merou 3696ef82bb phy/trionrgmii,titaniumrgmii: replaces str by ClockSignal for ClkInput and PLL 2024-09-26 11:03:12 +02:00
Fin Maaß 3693c61cbe
phy/rmii: fix it for efinix
On efinix platforms the clk signal of
`SDROutput` and `SDRInput` has to come
from the PLL.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-09-25 17:06:29 +02:00
Florent Kermarrec 2b0156e9b3 liteeth/mac/core: Allow PHY to enforce with_preamble_crc/with_padding parameters.
Avoid exposing these parameters up to add_ethernet since appropriate behaviour is generally
directly related to the type of PHY (ex LiteEthPHYModel or custom/specialized PHY).
2024-09-23 16:35:28 +02:00
Florent Kermarrec 1d19de09ef phy/rmii: Cosmetic cleanups. 2024-09-23 15:30:08 +02:00
Florent Kermarrec f252eed154 phy/rmii/LiteEthPHYRMIIRX: Avoid FSM, simplify and add comments. 2024-09-23 15:23:38 +02:00
Florent Kermarrec 5438ff01e1 phy/rmii/LiteEthPHYRMIIRX: Avoid reset on converter and improve frame delimitation. 2024-09-23 12:22:57 +02:00
Florent Kermarrec 66b277a80b phy/rmii: Also use SDROutput on TX and add comments/simplify. 2024-09-23 11:53:42 +02:00
Florent Kermarrec 3cfbf007ab phy/rmii/LiteEthPHYRMIIRX: Use SDRInput on pads.csr_dv/rx_data to make it clear input is synchronous. 2024-09-23 11:42:30 +02:00
Florent Kermarrec 5538c87115 liteeth/phy/rmii: Move crs first/last detection outside of FSM. 2024-09-23 11:30:57 +02:00
Florent Kermarrec 1c89387d09 liteeth/phy/rmii: Replace MuliReg with stream.Delay. 2024-09-23 11:05:23 +02:00
Florent Kermarrec af746ec973 liteeth/core/__init__.py: Switch to LiteXModule. 2024-09-20 16:19:03 +02:00
Florent Kermarrec a75f4e5ea7 CONTRIBUTORS: Update. 2024-09-20 12:28:14 +02:00
Florent Kermarrec 28cf1c267b LICENSE/README.md: Bump year. 2024-09-20 12:27:07 +02:00
Florent Kermarrec dd1988a40d frontend/etherbone/LiteEthEtherbonePacketRX: Only enable LiteEthLastHandler for 64-bit case. 2024-09-20 12:15:18 +02:00
Florent Kermarrec d5a9f9d2d4 core: Expose icmp_fifo_depth paramter. 2024-09-19 22:18:53 +02:00
enjoy-digital b61c3e5bd1
Merge pull request #171 from GustavsC/master
Add support for Virtex7-1000Base
2024-09-18 11:19:01 +02:00
Gustav db1795171b
Merge branch 'enjoy-digital:master' into master 2024-09-17 16:56:26 -03:00
enjoy-digital 5bc0ec00be
Merge pull request #169 from VOGL-electronic/fix_phy_rmii_efinix
phy: rmii: use ClockSignal(refclk_cd) to drive DDROutput
2024-09-17 21:20:30 +02:00
GustavsC ac70566ab4 Create v7_1000basex.py
Adding Virtex 7 1000 Basex
2024-09-17 11:24:38 -03:00
Florent Kermarrec b573e1267c phy/xgmii: Add Clk/Data Pads definition to avoid duplication in PHYs. 2024-09-16 11:35:33 +02:00
Fin Maaß 7e072a997b
phy: rmii: use ClockSignal(refclk_cd) to drive DDROutput
use ClockSignal(refclk_cd) to drive DDROutput.

with this the DDROutput can be used on efinix platforms.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-09-13 12:05:38 +02:00
Florent Kermarrec 78513c2ba7 frontend/stream: Add 64-bit data_width support. 2024-09-12 18:46:11 +02:00
Florent Kermarrec b1f916a447 frontend/etherbone: Add LiteEthLastHandler to LiteEthEtherbonePacketRX for 64-bit data-width support. 2024-09-12 13:33:49 +02:00
Florent Kermarrec 0b5389feab mac: Move LiteEthMACLastBE module to common.py and rename to LiteEthLastHandler. 2024-09-12 13:32:38 +02:00
Florent Kermarrec a2a862dc1b liteeth_gen: Add XGMII PHY support (Transceiver still need to be integrated externally). 2024-09-11 15:21:24 +02:00
Gwenhael Goavec-Merou 74bd085757
Merge pull request #168 from trabucayre/efinix_rework_primitives
Efinix rework primitives
2024-09-10 18:41:06 +02:00
Gwenhael Goavec-Merou 9496fd229f phy/titaniumrgmii.py: uses ClockSignal for DDRInput/DDROutput/ClkOutput, added cd for eth_tx_delayed, removed name=xxx for clkout with a cd 2024-09-10 11:52:48 +02:00
Gwenhael Goavec-Merou 88387cbd11 phy/trionrgmii.py: use ClockSignal for ClkOutput 'o', remove name parameter when a cd is used 2024-09-10 11:27:47 +02:00
Gwenhael Goavec-Merou 577a47222c phy/trionrgmii.py: DDRInput/DDROutput switch clk to a ClockSignal 2024-09-10 08:09:03 +02:00
Gwenhael Goavec-Merou ea07f5c421 phy/titaniumrgmii,trionrgmii: fixed pll clkin name by appending a '0' to match ClkInput / get_pin_name modifications introduces by LiteX commit d3161ad74c4b2afd5635f76f566c37f362eb166a 2024-09-04 14:48:34 +02:00
Gwenhael Goavec-Merou ecaebfe645 phy/trionrgmii.py: fixed RX and TX sides. RX: forces phase align by usign it as PLL's feedback. TX: reduces PLL phase shift 90 -> 45 2024-09-03 15:08:09 +02:00
enjoy-digital 9780327251
Merge pull request #167 from VOGL-electronic/fix_liteethmac
mac/__init__.py: Fix LiteEthMAC.
2024-08-27 09:20:33 +02:00
Fin Maaß 7086f6d0ea
mac/__init__.py: Fix LiteEthMAC.
This fixes LiteEthMAC and
LiteEthMACCoreCrossbar.

Its also renames the depacketizer in
LiteEthMACCoreCrossbar for mac filtering
to filter_depacketizer, so it is not mixed up
with self.depacketizer.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-08-27 08:41:26 +02:00
Florent Kermarrec edc7188faa mac/__init__.py: Improve/Cleanup LiteEthMAC. 2024-08-19 10:19:53 +02:00
Florent Kermarrec bfc07e543a mac/__init__: Add comments on RX broadcard/filtering and minor cleanups. 2024-08-19 09:58:53 +02:00
Florent Kermarrec 0bb6c53795 mac/__init__.py: Switch to LiteXModule and cosmetic improvements. 2024-08-19 09:38:35 +02:00
enjoy-digital 55bae6b7b4
Merge pull request #165 from VOGL-electronic/fix_packet_handling
MAC: Implement address filtering for logic interface in hybrid mode
2024-08-19 09:27:54 +02:00
enjoy-digital 9531af62a7
Merge pull request #166 from VOGL-electronic/fix_etherbone
Fix etherbone reads
2024-08-19 09:26:25 +02:00
Florent Kermarrec 964df3ac2f phy/a7_gtp: Add separators and remove __all__. 2024-08-19 09:24:34 +02:00