I am trying to configure the PHY in an ethernet packet manipulating program that I am writing.
According to the technical reference manual (Zynq-7000 AP SoC Technical Reference Manual), before I begin configuring bits on the PHY maintenance register I need to wait for it to become idle ("gem.net_status[phy_mgmt_idle]=1").
However, I cannot simply do "while(gem.net_status[phy_mgmt_idle]!=1){sleep(1);print("waiting for idle
");}
because gem is not an object in my program.
Where do I go to find the documentation about how to interact gem?