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
4f9dc666
Commit
4f9dc666
authored
Jun 06, 2017
by
Dave Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing block timestamp issue
parent
6a21f83f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sc_trig_ro_block.vhd
components/solid/firmware/hdl/sc_trig_ro_block.vhd
+2
-1
No files found.
components/solid/firmware/hdl/sc_trig_ro_block.vhd
View file @
4f9dc666
...
...
@@ -34,6 +34,7 @@ end sc_trig_ro_block;
architecture
rtl
of
sc_trig_ro_block
is
constant
OFFSET
:
integer
:
=
(
NZS_BLKS
+
ZS_BLKS
)
*
2
**
BLK_RADIX
;
signal
tctr_i
:
unsigned
(
27
downto
0
);
signal
go
,
blkend
:
std_logic
;
signal
chen
,
keep_c
:
std_logic_vector
(
63
downto
0
);
...
...
@@ -67,7 +68,7 @@ begin
with
ro_ctr
select
ro_q
<=
X"0"
&
std_logic_vector
(
tctr_i
)
when
X"00"
,
-- Type 0
std_logic_vector
(
sctr
(
31
downto
1
))
&
'0'
when
X"01"
,
-- Hack so that counter is taken at start-of-block
std_logic_vector
(
unsigned
(
sctr
(
31
downto
1
)
&
'0'
)
-
OFFSET
)
when
X"01"
,
-- Hack so that counter is taken at start-of-block
X"0000"
&
std_logic_vector
(
sctr
(
47
downto
32
))
when
X"02"
,
chen
(
31
downto
0
)
when
X"03"
,
-- Corresponds to CH_WORD = 3 in sc_roc
chen
(
63
downto
32
)
when
X"04"
,
...
...
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