Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
wr2rf-vme
Commits
b949d498
Commit
b949d498
authored
May 10, 2023
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: add force_valid_offline_vtu
parent
531ca642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
vtu_blk.vhd
hdl/rtl/vtu_blk.vhd
+10
-1
No files found.
hdl/rtl/vtu_blk.vhd
View file @
b949d498
...
...
@@ -123,6 +123,7 @@ architecture rtl of vtu_blk is
signal
params_online
:
t_vtu_params
;
signal
force_valid_offline
:
std_logic
;
signal
force_valid_offline_vtu
:
std_logic
;
-- In clk_vtu domain
signal
vtu_use_sync_as_start
:
std_logic
:
=
'0'
;
...
...
@@ -303,6 +304,14 @@ begin
vtu_stop
<=
stop_vtu_pulse
or
soft_stop_vtu
;
inst_force_valid_psync
:
entity
work
.
gc_sync
port
map
(
clk_i
=>
clk_vtu_i
,
rst_n_a_i
=>
rst_vtu_n
,
d_i
=>
force_valid_offline
,
q_o
=>
force_valid_offline_vtu
);
-- Handle start pulse.
process
(
clk_sys_i
)
begin
...
...
@@ -401,7 +410,7 @@ begin
-- Delayed 2 is used by the vtu so that it has enough time to check the values.
vtu_start_d2
<=
vtu_start_d
;
if
vtu_start
=
'1'
then
if
valid_offline
=
'1'
then
if
valid_offline
=
'1'
or
force_valid_offline_vtu
=
'1'
then
-- CDC
-- Registers can be read because they aren't modified
-- while the start pulse is transfered.
...
...
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