Git Product home page Git Product logo

albatros_firmware_slx's Introduction

albatros_firmware_slx

albatros_dual_snap_4bit (1).slx is a Simulink design that was previously constructed. It does not correspond to the (.fpg) bistream that we currently use but is thought to conain much of the same logic.

quad_input_poco.slx comes from a casper tutorial and was likely used as a boilerplate for building our current firmware.

reconstruct_albatros_dual_15.slx is my attempt to combine the above two slx files and, using the names of registers used by our software, to reverse engineer our currently firmware to retrieve a source file that compiles to something that is functionally identical to what we currently have.

Known issues

I have tested reconstruct_albatros_dual_15 on our software but it fails to initialize properly; failing scilently. The bitstream is happy to be written to the FPGA, and our software is able to read/write from/to it's registers. However, when we ask it to report a time-integrated power-spectrum, the data read is all zeros.

In a previous version of our software, the katcp socket (to my understanding this is the protocol used to by our PI to communicate with the FPGA) times-out consistently after 3 minutes of operating. After the three minutes, I start it up again and tour new firmware bitstream works! This makes me think something is going wrong at the initialization stage. However, this problem does not occur if we use the old bitstream (the one we've been using since 2019), i.e. our firmware boots up reliably.

In our current software, the katcp socket does not time-out and our new firmware never outputs anything other than zeros, failing scilently.

In conclusion, this leads me to believe that our new simulink file reconstruct_albatros_dual_15.slx is almost functional. It just doesn't initialize correctly. I have been unable to fix this bug for over a week and am now soliciting help from the casper community. Any advice or help is welcome. On the CASPER Slack I'm Stephen Fay ([email protected]).

The crucial parts of the analysis code are the python files in the root: config_fpga.py and albatrosdigitizer.py (they uses config.ini)

albatros_firmware_slx's People

Contributors

dcxst avatar

Watchers

 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.