Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL Blocking - 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
Conv TTL Blocking - Gateware
Commits
ce0a347a
Commit
ce0a347a
authored
Jan 16, 2017
by
Denia Bouhired-Ferrag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small modifs to burst controller testbench
parent
89f1378b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
burst_ctrl_tb.vhd
sim/Release/burst_ctrl_tb.vhd
+7
-6
No files found.
sim/Release/burst_ctrl_tb.vhd
View file @
ce0a347a
...
...
@@ -89,7 +89,7 @@ architecture behav of testbench is
generic
(
g_pwidth
:
natural
range
2
to
40
:
=
5
;
g_1_pulse_temp_rise
:
in
unsigned
(
1
5
downto
0
);
g_1_pulse_temp_rise
:
in
unsigned
(
1
9
downto
0
);
g_max_temp
:
in
unsigned
(
39
downto
0
)
);
port
...
...
@@ -166,8 +166,9 @@ architecture behav of testbench is
cmp_dut_2
:
conv_dyn_burst_ctrl
generic
map
(
g_pwidth
=>
5
,
g_1_pulse_temp_rise
=>
x"1388"
,
g_pwidth
=>
5
,
--
g_1_pulse_temp_rise
=>
x"01388"
,
--g_1_pulse_temp_rise => x"23040", - for 1.2us pulse
--g_1_pulse_temp_rise => x"7A125",
--g_max_temp => x"00000F4240" --10^6
...
...
@@ -250,12 +251,12 @@ end process p_ran_gen;
interval
:
=
250
ns
;
end
if
;
else
interval
:
=
250
ns
;
interval
:
=
1600
ns
;
--changes pulse frequency
end
if
;
burst_train
<=
'0'
;
wait
for
interval
;
burst_train
<=
'1'
;
wait
for
250
ns
;
wait
for
250
ns
;
-- changes pulse width
burst_train
<=
'0'
;
end
loop
;
...
...
@@ -264,7 +265,7 @@ end process p_ran_gen;
if
random_intervals
then
interval
:
=
rand_num
*
1
ns
;
else
interval
:
=
500
0
ns
;
interval
:
=
175
0
ns
;
end
if
;
burst_train
<=
'0'
;
wait
for
interval
;
...
...
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