eth_mac
This commit is contained in:
parent
6b8c0aed97
commit
d6aac16faf
|
@ -104,4 +104,19 @@ APB(32位)发起两笔读transaction:
|
||||||
|
|
||||||
## 4.2 状态机设计
|
## 4.2 状态机设计
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
# 5 MAC-IP Propramming Guide
|
||||||
|
To guide to propram sequences to initialize and manage.
|
||||||
|
寄存器配置流程:下配置的核心是:读-修改-写--目的是为了防止覆盖同一寄存器的其他字段;
|
||||||
|
实现:使用MASK参数来进行精准定位需修改的位;
|
||||||
|

|
||||||
|
|
||||||
|
## 5.1 Startup using Standard Alignment Marker Cycle length
|
||||||
|
以寄存器配置去bring up 这个800GBASE-R8 KP:
|
||||||
|
配置通道0的相关寄存器,然后通过读取状态寄存器0x0010,等待其中指定的9个状态位全部置1,表示通道0已经启动完成。
|
||||||
|

|
||||||
|
进行适配APB配置时的32bit接口
|
||||||
|

|
||||||
|
到时候仿axi_read_modify_write()函数,来进行写一个apb_read_modify_write()函数,注意addr、data、mask的取32bit map;
|
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
Binary file not shown.
After Width: | Height: | Size: 180 KiB |
Binary file not shown.
After Width: | Height: | Size: 209 KiB |
Binary file not shown.
Before Width: | Height: | Size: 208 KiB |
Loading…
Reference in New Issue