Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TDC core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
TDC core
Commits
e9cd30b6
Commit
e9cd30b6
authored
Oct 27, 2011
by
Sebastien Bourdeauducq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
controller: fix accumulator overflow
parent
ef8c77d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tdc_controller.vhd
core/tdc_controller.vhd
+5
-2
No files found.
core/tdc_controller.vhd
View file @
e9cd30b6
...
...
@@ -12,6 +12,7 @@
--
-------------------------------------------------------------------------------
-- last changes:
-- 2011-10-27 SB Fix accumulator overflow
-- 2011-10-27 SB Fix LUT address offset
-- 2011-08-19 SB Created file
-------------------------------------------------------------------------------
...
...
@@ -286,7 +287,7 @@ begin
end
if
;
end
process
;
process
(
state
,
hc_zero
,
oc_ready_i
,
last_i
)
process
(
state
,
hc_zero
,
oc_ready_i
,
last_i
,
c_detect_i
)
begin
ready_p
<=
'0'
;
...
...
@@ -321,10 +322,12 @@ begin
his_we_o
<=
'1'
;
when
SC_READ
=>
calib_sel_o
<=
'1'
;
if
c_detect_i
=
'1'
then
hc_dec
<=
'1'
;
end
if
;
when
SC_UPDATE
=>
calib_sel_o
<=
'1'
;
his_we_o
<=
'1'
;
hc_dec
<=
'1'
;
if
hc_zero
=
'1'
then
oc_start_o
<=
'1'
;
end
if
;
...
...
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