GithubHelp home page GithubHelp logo

jbrzusto / digdar Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 24.31 MB

fork of red pitaya dedicated to digitizing pulsed marine radar

License: GNU General Public License v2.0

Makefile 7.14% JavaScript 0.80% CSS 0.05% HTML 15.17% C 60.23% TeX 0.03% Objective-C 0.01% Perl 5.76% Roff 1.83% Shell 1.53% C++ 3.63% XS 0.07% Assembly 0.18% DTrace 0.01% Perl 6 1.46% Lua 0.19% GDB 0.03% Batchfile 0.02% Tcl 1.76% CartoCSS 0.08%

digdar's People

Contributors

alesb avatar bborut avatar dakus avatar jbrzusto avatar pdorazio avatar

Watchers

 avatar  avatar

Forkers

lingx107

digdar's Issues

give ACP primacy over ARP

ARP is not always detected, and not always at same location, so:

  • treat the ACP count as the azimuth clock
  • track running mean and variance of the ACP (including fractional portion) at which ARP is detected

FPGA TODO:

  • new SWEEP_COUNTER uint32 records number of times ACP count has wrapped past a specified value (e.g. 450 for Furuno, 4096 for Bridgemaster E)
  • when SWEEP_COUNTER increments, record:
    • ADC clocks since reset
    • ARP count
    • ADC clocks since last ARP
  • when TRIG is detected, record:
    • ACP count
    • ADC clocks since last ACP reset

trying to initialize registers at reset trims critical logic

Something is wrong in the logic for setting metadata registers.
In Vivado 2013.3, critical logic is trimmed (with warning 8232) if any registers are
set from red_pitaya_digdar.v in a clause like

always @(posedge adc_clk_i) begin
   if (adc_rstn_i == 1'b0) begin
       trig_count <= 32'h0;
   end
end

For now, we're working around this by having Init() from jbrzusto/ogdar/fpga/fpga.go
set initial values.

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.