The basic par statement, before I add anything of my own is...
Code: Select all
par
{
// Web
on tile[1]: rgmii_ethernet_mac(i_rx, NUM_ETH_CLIENTS,
i_tx, NUM_ETH_CLIENTS,
null, null,
c_rgmii_cfg,
rgmii_ports,
ETHERNET_DISABLE_SHAPER);
on tile[1].core[0]: rgmii_ethernet_mac_config(i_cfg, NUM_CFG_CLIENTS, c_rgmii_cfg);
on tile[1].core[0]: ar8035_phy_driver(i_smi, i_cfg[CFG_TO_PHY_DRIVER]);
on tile[0]: xtcp_lwip(i_xtcp, NUM_XTCP_CLIENTS, null,
i_cfg[CFG_TO_XTCP], i_rx[ETH_TO_XTCP], i_tx[ETH_TO_XTCP],
null, ETHERNET_SMI_PHY_ADDRESS,
null, otp_ports, ipconfig);
on tile[1]: smi(i_smi, p_smi_mdio, p_smi_mdc);
}
When I build the code it tells me it has used all 8 cores on tile 1 (and one on tile 0).
Is this right?
What are the unaccounted for 4-5 cores doing?
Is there a more efficient way to do this?
Code: Select all
Constraint check for tile[0]:
Cores available: 8, used: 1 . OKAY
Timers available: 10, used: 1 . OKAY
Chanends available: 32, used: 6 . OKAY
Memory available: 262144, used: 72456 . OKAY
(Stack: 4908, Code: 44044, Data: 23504)
Constraints checks PASSED.
Constraint check for tile[1]:
Cores available: 8, used: 8 . OKAY
Timers available: 10, used: 8 . OKAY
Chanends available: 32, used: 21 . OKAY
Memory available: 262144, used: 110588 . OKAY
(Stack: 78644, Code: 22304, Data: 9640)
Constraints checks PASSED.