Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Converter Common 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
Converter Common Gateware
Commits
2a1ace18
Commit
2a1ace18
authored
Oct 12, 2017
by
Denia Bouhired-Ferrag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos and alignments
parent
53a7ca64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
80 deletions
+63
-80
conv_common_gw.vhd
top/conv_common_gw.vhd
+63
-80
No files found.
top/conv_common_gw.vhd
View file @
2a1ace18
...
...
@@ -383,7 +383,8 @@ architecture arch of conv_common_gw is
signal
fwdg_pmisse_bit
:
std_logic_vector
(
c_max_nr_chans
-1
downto
0
);
signal
fwdg_pmisse_bit_rst
:
std_logic_vector
(
c_max_nr_chans
-1
downto
0
);
signal
fwdg_pmisse_bit_rst_ld
:
std_logic
;
signal
pmisse_bits_or
:
std_logic
;
signal
pmisse_bits_or
:
std_logic
;
--signals for pulse counters
signal
rst_front_cnt
:
std_logic_vector
(
c_max_nr_chans
-1
downto
0
);
...
...
@@ -763,13 +764,11 @@ end generate gen_pulse_cnt_unused_chans;
--------------------------------------------------------------------------------
end
generate
gen_pulse_cnt
;
--------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
-- Instantiate pulse generator + burst controller block for the channel for LONG pulse operation
-------------------------------------------------------------------------------------------------
-- CONTINUOUS MODE
--
Instantiate pulse generator alone for
CONTINUOUS MODE
-------------------
--Instantiate pulse generator block for continuous operation without burst feature
...
...
@@ -782,24 +781,19 @@ end generate gen_pulse_cnt;
)
port
map
(
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
gf_en_n_i
=>
gf_en_n_i
,
en_i
=>
'1'
,
trig_a_i
=>
trig_pgen
(
i
),
trig_r_edge_p_i
=>
trig_chan_redge_p
(
i
),
trig_f_edge_p_i
=>
trig_chan_fedge_p
(
i
),
pulse_err_p_o
=>
pulse_outp_err_cont
(
i
),
pulse_o
=>
pulse_outp_cont
(
i
)
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
gf_en_n_i
=>
gf_en_n_i
,
en_i
=>
'1'
,
trig_a_i
=>
trig_pgen
(
i
),
trig_r_edge_p_i
=>
trig_chan_redge_p
(
i
),
trig_f_edge_p_i
=>
trig_chan_fedge_p
(
i
),
pulse_err_p_o
=>
pulse_outp_err_cont
(
i
),
pulse_o
=>
pulse_outp_cont
(
i
)
);
----------------------------------------------------------------------------------------------
-- Instantiate pulse generator + burst controller block for the channel for
long
pulse operation
-- Instantiate pulse generator + burst controller block for the channel for
LONG
pulse operation
-------------------------------------------------------------------------------------------------
-- BURST MODE WITH LONG PULSES
----------------------------------
...
...
@@ -813,45 +807,39 @@ end generate gen_pulse_cnt;
)
port
map
(
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
gf_en_n_i
=>
gf_en_n_i
,
en_i
=>
'1'
,
trig_a_i
=>
trig_pgen
(
i
),
trig_r_edge_p_i
=>
trig_chan_redge_p
(
i
),
trig_f_edge_p_i
=>
trig_chan_fedge_p
(
i
),
pulse_err_p_o
=>
pulse_outp_err_lg_p
(
i
),
pulse_o
=>
pulse_outp_lg
(
i
),
pulse_r_edge_p_o
=>
pulse_r_edge_lg_p
(
i
),
pulse_f_edge_p_o
=>
pulse_f_edge_lg_p
(
i
)
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
gf_en_n_i
=>
gf_en_n_i
,
en_i
=>
'1'
,
trig_a_i
=>
trig_pgen
(
i
),
trig_r_edge_p_i
=>
trig_chan_redge_p
(
i
),
trig_f_edge_p_i
=>
trig_chan_fedge_p
(
i
),
pulse_err_p_o
=>
pulse_outp_err_lg_p
(
i
),
pulse_o
=>
pulse_outp_lg
(
i
),
pulse_r_edge_p_o
=>
pulse_r_edge_lg_p
(
i
),
pulse_f_edge_p_o
=>
pulse_f_edge_lg_p
(
i
)
);
----------------------------------------------------------------------------------
-- Instantiate burst control block for the channel
cmp_burst_ctrl_lg
:
conv_dyn_burst_ctrl
generic
map
(
g_pwidth
=>
g_pgen_pwidth_lg
,
g_temp_decre_step
=>
g_temp_decre_step_lg
,
g_1_pulse_temp_rise
=>
g_burstctrl_1_pulse_temp_rise_lg
,
g_max_temp
=>
g_burstctrl_max_temp_lg_sh
g_pwidth
=>
g_pgen_pwidth_lg
,
g_temp_decre_step
=>
g_temp_decre_step_lg
,
g_1_pulse_temp_rise
=>
g_burstctrl_1_pulse_temp_rise_lg
,
g_max_temp
=>
g_burstctrl_max_temp_lg_sh
)
port
map
(
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
en_i
=>
'1'
,
pulse_burst_i
=>
pulse_outp_lg
(
i
),
pulse_r_edge_p_i
=>
pulse_r_edge_lg_p
(
i
),
pulse_f_edge_p_i
=>
pulse_f_edge_lg_p
(
i
),
temp_rise_o
=>
temp_rise_c_lg
(
i
),
pulse_burst_o
=>
burst_outp_lg
(
i
),
burst_err_p_o
=>
burst_outp_err_lg_p
(
i
)
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
en_i
=>
'1'
,
pulse_burst_i
=>
pulse_outp_lg
(
i
),
pulse_r_edge_p_i
=>
pulse_r_edge_lg_p
(
i
),
pulse_f_edge_p_i
=>
pulse_f_edge_lg_p
(
i
),
temp_rise_o
=>
temp_rise_c_lg
(
i
),
pulse_burst_o
=>
burst_outp_lg
(
i
),
burst_err_p_o
=>
burst_outp_err_lg_p
(
i
)
);
----------------------------------------------------------------------------------------------
...
...
@@ -869,22 +857,17 @@ end generate gen_pulse_cnt;
)
port
map
(
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
gf_en_n_i
=>
gf_en_n_i
,
en_i
=>
'1'
,
trig_a_i
=>
trig_pgen
(
i
),
trig_r_edge_p_i
=>
trig_chan_redge_p
(
i
),
trig_f_edge_p_i
=>
trig_chan_fedge_p
(
i
),
pulse_err_p_o
=>
pulse_outp_err_sh_p
(
i
),
pulse_o
=>
pulse_outp_sh
(
i
),
pulse_r_edge_p_o
=>
pulse_r_edge_sh_p
(
i
)
,
pulse_f_edge_p_o
=>
pulse_f_edge_sh_p
(
i
)
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
gf_en_n_i
=>
gf_en_n_i
,
en_i
=>
'1'
,
trig_a_i
=>
trig_pgen
(
i
),
trig_r_edge_p_i
=>
trig_chan_redge_p
(
i
),
trig_f_edge_p_i
=>
trig_chan_fedge_p
(
i
),
pulse_err_p_o
=>
pulse_outp_err_sh_p
(
i
),
pulse_o
=>
pulse_outp_sh
(
i
),
pulse_r_edge_p_o
=>
pulse_r_edge_sh_p
(
i
)
,
pulse_f_edge_p_o
=>
pulse_f_edge_sh_p
(
i
)
);
----------------------------------------------------------------------------------
...
...
@@ -892,22 +875,22 @@ end generate gen_pulse_cnt;
cmp_burst_ctrl_sh
:
conv_dyn_burst_ctrl
generic
map
(
g_pwidth
=>
g_pgen_pwidth_sh
,
g_temp_decre_step
=>
g_temp_decre_step_sh
,
g_1_pulse_temp_rise
=>
g_burstctrl_1_pulse_temp_rise_sh
,
g_max_temp
=>
g_burstctrl_max_temp_lg_sh
g_pwidth
=>
g_pgen_pwidth_sh
,
g_temp_decre_step
=>
g_temp_decre_step_sh
,
g_1_pulse_temp_rise
=>
g_burstctrl_1_pulse_temp_rise_sh
,
g_max_temp
=>
g_burstctrl_max_temp_lg_sh
)
port
map
(
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
en_i
=>
'1'
,
pulse_burst_i
=>
pulse_outp_sh
(
i
),
pulse_r_edge_p_i
=>
pulse_r_edge_sh_p
(
i
),
pulse_f_edge_p_i
=>
pulse_f_edge_sh_p
(
i
),
temp_rise_o
=>
temp_rise_c_sh
(
i
),
pulse_burst_o
=>
burst_outp_sh
(
i
),
burst_err_p_o
=>
burst_outp_err_sh_p
(
i
)
clk_i
=>
clk_20_i
,
rst_n_i
=>
rst_20_n
,
en_i
=>
'1'
,
pulse_burst_i
=>
pulse_outp_sh
(
i
),
pulse_r_edge_p_i
=>
pulse_r_edge_sh_p
(
i
),
pulse_f_edge_p_i
=>
pulse_f_edge_sh_p
(
i
),
temp_rise_o
=>
temp_rise_c_sh
(
i
),
pulse_burst_o
=>
burst_outp_sh
(
i
),
burst_err_p_o
=>
burst_outp_err_sh_p
(
i
)
);
----------------------------------------------------------------------
...
...
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