]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
changed ini file templare for new registers
authorJan Michel <j.michel@gsi.de>
Fri, 2 Aug 2013 13:21:35 +0000 (15:21 +0200)
committerJan Michel <j.michel@gsi.de>
Fri, 2 Aug 2013 13:21:35 +0000 (15:21 +0200)
tools/startup.pl

index 7c2695aa191c323d0be9ed407108540ba9648699..3c2a9c0f9c8a53b9e8c2b83ff3150844241a4bf8 100755 (executable)
@@ -184,15 +184,15 @@ sub proto_chainsini {
   $r = qq%
 [$name]
 FPGAtrbnetAddr=0x$addr
-RAMtrbnetAddr=0xa%.($id*2).qq%00
-CMDreg_trbnetAddr=0xa%.($id*2+1).qq%20
-RAMbase_trbnetAddr=0xa%.($id*2+1).qq%21
-DATAreg_trbnetAddr=0xa%.($id*2+1).qq%22
+RAMtrbnetAddr=0xa%.($id*4).qq%00
+CMDreg_trbnetAddr=0xa%.($id*4+1).qq%20
+RAMbase_trbnetAddr=0xa%.($id*4+1).qq%21
+DATAreg_trbnetAddr=0xa%.($id*4+1).qq%22
 STAT_NIBBLEStrbnetAddr=0x008d
-STATUSCRCCHECKtrbnetAddr=0xa%.($id*2+1).qq%00
-STATUS2RAM3BBASEADDRREGtrbnetAddr=0xa%.($id*2+1).qq%63
-STATUS2STARTEDtrbnetAddr=0xa%.($id*2+1).qq%64
-STATUS2RAM3BtrbnetAddr=0xa%.($id*2+1).qq%70
+STATUSCRCCHECKtrbnetAddr=0xa%.($id*4+1).qq%00
+STATUS2RAM3BBASEADDRREGtrbnetAddr=0xa%.($id*4+1).qq%63
+STATUS2STARTEDtrbnetAddr=0xa%.($id*4+1).qq%64
+STATUS2RAM3BtrbnetAddr=0xa%.($id*4+1).qq%70
 CONFsignals_trbnetAddr=0xb020
 CONFresetafterfirstwrite_trbnetAddr=0xb011
 CONFresetbeforeinit_trbnetAddr=0xb010
@@ -201,12 +201,13 @@ CONFtrigmapsreset_trbnetAddr=0xb00d
 CONFtrigrunjtag_trbnetAddr=0xb00f
 CONFtrigwriteonce_trbnetAddr=0xb014
 CONFtriginitseq_trbnetAddr=0xb00c
+CONFCommandBaseAddr=0xa%.($id*4+2).qq%00
 chainnr=$id
-DEBUGram1baddr=0xa%.($id*2+1).qq%47
-DEBUGram1bdata=0xa%.($id*2+1).qq%48
-DEBUGram1caddr=0xa%.($id*2+1).qq%49
-DEBUGram1cdata=0xa%.($id*2+1).qq%4a
-DEBUGram1crun=0xa%.($id*2+1).qq%4b
+DEBUGram1baddr=0xa%.($id*4+1).qq%47
+DEBUGram1bdata=0xa%.($id*4+1).qq%48
+DEBUGram1caddr=0xa%.($id*4+1).qq%49
+DEBUGram1cdata=0xa%.($id*4+1).qq%4a
+DEBUGram1crun=0xa%.($id*4+1).qq%4b
 
 ;BEGIN GENERATE_CHAINORDER $name
 %;