Giter Site home page Giter Site logo

casper_adc16's Introduction

casper_adc16

Ancillary files for CASPER ADC16 development

installation

To install the ruby package,

cd ruby
rake package
cd pkg/
gem install adc16

Usage

Once the gem is installed, the following may be run from the command line.

adc16_init.rb

Usage: adc16_init.rb [OPTIONS] HOSTNAME BOF

Programs HOSTNAME with ADC16-based design BOF and then calibrates
the serdes receivers.

Options:
    -d, --demux=D                    Set demux mode (1|2|4) [1]
    -g, --gain=G                     Set digital gain [1]
    -i, --iters=N                    Number of snaps per tap [1]
    -r, --reg=R1=V1[,R2=V2...]       Register addr=value pairs to set
    -v, --[no-]verbose               Display more info [false]
    -h, --help                       Show this message

adc16_status.rb

Usage: adc16_status.rb [OPTIONS] ROACH2_NAME [...]

Shows ADC16 status for a running ADC16-based design.

Using the --cal option will verify SERDES calibration,
which will briefly switch in test patterns then revert
to analog inputs.  For cal status: "." = OK; "X" = BAD.

Options:
    -c, --[no-]cal                   Check SERDES calibration [false]
    -h, --help                       Show this message
    

adc16_plot_taps.rb

Usage: adc16_plot_taps.rb [OPTIONS] ROACH2_NAME [BOF]

Plot error counts for various ADC16 delay tap settings.
Programs FPGA with BOF, if given.

Options:
    -c, --chips=C,C,...              Which chips to plot [all]
    -d, --device=DEV                 Plot device to use [/xs]
    -e, --expected=N                 Expected value of deskew pattern [42]
    -i, --iters=N                    Number of snaps per tap [1]
    -n, --nxy=NX,NY                  Controls subplot layout [auto]
    -v, --[no-]verbose               Display more info [false]
    -h, --help                       Show this message

adc16_dump_chans.rb

Usage: adc16_dump_chans.rb [OPTIONS] ROACH2_NAME

Dump samples from ADC16 based design.
Lengths between 1025 and 65536 requires the adc16_test design.

Options:
    -l, --length=N                   Number of samples to dump per channel (1-65536) [1024]
    -r, --rms                        Output RMS of each channel instead of raw samples [false]
    -v, --[no-]verbose               Display more info [false]
    -h, --help                       Show this message

casper_adc16's People

Contributors

david-macmahon avatar telegraphic avatar gitj avatar

Watchers

 avatar James Cloos avatar

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.