fpgasystems / Coyote

Framework providing operating system abstractions and a range of shared networking (RDMA, TCP/IP) and memory services to common modern heterogeneous platforms.
MIT License
207 stars 62 forks source link

correct wrong ip inst config for u200 #45

Closed amefumi closed 10 months ago

amefumi commented 10 months ago

CMAC GT Ref Clock is set to 156.25MHz in constraints, but wrongly configured as 161MHz in IP inst. Constraint: hw/constraints/u200/u200_net_0.xdc:

# Clock (156.25 MHz)
set_property PACKAGE_PIN M10 [get_ports gt0_refclk_n] 
set_property PACKAGE_PIN M11 [get_ports gt0_refclk_p]

CMAC inst: hw/scripts/ip_inst/network_stack.tcl

...CONFIG.GT_REF_CLK_FREQ {161.1328125}...
...CONFIG.GT_REF_CLK_FREQ {161.1328125}...