PRIVATE UPDATE PLAN

  • DONE
    • private cpp update : ver3.0->ver3.1
    • ver3.1 : FIx the bug in TgcSLcwTools,TgcSLdbTools,TgcSLlutTools,TgcSLucfTools.
      There SetParameters method returns incorrect value if you input invalid value.
    • ver3.1 : FEtoSLtools and SLtoFEtools are added new method of "setTrigT1TGC(const bool isTrigT1TGC)"
      Because we have no plan which reflect the HPT module bug to TrigT1TGC.

TGC SECTOR LOGIC UPDATE HISTORY

1.1 UPDATE HISTORY OF SL MAIN BITMAP FILE

YEAR DAY MainLogicVersion LUT : DATE LUT : MENU (pt1~pt6) Applied global run CW Set
2011 09.Nov 0x011 2011 09/29 NA , MU0(+MU0HALO) , MU06 , MU10, MU15 , MU20 (MU20+MU40) 193022 Set J
Set new pT Threshold menu for Ion Beam version
Set J : For Ion Beam Coincidence Window
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/184666
2011 21.Aug 0x011 2011 08/10 MU4' , MU06 , NA , MU10, MU15 , MU20 (MU20+MU40) 187810 Set I
pT Threshoold menu is changed
MU4' is applied.
Set I : L1_MU4' applied Coincidence Window
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/167628
2011 15.Mar 0x011 2011 03/15 MU0(MU0+MU0_HALO) , MU06 , NA , MU10 , MU15 , MU20 (MU20+MU40) 177648 Set H
Fix a bug of converting miss. (Previous firmware is made by new DBtoUCF converter.)
Endcap SSC2 could not issue trigger due to a bug of Coincidence Window to Verilog converter.
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/136042
2011 04.Mar 0x011 2011 03/01 MU0(MU0+MU0_HALO) , MU06 , NA , MU10, MU15 , MU20 (MU20+MU40) 176956 Set H
pT Threshoold menu is changed
Set H : pT3 and pT4 was swapped.
Special Coincidence Windows (normal + LPT) are applied in;
C-03-F-PHI2/3 and C-04-F-PHI0/1
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/134361
2011 24.Feb 0x011 2010 09/26 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 176501 Set F
Reverted to setup 2010.
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/133363
2011 12.Jan 0x013 2010 11/15 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 173058 Set F
Apply new "Allow Consecutive Trigger" Function.
Apply a new chamber boundary handling rule.
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/129806
2010 15.Nov 0x013 2010 11/15 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 169224 Set F
Cancel to apply LPT Coincidence Window.
2010 26.Sep 0x011 2010 09/09 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 165767 Set G
Applied LPT coincidence window;setup version is w90.
Generated on TrigT1TGC-00-02-42
Set G : L1MU6 and L1MU10 are applied in LPT coincidence window.
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/115241
2010 16.Aug 0x011 2010 08/11 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 161687 Set F
Applied dPhi wide coincidence window.
Generated on TrigT1TGC-00-02-36
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/109281?mail0=atlas-tgc-elog@cern.ch
2010 11.Jun 0x011 2010 0126 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 157228 Set D
Fix the Decoder bug for Endcap. (T5 wire 2nd candidate bug)
Optimize a part of TrackSelector. (finalcore.v)
E-LOG : https://atlasop.cern.ch/elog/ATLAS/ATLAS/97426
2010 04.May 0x00c 2010 0126 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 154678 Set D
Fix the Decoder bug for Endcap and Forward
(Fix a bug of not-setting strip info for LUT inputs in Endcap))
( Define patterns with two same hitIds.)
Disable the "STOPPER" function
2010 29.Apr 0x00a 2010 0126 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 154218 Set D
Fix the Decoder bug for Endcap and Forward
(Fix a bug of incorrect inputs for WIRE2 in ENDCAP)
(Define patterns with multiple Endcap strips from different chambers.)
(Fix a bug of no defintion of bit fields in FORWARD.)
2010 29.Jan 0x009 2010 0126 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) 145712 Set D
New Coincidence Window generated on TrigT1TGC-00-02-19
2010 22.Jan 0x009 2010 0118 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) Not used in global run Set D
BCR timing : posedge -> negedge
LUT : Correct delta sign bit (R and Phi)
2009 9.Nov 0x008 2009 1109 MU0(MU0+MU0_HALO) , MU06 , MU10 , NONE , MU15 , MU20 (MU20+MU40) before 140541 Set D
Set D : Original Coincidence Window


1.2 UPDATE HISTORY OF SL GLINK MONITOR BITMAP FILE

YEAR DAY VERSION Applied global run
2010 2.June 0x005 156660
2009 9.Nov 0x004 before 140541

1.3 UPDATE HISTORY OF SL BCR DEPTH

YEAR DAY CHANGE run# REASON
2011 24.Feb +1 176501 Reverte to setup 2010
2011 17.Jan -1 173058 For SL Firmware ver0x13
2010 4.Mar -3 149642 __
2010 26.Nov +2 140955 __
2009 25.Nov -1 140795 __


1.4 UPDATE HISTORY OF SL TDAQ CONFIGURATION SOFTWARE

YEAR DAY UPDATE TgcVmeTm TGCSLModule run#
2011 4.Feb Change the declation of "AllowConsecutiveTrigger" register from bool to int. not updated updated 174693
2010 26.Apr Add a schema to configure "AllowConsecutiveTrigger" register updated updated 154193
svn link
https://svnweb.cern.ch/cern/wsvn/muondaq/TGCSLModule/#path_TGCSLModule_
https://svnweb.cern.ch/cern/wsvn/muondaq/TgcVmeTm/#path_TgcVmeTm_
TDAQ xml link
02-00-03
https://atlasop.cern.ch/cvs/viewvc.cgi/tdaq-02-00-03/muons/segments/TGC/SL/
03-00-01
https://atlasop.cern.ch/cvs/viewvc.cgi/tdaq-03-00-01/muons/segments/TGC/SL/

1.5 FEATURES OF COINCIDENCE WINDOW SET

VERSION Applied Date Features
SetD befor 2010 16.Aug Original Coincidence Window
SetE Not in used Not in used
SetF 2010 16.Aug Fat Coincidence Window (The acceptance of coincidence window more than L1MU6 widened 2 dPhi.)
SetG 2010 26.Sep L1MU6 and L1MU10 are applied in LPT coincidence window.
SetH 2011 04.Mar pT3 and pT4 was swapped.
SetI 2011 21.Aug L1MU4' was applied
SetJ 2011 09.Nov Heavy ion beam menu

TGC SectorLogic Command

  • reset semaphore
    1. log in atlasgw
    2. source /det/muon/TGCFE/installed/bin/TGC_env.sh
    3. do $reset_semaphore.sh

  • Read SL register
    1. Set the enviroment to use VME command.
    2. use "VmeRegisters"
    $ VmeRegisters -r -b 0x0{XYZ}{CHIP ADDRESS}:{REG}
    SL BOARD ADDRESS = 0xXYZ
    SL CHIP ADDRESS = CPLD:0x000 , FPGA0:0x400 , FPGA1:0x800 , GlinkMonitor : 0xc00
    SL REGISTER ADDRESS = REG
    • Example )
      A01 Endcap PHI0(chip0) FPGA0 : REGISTER 0x1fc
      $ VmeRegisters -r -b 0x01300400:0x1fc

  • Write SL register
    1. Set the enviroment to use VME command.
    2. use "VmeRegisters"
    $ VmeRegisters -w -b 0x0{XYZ}{CHIP ADDRESS}:{REG}:{VALUE}
    SL BOARD ADDRESS = 0xXYZ
    SL CHIP ADDRESS = CPLD:0x000 , FPGA0:0x400 , FPGA1:0x800 , GlinkMonitor : 0xc00
    SL REGISTER ADDRESS = REG
    WRITE VALUE = VALUE
    • Example )
      A01 , Endcap , PHI0 , FPGA0 , REGISTER : 0x000 , VALUE : 1
      $ VmeRegisters -r -b 0x01300400:0x000:1

  • Glink State
    "GlinkMonitor" has some regsters to monitor glink state. there name is "GState".
    They return state value is 16 bits in normal case.
    • Example : 0xf190
      • GState[3:0] Problematic status history. {RXDATA,RXCNTL,RXERROR,RXREADY}. it is the "X" value in 0x???X
      • GState[7:4] Current status. {RXDATA,RXCNTL,RXERROR,RXREADY}. it is the "X" value in 0x??X?
      • GState[11:8] DIV value (setting of glink frequency). it is the "X" value in 0x?X??
      • GState[15:12] RESET. {RESET_,StateReset_,VmeReset,,GlinkOK}. it is the "X" value in 0xX???
    • Normal Status
      • Problematic status : can ignore
      • Current status
        • data mode 4'b1001 = 0x9
        • idle mode 4'b0001 = 0x1
        • problem : others (include CTRL mode)
      • DIV
        • should be 2'b01 = 0x01
        • Sometimes it change to 2'b10 = 0x2. Then SL is tring the automatic recover. Error counters will be increased.
      • RESET values
        • They should be all 1. If GlinkOK become "0" when SectorLogic will not issue something triggers.

TgcSectorLogic Source

  • SL configuration file list (for end of 2009)
    xls

TgcSectorLogic BITFILE

  • ENDCAP
    • MAIN FPGA : XILINX VERTEX2 , XC2V3000-BG728 ... x2 chips / board
    • Glink Monitor : XILINX SPARTAN2E , XC2S150E-FG456 ... x1 chip / board

  • FORWARD
    • MAIN FPGA : XILINX VERTEX2 , XC2V1000-4BG575C ... x2 chips / board
    • Glink Monitor : XILINX SPARTAN2E , XC2S50E-PQ208 ... x1 chip / board

  • BOARD ADDRESS (S is 1/12 sector number)
    • ENDCAP PHI0 : S30 - CHIP0
    • ENDCAP PHI1 : S30 - CHIP1
    • ENDCAP PHI2 : S31 - CHIP0
    • ENDCAP PHI3 : S31 - CHIP1
    • FORWARD PHI0 : S20 - CHIP0
    • FORWARD PHI1 :S20 - CHIP1

  • BITFILE MAKER
    • How To Use (Easy)
      1. Log in *ajelec2.cern.ch*
        (user : tgc08 , passwd : shared password in ATLAS JAPAN ELEC)
        (If you want to log in ajelec2 using "vnc" , you should use an account tgc08.)
        (ajelec2 is Windows XP desktop machine)
      2. Boot a cygwin, and type a command BitfileMaker -v. The setup file for BitfileMaker will be opened using vi.
      3. Put ucf file into "C:\SectorLogic\LUT\" and set number of ucf files in "The number of ucf file".
      4. Make new directory to put new bitfiles in "C:\SectorLogic\BitFile\"
      5. Modify the setup file for BitfileMaker using by "BitfileMaker -v" on cygwin terminal.
      6. Set two variables
        "UCF" : Set the path for ucf file.
        "PutBitFile" : Set the path to put new bitfiles.
      7. Execute the "BitfileMaker" on cygwin.
      8. After ~60min new files will be into "output" directory. (in case of a total number of ucf file is 12.)
    • If you can't use "vi" , you should open the "PathList.txt".
      "C:\SectorLogic\tool\txt\PathList\test\PathList.txt"
      Using sakura_editor or notepad or something.
    • other_tools

Other Tools for TGC SectorLogic

TGC SL LINKS

Miscs

  • How to print A0 size poster : pptx pdf

Private Area

My Links

Personal Preferences

Uncomment preferences variables to activate them (remove the #-sign). Help and details on preferences variables are available in TWikiPreferences.

  • Show tool-tip topic info on mouse-over of WikiWord links, on or off:
    • #Set LINKTOOLTIPINFO = off
  • Horizontal size of text edit box:
    • #Set EDITBOXWIDTH = 70
  • Vertical size of text edit box:
    • #Set EDITBOXHEIGHT = 22
  • Style of text edit box. width: 99% for full window width (default), width: auto to disable.
    • #Set EDITBOXSTYLE = width: 99%
  • Write protect your home page: (set it to your WikiName)

Related Topics

UserForm
FirstName Takashi
LastName Hayakawa
Email takashi.hayakawa@cernNOSPAMPLEASE.ch
Telephone

Address

Comment

Edit personal data
Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf HowToUseTheCERNPublicPrinter.pdf r1 manage 874.8 K 2010-09-17 - 15:30 TakashiHayakawa  
Unknown file formatpptx HowToUseTheCERNPublicPrinter.pptx r1 manage 312.5 K 2010-09-17 - 15:31 TakashiHayakawa  
Microsoft Excel Spreadsheetxls SLPromConfigurationList02.xls r1 manage 39.0 K 2010-05-23 - 23:20 TakashiHayakawa SL board address vs mod id
Edit | Attach | Watch | Print version | History: r43 < r42 < r41 < r40 < r39 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r43 - 2012-02-15 - TakashiHayakawa
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback