Commit 6ebbcc92 authored by Dave Newbold's avatar Dave Newbold

Fix to LED flasher for 64ch

parent cffac61e
......@@ -177,7 +177,7 @@ begin
end process;
sctr <= std_logic_vector(sctr_i);
led_out <= sctr(LED_BLK_RADIX + BLK_RADIX - 1);
led_out <= sctr_i(LED_BLK_RADIX + BLK_RADIX - 1);
-- Random number gen
......
......@@ -16,6 +16,7 @@ package top_decl is
constant N_CHAN: integer := 64;
constant BLK_RADIX: integer := 8; -- 256 sample blocks
constant SUPERBLK_RADIX: integer := 16; -- Superblock is 64k blocks
constant LED_BLK_RADIX: integer := 18; -- Divisor for blocks-per-led-flash
constant BUF_RADIX: integer := 11; -- One BRAM for NZS / ZS buffer
constant NZS_BLKS: integer := 2; -- Reserve two blocks of space for NZS buffer
constant ZS_BLKS: integer := 2; -- Time window for ZS buffer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment