Commit 10e0cb67 authored by v.svintozelskyi's avatar v.svintozelskyi
Browse files

First commit

parents
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}
%% Cell type:code id:pleased-marina tags:
``` python
import sys
sys.path.insert(0, '../')
import pasttrec_ctrl as pt
import pasttrec_conf as pc
```
%% Output
Welcome to JupyROOT 6.14/04
%% Cell type:code id:direct-humor tags:
``` python
# pt.found_baselines_for_boards(["0x1814", "0x1815", "0x1800"],plot=False)
```
%% Cell type:code id:coated-moral tags:
``` python
# mdc_tree = pc.getConnectedMDCtree()
# conf = pc.generateDefaultConfiguration(mdc_tree)
# conf = {"0x8001": conf["0x8001"], "0x8009": conf["0x8009"] }
# # print(*conf.values(), sep="\n")
# pc.found_all_baselines(conf)
# print(*conf.values(),sep="\n")
```
%% Output
OEP | | FPGA1 | FPGA2 | FPGA3
0x8001 | -- | 0x1800 |
| CH | PT1 PT2 PT3 PT4 | PT1 PT2 PT3 PT4 | PT1 PT2 PT3 PT4
| GA | 4.00 4.00 4.00 4.00 |
| TH | 0x08 0x08 0x08 0x08 |
| PT | 0010 0010 0010 0010 |
| B0 | 0x15 0x12 0x14 0x11 |
| B1 | 0x10 0x12 0x15 0x14 |
| B2 | 0x10 0x11 0x15 0x13 |
| B3 | 0x12 0x10 0x0F 0x0E |
| B4 | 0x13 0x11 0x0F 0x15 |
| B5 | 0x17 0x0E 0x12 0x17 |
| B6 | 0x10 0x0E 0x13 0x14 |
| B7 | 0x15 0x16 0x16 0x17 |
OEP | | FPGA1 | FPGA2 | FPGA3
0x8009 | -- | 0x1814 | 0x1815 |
| CH | PT1 PT2 PT3 PT4 | PT1 PT2 PT3 PT4 | PT1 PT2 PT3 PT4
| GA | 4.00 4.00 4.00 4.00 | 4.00 4.00 4.00 4.00 |
| TH | 0x08 0x08 0x08 0x08 | 0x08 0x08 0x08 0x08 |
| PT | 0010 0010 0010 0010 | 0010 0010 0010 0010 |
| B0 | 0x14 0x14 0x14 0x13 | 0x16 0x18 0x12 0x19 |
| B1 | 0x15 0x1A 0x13 0x1C | 0x17 0x14 0x15 0x16 |
| B2 | 0x0E 0x16 0x13 0x0F | 0x0E 0x0E 0x12 0x17 |
| B3 | 0x13 0x14 0x12 0x18 | 0x15 0x11 0x17 0x17 |
| B4 | 0x14 0x12 0x11 0x14 | 0x15 0x0E 0x18 0x17 |
| B5 | 0x15 0x1C 0x18 0x11 | 0x11 0x13 0x14 0x13 |
| B6 | 0x14 0x18 0x14 0x11 | 0x16 0x16 0x15 0x14 |
| B7 | 0x12 0x1C 0x10 0x15 | 0x0D 0x0F 0x18 0x15 |
%% Cell type:code id:suited-plant tags:
``` python
pt.readMemory("0x1814")
```
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
%% Cell type:code id:proof-inside tags:
``` python
import sys
sys.path.insert(0, '../')
import pasttrec_ctrl as pt
import pasttrec_conf as pc
```
%% Output
Welcome to JupyROOT 6.14/04
%% Cell type:code id:olive-clinton tags:
``` python
# pt.found_baselines_for_boards(["0x1814", "0x1815", "0x1800"],plot=False)
```
%% Cell type:code id:certified-tower tags:
``` python
# mdc_tree = pc.getConnectedMDCtree()
# conf = pc.generateDefaultConfiguration(mdc_tree)
# conf = {"0x8001": conf["0x8001"], "0x8009": conf["0x8009"] }
# # print(*conf.values(), sep="\n")
# pc.found_all_baselines(conf)
# print(*conf.values(),sep="\n")
```
%% Cell type:code id:psychological-jenny tags:
``` python
pt.printMemory("0x1814")
```
%% Output
0x00 0x00000000
0x01 0x00050300
0x02 0x4D1E4D10
0x03 0x4D3A4D2C
0x04 0x00000000
0x05 0x00000000
0x06 0x00000000
0x07 0x00000000
0x08 0x00000000
0x09 0x00000000
0x0A 0x00000000
0x0B 0x00000000
0x0C 0x00000000
0x0D 0x00000000
0x0E 0x00000000
0x0F 0x00000000
0x10 0x00050010
0x11 0x0005011E
0x12 0x0005022A
0x13 0x00050308
0x14 0x00050D05
0x15 0x00050414
0x16 0x00050515
0x17 0x0005060E
0x18 0x00050713
0x19 0x00050814
0x1A 0x00050915
0x1B 0x00050A14
0x1C 0x00050B12
0x1D 0x00050D05
0x1E 0x00050010
0x1F 0x0005011E
0x20 0x0005022A
0x21 0x00050308
0x22 0x00050D05
0x23 0x00050414
0x24 0x0005051A
0x25 0x00050616
0x26 0x00050714
0x27 0x00050812
0x28 0x0005091C
0x29 0x00050A18
0x2A 0x00050B1C
0x2B 0x00050B0F
0x2C 0x00050010
0x2D 0x0005011E
0x2E 0x0005022A
0x2F 0x00050308
0x30 0x00050D05
0x31 0x00050414
0x32 0x00050513
0x33 0x00050613
0x34 0x00050712
0x35 0x00050811
0x36 0x00050918
0x37 0x00050A14
0x38 0x00050B10
0x39 0x0005090F
0x3A 0x00050010
0x3B 0x0005011E
0x3C 0x0005022A