From: Jan Michel Date: Fri, 2 Aug 2013 13:21:35 +0000 (+0200) Subject: changed ini file templare for new registers X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c9efc345fd579389195fb69f16384a6058cbe7dd;p=mvdsensorcontrol.git changed ini file templare for new registers --- diff --git a/tools/startup.pl b/tools/startup.pl index 7c2695a..3c2a9c0 100755 --- a/tools/startup.pl +++ b/tools/startup.pl @@ -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 %;