BitfileMaker

  • How To Make New Ucf Files
    • First step.
      1. Log in ajelec2.cern.ch.
      2. Boot the Cygwin to do your work.

    • "Data Base File" Converter
      This tool is "C:\SectorLogic\tool\Python\DataBaseFileConverter\dbconverter.py".
      1. Set directory path which has original .db files.
      2. Set directory path to put new .db files.
      3. Set log file path. (Please set to do not make something confusing)
      4. Confirm the logflag is True.
      5. Set pt threshold menu. if you write "pt1 = 2" , the dbconverter.py will change the Coincidence Window for pt1 to pt2.
      6. Set "chver" , dbconverter.py will make new file which name is RPhiCoincidenceMap.mod??.CHVER._??.db.
      7. Execute dbconverter.py like "python C:\SectorLogic\tool\Python\DataBaseFileConverter\dbconverter.py"
        And new db file will be put into "output directory".

    • Data Base File to UCF" Converter
      (https://svnweb.cern.ch/trac/atlasusr/browser/hayakawa/tool/BitFileTools/Java/DBtoUCFconverter)
      1. Log in ajelec2.cern.ch and go to "C:\SectorLogic\tool\Java\DBtoUCFconverter".
      2. Cange directory into latest version.
      3. Change directory into "class" directory.
      4. Open the "converter.py" and modify it.
        • db_path : please set .db file which you want to convert to ucf files.
        • bitver : Already this information was disabled in SL mainlogic.
        • ptX : Please do not change setting.
          If you want to change pt threshold menu , please use "dbconverter.py" and make adjusted .db file.
      5. Execute convert.py like "python convert.py".
      6. New ucf file will put into same directory of "db file directory"

    • XSVF maker
      1. Log in ajelec2.cern.ch and go to "C:\SectorLogic\tool\Python\xsvfMaker".
      2. Open the xsvfMaker.py using something editor.
      3. Modify some setting.
        • bitfiledir : set original bitfile directory.
        • mcsdir : set directory path to put new mcs files.
        • svfdir : set directory path to put new svf files.
        • xsvfdir : set directory path to put new xsvf files.
        • logfile : set file path to logfile.
      4. Execute the xsvfMaker.py like "python xsvfMaker.py"
      • XSVF maker makes mcs file at first step.
        After that XSVF maker makes svf and xsvf files using mcs files.
      • FOR EXPERTS
        1. If you reinstall xilinx ise.
          Please correct the path to "impact.exe". It is written in xsvfMaker.py :: LINE = ~25.
        2. Xsvf maker makes ".bat" files. It in same directory as "mcs" file.
          And xsvf maker execute bat files.

  • How To Use (For experts)
    1. Compile the verilog files in "MainFactory" and "SL Endcap" or "SL Forward" written in setup file for BitfileMaker.
    2. Do $ BitfileMaker on cygwin terminal.
    3. Executing messages on cygwin will be into "Common Log File".
    4. More detailed messages will be into "Expert Log File".

  • Usefull command for cygwin in ajelec2.cern.ch.
    • cdsl = cd C:/SectorLogic
    • cdSLtool = cd C:/SectorLogic/tool
    • cdSLpython = cd C:/SectorLogic/tool/Python
    • cdSLjava = cd C:/SectorLogic/tool/Java
    • cdSLtxt = cd C:/SectorLogic/tool/txt
    • open = open the current directory using explorer.

  • Backup File
    • bitfile : ajelec2@C:/SectorLogic/MainFactory/tmp_bitfile/
    • path list :ajelec2@C:/SectorLogic/tool/txt/PathList/test
    • log file : :ajelec2@C:/SectorLogic/LogFile

-- TakashiHayakawa - 07-May-2010

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2010-09-30 - 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback