Giter VIP home page Giter VIP logo

ut-backplane-mapping's Introduction

UT-Backplane-mapping Build status

Signal mapping netlist (list of pin-to-pin correspondence) formatted for Altium to design the LHCb UT backplane.

  • AltiumNetlistGen.py: This script takes 3 YAML files and write the reformatted list to output/. All YAML files are located under input/; one of them describes connections from PT connectors point-of-view (PT- DCB); another from DCB; the third one includes break-out boards pin assignments.
  • NetlistCheck.py: This scripts takes Altium-exported netlists (under input/netlists) and check if these netlists fully implements connections specified in the copy-paste lists generated by the script above.
  • FiberAsicMap.py: This scripts take parsed netlists from AltiumNetlistGen.py, then use pre-defined PEPI structure in pyUTM.common to generate ASIC to fiber mapping in output/.

Prerequisite

Install the dependencies:

pip install -r pyUTM/requirements.txt

Usage

If only the copy-and-paste .csv are needed:

python ./AltiumNetlistGen.py

If additional error checking is required (note that this script would also generate .csv files):

python ./NetlistCheck.py <path_to_netlist_file> <optional:log_filename>

if <log_filename> not provided, log will be generated under log/, with a time-stamped filename of NetlistCheck-<bp_type>-YYYY-MM-DD-HHMMSS.log

If additional ASIC to fiber mapping generation is required:

python ./FiberAsicMap.py

All generated .csv files are located under output/. These scripts print out warnings to stdout, and can be redirected as needed.

Reference

The backplane-mapping effort is documented on TWiki page: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.