Giter Club home page Giter Club logo

fastino's Introduction

QUARTIQ Matrix Chat

Fastino gateware and software development

  • Fastino is a 32 channels, 2 M/s simultaneous, 16 bit DAC
  • AD5542ABCPZ

Hardware

Hardware https://github.com/sinara-hw/Fastino/wiki

Link

  • Interface: single EEM
    • CLK word clock at 250 MHz/7, 1:7 serialization/deserialization, and 3:4 clock duty cycle
    • MOSI0 data 250 Mb/s, 125 MHz DDR bit clock
    • MOSI1
    • MOSI2
    • MOSI3
    • MOSI4
    • MOSI5
    • MISO return data at 125/7 Mb/s (TBD)
  • Each word (one word clock cycle with 7 bits per lane) is 7*6=42 bits.
  • A frame consists of 14 words.
  • A frame contains 14/2+1 marker bits to provide EOF alignment and a 12 bit CRC.
  • This leaves 568 bits per frame for 32*16 bits DAC data, a 32 bit channel mask, and 24 bits for configuration and return data addressing
  • On 6 data lanes, this achieves 1.5 Gb/s raw from the FPGA and 1.45 Gb/s net payload (after accounting for framing and checksum).
  • The frame period is 392 ns and the DAC data/sample/update rate is therefore 2.55 MS/s.
  • There is one slower upstream lane at 125/7 Mb/s providing 7 bits per frame return data. Details TBD
  • Similar to well-known video and highspeed/serdes data links
  • Link design benefits Grabber HITL testing
  • The Link design can be reused for Humpback and Banker where the same FPGA sits on the EEM.
  • Link training (bit slip, delay alignment) is automatic
  • Checksum protects the data
  • Due to the beat between the 7x4 ns word clock and the 21 ns SPI clock, there is a deterministic jitter in the DAC conversion with an amplitude of 7 ns and a period of 3 samples.

Tools

  • migen
  • misoc
  • yosys
  • nextpnr
  • icestorm

Build

  • If using an old nextpnr version, patch migen to use the heap placer
python fastino_phy.py

Flash

See https://github.com/quartiq/kasli-i2c

Figure out the aa-bb-cc-dd-ee-ff mac address of the Kasli connected. Otherwise if you are using a Kasli that was not provisioned using the tools in kasli-i2c, patch flash_fastino.py to make it find your Kasli. Assuming Fastino is connected to EEM0:

python flash_fastino.py aa-bb-cc-dd-ee-ff EEM0 write fastino.bin

fastino's People

Contributors

jordens avatar sbourdeauducq 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.