1. Create new class (named maybe AMC13) which manages a connection to AMC13. It should:
    1. retrieve from an environment variable (AMC13_SERIAL_NO) the serial number of the AMC13 and calculate the I/P addresses. If not set, prompt the user for the serial number.
    2. set class variables to default address table names (AMC13_AddressTable_x6_v01.txt where x is S for Spartan or V for virtex.) Check for environment variables to override (AMC13_SPARTAN_ADDRESS_TABLE) etc
    3. provide methods to access the serial no, IP addresses and address table names, i.e. amc13.serial_no(), amc13.spartan_ip()
    4. provide methods to connect to the spartan and virtex chips and return a PyChips handle for read/write operations
    5. modify eventually all scripts to use the above class (start with a test version of ipbus.py)

-- EricHazen - 22 Feb 2012

Edit | Attach | Watch | Print version | History: r14 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 22 Feb 2012 - EricHazen
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback