Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC TDC 1ns 5cha - Gateware
Commits
d0dc3163
Commit
d0dc3163
authored
Sep 21, 2018
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: change TEST1 register layout
parent
a388eab5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
reg_ctrl.vhd
hdl/rtl/reg_ctrl.vhd
+4
-16
No files found.
hdl/rtl/reg_ctrl.vhd
View file @
d0dc3163
...
...
@@ -153,9 +153,7 @@ entity reg_ctrl is
-- Signal to the acam_timecontrol_interface unit -- eva: i think it s not needed
start_phase_o
:
out
std_logic_vector
(
g_width
-1
downto
0
);
int_flag_dly_ce_o
:
out
std_logic
;
int_flag_dly_inc_o
:
out
std_logic
;
int_flag_dly_rst_o
:
out
std_logic
int_flag_delay_o
:
out
std_logic_vector
(
15
downto
0
)
);
end
reg_ctrl
;
...
...
@@ -363,13 +361,9 @@ begin
dac_word
<=
c_DEFAULT_DAC_WORD
;
-- default DAC Vout = 1.65
gen_fake_ts_enable_o
<=
'0'
;
int_flag_dly_rst_o
<=
'0'
;
int_flag_dly_ce_o
<=
'0'
;
int_flag_dly_inc_o
<=
'0'
;
cyc2_in_progress
<=
'0'
;
int_flag_delay_o
<=
(
others
=>
'0'
);
elsif
wb_in
.
cyc
=
'1'
and
wb_in
.
stb
=
'1'
and
wb_in
.
we
=
'1'
then
cyc2_in_progress
<=
'1'
;
if
reg_adr
=
c_STARTING_UTC_ADR
then
...
...
@@ -410,17 +404,11 @@ begin
gen_fake_ts_period_o
<=
wb_in
.
dat
(
27
downto
0
);
end
if
;
int_flag_dly_ce_o
<=
'0'
;
if
reg_adr
=
c_TEST1_ADR
then
int_flag_dly_ce_o
<=
wb_in
.
dat
(
0
)
and
not
cyc2_in_progress
;
int_flag_dly_inc_o
<=
wb_in
.
dat
(
1
);
int_flag_dly_rst_o
<=
wb_in
.
dat
(
2
);
int_flag_delay_o
<=
wb_in
.
dat
(
15
downto
0
);
end
if
;
else
int_flag_dly_ce_o
<=
'0'
;
cyc2_in_progress
<=
'0'
;
end
if
;
end
if
;
end
process
;
...
...
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