|
| 1 | +.. _corundum_ethernet_core: |
| 2 | + |
| 3 | +Corundum Ethernet Core |
| 4 | +================================================================================ |
| 5 | + |
| 6 | +.. hdl-component-diagram:: |
| 7 | + |
| 8 | +The :git-hdl:`Corundum Ethernet Core <library/corundum/ethernet_core>` is used |
| 9 | +by the Corundum Network Stack. The Ethernet Core is specific to each FPGA board |
| 10 | +and encompasses the Ethernet physical layer and other auxiliary structures such |
| 11 | +as SPI and I2C that are required by the Corundum system. The configurations are |
| 12 | +based on `Corundum NIC <https://github.com/ucsdsysnet/corundum>`__ reference |
| 13 | +designs that were adapted to suit the ADI workflow. |
| 14 | + |
| 15 | +Features |
| 16 | +-------------------------------------------------------------------------------- |
| 17 | + |
| 18 | +* Supports 100G Ethernet-based systems that uses the CMAC core on the VCU118 |
| 19 | + board |
| 20 | + |
| 21 | +Files |
| 22 | +-------------------------------------------------------------------------------- |
| 23 | + |
| 24 | +.. list-table:: |
| 25 | + :header-rows: 1 |
| 26 | + |
| 27 | + * - Name |
| 28 | + - Description |
| 29 | + * - :git-hdl:`library/corundum/ethernet_core/ethernet_core_vcu118.v` |
| 30 | + - Verilog source for the Ethernet Core top module for the VCU118 board. |
| 31 | + * - :git-hdl:`library/corundum/ethernet_core/eternet_ip.tcl` |
| 32 | + - TCL script to generate the Vivado IP-integrator project. |
| 33 | + |
| 34 | +Configuration Parameters |
| 35 | +-------------------------------------------------------------------------------- |
| 36 | + |
| 37 | +.. hdl-parameters:: |
| 38 | + |
| 39 | +Interface |
| 40 | +-------------------------------------------------------------------------------- |
| 41 | + |
| 42 | +.. hdl-interfaces:: |
| 43 | + |
| 44 | +Building |
| 45 | +-------------------------------------------------------------------------------- |
| 46 | + |
| 47 | +This IP uses `Corundum NIC <https://github.com/ucsdsysnet/corundum>`_ |
| 48 | +repository, which needs to be cloned alongside the HDL repository. |
| 49 | + |
| 50 | +.. shell:: |
| 51 | + |
| 52 | + ~/workspace |
| 53 | + $git clone https://github.com/ucsdsysnet/corundum.git |
| 54 | + $cd hdl/library/corundum/ethernet_core |
| 55 | + |
| 56 | +An environment variable must be exported for this IP, so Vivado builds the |
| 57 | +appropriate configuration. |
| 58 | + |
| 59 | +.. shell:: |
| 60 | + |
| 61 | + ~/workspace/hdl/library/corundum/ethernet_core |
| 62 | + $export BOARD=VCU118 |
| 63 | + $make |
| 64 | + |
| 65 | +.. attention:: |
| 66 | + |
| 67 | + If the Ethernet Core has to be used in a project that is designed for a |
| 68 | + different board than the one the IP was originally built for, then the BOARD |
| 69 | + variable must be overwritten and the IP rebuilt! |
| 70 | + |
| 71 | +.. hint:: |
| 72 | + |
| 73 | + To check what board the IP was built for, check the content of the board.env |
| 74 | + file after the build. |
| 75 | + |
| 76 | +.. shell:: |
| 77 | + |
| 78 | + ~/workspace |
| 79 | + $cd hdl/library/corundum/ethernet_core |
| 80 | + $cat board.env |
| 81 | + |
| 82 | +.. important:: |
| 83 | + |
| 84 | + It is recommended to include the BOARD variable inside the project's Makefile |
| 85 | + as it will check if the IP is built with the specified variable, and if not, |
| 86 | + it will build/rebuild it. |
| 87 | + |
| 88 | +.. shell:: |
| 89 | + |
| 90 | + export BOARD := VCU118 |
| 91 | + |
| 92 | +.. admonition:: Publications |
| 93 | + |
| 94 | + The following papers pertain to the Corundum source code: |
| 95 | + |
| 96 | + - J- A. Forencich, A. C. Snoeren, G. Porter, G. Papen, Corundum: An Open-Source 100-Gbps NIC, in FCCM'20. |
| 97 | + (`FCCM Paper`_, `FCCM Presentation`_) |
| 98 | + - J- A. Forencich, System-Level Considerations for Optical Switching in Data Center Networks. (`Thesis`_) |
| 99 | + |
| 100 | +.. _FCCM Paper: https://www.cse.ucsd.edu/~snoeren/papers/corundum-fccm20.pdf |
| 101 | +.. _FCCM Presentation: https://www.fccm.org/past/2020/forums/topic/corundum-an-open-source-100-gbps-nic/ |
| 102 | +.. _Thesis: https://escholarship.org/uc/item/3mc9070t |
| 103 | + |
| 104 | +References |
| 105 | +-------------------------------------------------------------------------------- |
| 106 | + |
| 107 | +* HDL IP core at :git-hdl:`library/corundum` |
0 commit comments