AMT-VME data format and parameters
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKAL
1
Module Control Parameters
2
Comment
3
DSP address + 0DSP address + 1Data length on Memory for DSP is 16bit
4
5
VME_A24D32
6
Description in the manualunsigned int in DSP
corresponding to "DSP address" + 0x0000
unsigned int in DSP
corresponding to "DSP address" + 0x0001
7
DSP addressVME address (byte)32 bit 幅でのオフセット313029282726252423222120191817161514131211109876543210
8
$ 8F80DP top+0x0000Pcount (Parameter counter:16bit)=> DSP
9
$ 8F82+$ 0004+0x0001Run Statussee sheet of "Run Status"=> DSP
10
$ 8F84+$ 0008+0x0002Time range count (dcount 12 bit)
(Rec time = 25 ns x dcount)
CSR4 (reject_count_offset) = 0xFFF - (0x08+ time_range_count)
CSR6 (bunch_count_offset) = 0xFFF - (0x04 + time_range_count)
=> AMT (via DSP)
11
$ 8F86+$ 000C+0x0003Module ID=> DSP
12
$ 8F88+$ 0010+0x0004CH_Enable ( #31 (MSB) - #0 (LSB) )Each bit is a swith of ON/OFF, CSR13 and CSR14=> AMT (via DSP)
13
$ 8F8A+$ 0014+0x0005CH_Enable ( #63 (MSB) - #32 (LSB) )CSR13 and CSR14=> AMT (via DSP)
14
$ 8F8C+$ 0018+0x0006NPAT: number of partitions (12 bit)=> DSP
15
$ 8F8E+$ 001C+0x0007Icount (Input counter: 16 bit)=> DSP
16
$ 8F90+$ 0020+0x0008mask_window (12 bit)AMT CSR1, This function is added by MK=> AMT (via DSP)
17
$ 8F92+$ 0024+0x0009search_window (12 bit)AMT CSR2, This function is added by MK=> AMT (via DSP)
18
$ 8F94+$ 0028+0x000Amatch_window (12 bit)AMT CSR3, This function is added by MK=> AMT (via DSP)
19
$ 8F96+$ 002C+0x000B
20
$ 8F98+$ 0030+0x000C
21
$ 8F9A+$ 0034+0x000D
22
$ 8F9C+$ 0038+0x000E
23
$ 8F9E+$ 003C+0x000F
24
$ 8FA0+$ 0040+0x0010Offset for ch#0 (16bit signed)Offset for ch#1 (16bit signed)=> DSP
25
$ 8FA2+$ 0044+0x0011Offset for ch#2 (16bit signed)Offset for ch#3 (16bit signed)=> DSP
26
$ 8FA4+$ 0048+0x0012Offset for ch#4 (16bit signed)Offset for ch#5 (16bit signed)=> DSP
27
$ 8FA6+$ 004C+0x0013Offset for ch#6 (16bit signed)Offset for ch#7 (16bit signed)=> DSP
28
$ 8FA8+$ 0050+0x0014Offset for ch#8 (16bit signed)Offset for ch#9 (16bit signed)=> DSP
29
$ 8FAA+$ 0054+0x0015Offset for ch#10 (16bit signed)Offset for ch#11 (16bit signed)=> DSP
30
$ 8FAC+$ 0058+0x0016Offset for ch#12 (16bit signed)Offset for ch#13 (16bit signed)=> DSP
31
$ 8FAE+$ 005C+0x0017Offset for ch#14 (16bit signed)Offset for ch#15 (16bit signed)=> DSP
32
$ 8FB0+$ 0060+0x0018Offset for ch#16 (16bit signed)Offset for ch#17 (16bit signed)=> DSP
33
$ 8FB2+$ 0064+0x0019Offset for ch#18 (16bit signed)Offset for ch#19 (16bit signed)=> DSP
34
$ 8FB4+$ 0068+0x001AOffset for ch#20 (16bit signed)Offset for ch#21 (16bit signed)=> DSP
35
$ 8FB6+$ 006C+0x001BOffset for ch#22 (16bit signed)Offset for ch#23 (16bit signed)=> DSP
36
$ 8FB8+$ 0070+0x001COffset for ch#24 (16bit signed)Offset for ch#25 (16bit signed)=> DSP
37
$ 8FBA+$ 0074+0x001DOffset for ch#26 (16bit signed)Offset for ch#27 (16bit signed)=> DSP
38
$ 8FBC+$ 0078+0x001EOffset for ch#28 (16bit signed)Offset for ch#29 (16bit signed)=> DSP
39
$ 8FBE+$ 007C+0x001FOffset for ch#30 (16bit signed)Offset for ch#31 (16bit signed)=> DSP
40
$ 8FC0+$ 0080+0x0020Offset for ch#32 (16bit signed)Offset for ch#33 (16bit signed)=> DSP
41
$ 8FC2+$ 0084+0x0021Offset for ch#34 (16bit signed)Offset for ch#35 (16bit signed)=> DSP
42
$ 8FC4+$ 0088+0x0022Offset for ch#36 (16bit signed)Offset for ch#37 (16bit signed)=> DSP
43
$ 8FC6+$ 008C+0x0023Offset for ch#38 (16bit signed)Offset for ch#39 (16bit signed)=> DSP
44
$ 8FC8+$ 0090+0x0024Offset for ch#40 (16bit signed)Offset for ch#41 (16bit signed)=> DSP
45
$ 8FCA+$ 0094+0x0025Offset for ch#42 (16bit signed)Offset for ch#43 (16bit signed)=> DSP
46
$ 8FCC+$ 0098+0x0026Offset for ch#44 (16bit signed)Offset for ch#45 (16bit signed)=> DSP
47
$ 8FCE+$ 009C+0x0027Offset for ch#46 (16bit signed)Offset for ch#47 (16bit signed)=> DSP
48
$ 8FD0+$ 00A0+0x0028Offset for ch#48 (16bit signed)Offset for ch#49 (16bit signed)=> DSP
49
$ 8FD2+$ 00A4+0x0029Offset for ch#50 (16bit signed)Offset for ch#51 (16bit signed)=> DSP
50
$ 8FD4+$ 00A8+0x002AOffset for ch#52 (16bit signed)Offset for ch#53 (16bit signed)=> DSP
51
$ 8FD6+$ 00AC+0x002BOffset for ch#54 (16bit signed)Offset for ch#55 (16bit signed)=> DSP
52
$ 8FD8+$ 00B0+0x002COffset for ch#56 (16bit signed)Offset for ch#57 (16bit signed)=> DSP
53
$ 8FDA+$ 00B4+0x002DOffset for ch#58 (16bit signed)Offset for ch#59 (16bit signed)=> DSP
54
$ 8FDC+$ 00B8+0x002EOffset for ch#60 (16bit signed)Offset for ch#61 (16bit signed)=> DSP
55
$ 8FDE+$ 00BC+0x002FOffset for ch#62 (16bit signed)Offset for ch#63 (16bit signed)マニュアル p.19 にはVME add が"+$007C" とあるが間違い。=> DSP
56
$ 8FE0+$ 00C0+0x0030
57
$ 8FE2+$ 00C4+0x0031
58
$ 8FE4+$ 00C8+0x0032
59
$ 8FE6+$ 00CC+0x0033
60
$ 8FE8+$ 00D0+0x0034
61
$ 8FEA+$ 00D4+0x0035
62
$ 8FEC+$ 00D8+0x0036
63
$ 8FEE+$ 00DC+0x0037
64
$ 8FF0+$ 00E0+0x0038EchoPcount (16bit copy of parameter counter)<= AMT (via DSP)
65
$ 8FF2+$ 00E4+0x0039AMT Status (0:wait, 1:runnning, 2:end, -1:error)<= AMT (via DSP)
66
$ 8FF4+$ 00E8+0x003AScount (Save counter: 16bit)<= AMT (via DSP)
67
$ 8FF6+$ 00EC+0x003B
68
$ 8FF8+$ 00F0+0x003C
69
$ 8FFA+$ 00F4+0x003D
70
$ 8FFC+$ 00F8+0x003E
71
$ 8FFE+$ 00FC+0x003F
72
$ 9000+$ 0100+0x0040ここから先はデータバッファ
73
....
74
$ EFFF+$ BEFC+0x2FBF
75
76
77
Note: (1) DP top = VME Base Address + 0x60000 + 0x11F00 = VME Base Address + 0x71F00DP top のアドレスについて、日本語のユーザーマニュアルの記述は間違っている。Quick Operation Guide の記述が正しい。
78
(2) VME Base Address は本体の DIP スイッチ (SW3, SW4) で指定するアドレス
79
(3) VME のメモリマップをPCから読むときに、NKS2実験では vmeslib を使用している。
 指定した VME メモリ領域の最初アドレスを、int 型 (32 bit) のローカル変数のポインタに割り当てている。
 そのため、ポインタ変数+1 とすると、4バイト先のVMEメモリアドレスに対応することになる。
 このオフセットの数字が、上の表での「32 bit 幅でのオフセット」になる。
80
(4) ベースアドレスの先、0x60000 から 0x72DEC までVMEメモリを使っている。
 NSK2のDAQでは、メモリ領域が被らないように、0x00100000 毎にベースアドレスを振っていた。
 モジュールが増えて割り振るベースアドレスが足りなくなった後は、0x00080000 毎に振るようにしている。
Loading...