Code: Select all
read_sswitch_reg(get_local_tile_id(), XS1_SSWITCH_USB_PHY_CFG2_NUM, d);
Code: Select all
int main (void)
{
unsigned d;
read_sswitch_reg(get_local_tile_id(), XS1_SSWITCH_USB_PHY_CFG2_NUM, d);
return 0;
}
Tools version v15.3.0 (latest as time of writing)
Constraint check for tile[0]:
Cores available: 8, used: 1 . OKAY
Timers available: 10, used: 1 . OKAY
Chanends available: 32, used: 1 . OKAY
Memory available: 524288, used: 1892 . OKAY
(Stack: 348, Code: 1284, Data: 260)
Constraints checks PASSED.