DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
To generate the configurations of the AMCs, one can use tdemodules_gen.py
to create the detector connections, segment and session for the tde readout.
Run to generate the tde-testcrate configuration (default):
Run to genetate the full np02 tde configuration:
Note that the starting source ID (source ID of the first CRP) can be changed (defaults to 8)
The host for the dpdk receiver can also be changed (this will also be the host used for the readout application)
The host for communicating with the AMCs can also be changed
and the det_id can be changed if needed
Once a configuration is generated, you will see a file made:
Which is kept in ehn1-daqconfigs/hw/
. Update the include paths in the three respective files.
A few objects need to be created:
(note it is easier to use get_pcie_map.py
from performancetest
to do this)
Then, the isolated cpus need to be assigned as lcores. The isolated cpus can be found by doing:
to check for any errors in the configuration files, you can run