Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I have two boards connected to two PCs running the same 'sof' file. I create one TCL script for the transmitter that generates burst of packets and sends out as well as collects relevant statistics and print out. Another script for the receiver is to collect statistics of data received. The statistics at transmitter look nice but the receiver does not work. --- Quote End --- When you access each board, are you making sure to open the correct device? SystemConsole 'get service paths master' will return the path to both boards. Do you select one entry for the transmitter and the other for the receiver? How do you know which is which? Hint: in the system design, make the DIP switches readable, and set them differently on each board :) --- Quote Start --- My understanding is that the scripts are used to access, read or/and write to a specific register of a component in the whole design. How are the register organized? are they inside the FPGA and randomly allocated? --- Quote End --- Since the system is being accessed using SystemConsole, its most likely implemented using SOPC Builder or Qsys. Open the system design with the appropriate tool and you will see the address map defined there. If both boards have the same .sof, then they both have the same address map, and you need to make sure you access the transmitter board or receiver board as appropriate. Cheers, Dave