Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | to document it. | |||||||
> > | to document it. The address table files are used for access to the board in software, and also used to automatically control the display and format of status information in the text "status" command in AMC13Tool2 and the HyperDAQ display in xDAQ.
Address Table Format | |||||||
The master address table is kept as two CSV files, one for the T1 board and one for the T2 board.
Most registers of interest are on T1. The CSV files are here in SVN![]() AMCCounters.xml . | ||||||||
Line: 52 to 56 | ||||||||
The csv file is converted to XML by a perl script in the above directory named csv_to_xml.pl . | ||||||||
Changed: | ||||||||
< < | -- EricHazen - 14 Aug 2014 | |||||||
> > | Updating the Address TableHere are the steps to make a change to the address table: 1. Check out AMC13 software package and build:$ svn co svn+ssh://svnuser@svn.cern.ch/reps/cactus/trunk/cactusupgrades/boards/amc13/software/amc13 $ cd amc13 $ source env.sh # or possibly .csh $ make # possibly needed twice first time (substitute your CERN user name for svnuser)2. Identify the file which needs to be changed. There are several "source" CSV-format files. To identify the version number currently in use see the Makefile ![]() AMC13XG_T1_version.csv general Kintex/Virtex registers AMCCounters.csv counters for each AMC AMCLinks.csv link status for each AMC AMC13XG_T2_version.csv general Spartan registers3. Edit the file using OpenOffice/LibreOffice spreadsheet (or in an emergency carefully use a text editor): $ soffice FileToEdit.csvIn the "Text Import" dialog box be certain to check "Comma" in Separated by and "Quoted field as text". ![]() $ make perl csv_expand_repeat.pl AMCLinks.csv temp.csv perl csv_to_xml.pl temp.csv ../../../amc13/etc/amc13/AMCLinks.xml Loaded 32 rows, 12 columns from temp.csv $-- EricHazen - 28 May 2015 |