| 69 | 7. Find the chunk of code that starts with "BEGIN w3_userio." Before the "END" line, add the following port connections: |
| 70 | |
| 71 | {{{ |
| 72 | PORT usr_hexdisp_left = LeftHexDisplay |
| 73 | PORT usr_hexdisp_right = RightHexDisplay |
| 74 | PORT usr_leds_green = GreenLEDs |
| 75 | PORT usr_leds_red = RedLEDs |
| 76 | PORT usr_pb_u = UpPushbutton |
| 77 | }}} |
| 78 | |
| 79 | This connects the ports from the prng_useriosrc_plbw to the appropriate ports on the User I/O core. At this point, you may wonder how you are supposed to know the names of ports themselves. Unfortunately, ports that are floating (i.e. disconnected) do not show up in the system.mhs file. The best way to find a full list of all ports a pcore has is by looking at its entry in the "System Assembly View" tab. In the next step, we'll be looking at this view to verify that the prng_useriosrc pcore is correctly hooked up to the system. |
| 80 | |
| 81 | 8. |