Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
euro-adc-65m-14b-40cha-gw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
eurocard
euro-adc-65m-14b-40cha
euro-adc-65m-14b-40cha-gw
Commits
6ebbcc92
Commit
6ebbcc92
authored
Aug 21, 2017
by
Dave Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to LED flasher for 64ch
parent
cffac61e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sc_timing.vhd
components/solid/firmware/hdl/sc_timing.vhd
+1
-1
top_decl.vhd
projects/64ch/firmware/hdl/top_decl.vhd
+1
-0
No files found.
components/solid/firmware/hdl/sc_timing.vhd
View file @
6ebbcc92
...
...
@@ -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
...
...
projects/64ch/firmware/hdl/top_decl.vhd
View file @
6ebbcc92
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment