Commit Graph

270 Commits

Author SHA1 Message Date
enjoy-digital 8accd6740a
Merge pull request #36 from antmicro/hybrid-mac
mac: add crossbar for sharing PHY between HW ethernet cores and Wishbone
2020-03-19 22:09:57 +01:00
Florent Kermarrec 400ca97f45 examples: increase clk_freq to 125MHz on udp_s7phyrgmii.yml. 2020-03-19 22:01:33 +01:00
Florent Kermarrec ea24ff6993 liteeth_gen: improve readability and add clk_freq checks. 2020-03-19 19:58:35 +01:00
enjoy-digital 693a6b1513
Merge pull request #35 from Xiretza/standalone-customization
Allow changing all SoC options through YAML config
2020-03-17 21:45:45 +01:00
Xiretza 2e9121d330
Allow changing all SoC options through YAML config 2020-03-17 18:52:44 +01:00
Piotr Binkowski ac9f6d9f05 mac: add crossbar for sharing PHY between HW ethernet cores and Wishbone 2020-03-13 15:30:36 +01:00
Florent Kermarrec 32d4af1148 phy/__init__: import all phys. 2020-03-01 20:13:23 +01:00
Florent Kermarrec b2e12724cc phy: add tx/rx_clk_freq to phys (useful to add an add_ethernet method in LiteX and simplify timing constraints). 2020-03-01 19:10:39 +01:00
Florent Kermarrec 466223e18d liteeth/gen: update copyrights 2020-02-12 16:50:35 +01:00
enjoy-digital d6b58886d2
Merge pull request #34 from Xiretza/generator-improvements
Generator configuration improvements
2020-02-12 16:44:19 +01:00
Xiretza 7a44209f77
Make memory/CSR regions customizable in config
Also remove interrupt mapping, since it's unused without a CPU anyway.
2020-02-12 15:55:04 +01:00
Xiretza ca9cbd1555
Move more options to config file 2020-02-12 15:55:04 +01:00
Xiretza eea1086654
Use builder arguments in generator 2020-02-12 15:51:53 +01:00
Xiretza b9fb1f03ec
Remove leftover classes in generator 2020-02-12 15:51:53 +01:00
Florent Kermarrec 358bc23cd4 examples/.ymls: add separators 2020-02-12 11:23:33 +01:00
Florent Kermarrec ddcbc33e63 test/test_gen: update 2020-02-12 11:17:38 +01:00
Florent Kermarrec fcadd60cea liteeth/gen: initial switch to YAML config file (similar to LiteDRAM/LitePCIe) 2020-02-12 00:18:22 +01:00
Florent Kermarrec b0290883d4 Merge branch 'ximinity-generator-lattice' 2020-02-11 23:35:16 +01:00
Florent Kermarrec 0954fa32b1 Merge branch 'generator-lattice' of git://github.com/ximinity/liteeth into ximinity-generator-lattice 2020-02-11 23:34:52 +01:00
enjoy-digital fcf7b245cb
Merge pull request #33 from Xiretza/standalone-features
Standalone generator improvements and fixes
2020-02-11 23:14:10 +01:00
Xiretza 5767dfcb6c
Honour --output-dir argument in generator 2020-02-11 22:03:12 +01:00
Xiretza 153c160670
Prioritise overridden interrupts and memory regions 2020-02-11 21:58:41 +01:00
Xiretza ec9bc578f2
Fix MII tx_en signal width in standalone generator 2020-02-11 21:57:47 +01:00
Xiretza 42a7b6c69d
Allow little-endian interface for standalone design 2020-02-11 21:57:47 +01:00
Xiretza a696ccddb4
Expose interrupt pin for standalone design 2020-02-11 21:57:02 +01:00
Florent Kermarrec 208bc095d9 liteeth/gen: update 2020-02-11 21:45:46 +01:00
Florent Kermarrec ddd0431373 examples: use integrated sram instead of external one. (Also fix regression with new SoC that no longer support address decoders passed to add_wb_slave) 2020-02-11 21:22:13 +01:00
Stefan Schrijvers ae10eea860
gen: add lattice support 2020-02-08 16:33:03 +01:00
Florent Kermarrec 081bf46ca6 mac/sram: simplify code and improve SRAM read speed using async_read on Memory. 2020-02-07 11:40:14 +01:00
Florent Kermarrec bf4a11ab30 mac/sram: simplify counter (use NextValue in FSM) 2020-02-07 10:57:25 +01:00
Florent Kermarrec 721238b7a8 mac/sram: cosmetic changes 2020-02-07 10:53:05 +01:00
Florent Kermarrec f532a12b40 phy/common: use CSRField for MDIO registers 2020-01-28 10:43:33 +01:00
Florent Kermarrec 8edf4f3f9a phy/1000basex: cleanup primitive instances, use Open signal class on open ports, polish code comments 2020-01-28 10:43:08 +01:00
Florent Kermarrec de40a66873 phy/gmii: cleanup BUFGMUX instance 2020-01-28 10:41:53 +01:00
Florent Kermarrec 983017a9ed phy/rgmii: cleanup primitive instances 2020-01-28 10:41:32 +01:00
enjoy-digital 8a4f38339a
Merge pull request #28 from jersey99/phy-usrgmii
Changes to get usrgmii and s7rgmii working in hardware
2020-01-28 08:54:09 +01:00
Vamsi K Vytla 8ecaaf0546 phy/{s7,us}rgmii.py:
Recent modification that adds S7PLL that in return adds an AsyncResetSynchronizer inside XilinxClocking.

This actually creates a multi-driven net because there is another AsyncResetSync* being added in the Phys.

This change instantiates the PLL without a reset for now, leaving the CD reset intact.
2020-01-27 12:52:10 -08:00
Vamsi K Vytla cd413c5c20 phy/usrgmii.py:
IDELAYE3 requires EN_VTC to be enabled for fixed mode time delay. This eliminates implementation time CRITICAL WARNINGs and ensures generating a bitfile.
2020-01-27 10:32:38 -08:00
Florent Kermarrec 3a54bf2b8b phy/rgmiis: uniformize a bit more 2020-01-18 00:24:40 +01:00
Florent Kermarrec e41f06bbf2 phy: cleanup imports/dw 2020-01-17 23:19:56 +01:00
Florent Kermarrec a48c78044e phy/s7rgmii/usrgmii: use S7PLL and USPLL 2020-01-17 23:08:38 +01:00
enjoy-digital 1dab80dd30
Merge pull request #26 from jersey99/marblemini
A few minor changes that help RGMII phy related debugging. {s6, s7, u…
2020-01-17 22:46:09 +01:00
Vamsi K Vytla c16e6b2d86 phy/ecp5rgmii.py: Missed moving dw as class variable here 2020-01-17 12:45:37 -08:00
Vamsi K Vytla 0a922bb2ad A few minor changes that help RGMII phy related debugging. {s6, s7, us}rgmii.py Make dw a class variable instead 2020-01-17 09:23:03 -08:00
Florent Kermarrec 17e228d4b0 phy/usrgmii: add configurable tx/rx_delay (2ns by default) 2020-01-17 09:24:35 +01:00
Florent Kermarrec 6270eb38d2 phy/s7rgmii: cleanup 2020-01-17 09:22:30 +01:00
Florent Kermarrec ee4f8c0f34 phy/usrgmii: improve presentation 2020-01-17 09:15:51 +01:00
Florent Kermarrec 2bdae4e7bd phy/s7rgmii: add configurable tx/rx_delay (2ns by default) 2020-01-17 09:13:29 +01:00
Florent Kermarrec aea81e19e9 phy/s7rgmii: improve presentation 2020-01-17 09:05:09 +01:00
Florent Kermarrec 2748e442a9 phy/s6rgmii: add configurable tx/rx_delay (2ns by default) 2020-01-17 09:03:34 +01:00