Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 2cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
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 DEL 1ns 2cha
Commits
0d512ced
Commit
0d512ced
authored
Aug 18, 2016
by
Jan Pospisil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added default value for lucid beginning of the simulation
parent
933011a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
DelayedPulseGenerator.vhd
hdl/ffpg/rtl/DelayedPulseGenerator/DelayedPulseGenerator.vhd
+6
-4
ShiftRegister.vhd
hdl/ffpg/rtl/ShiftRegister.vhd
+1
-1
HeartBeat.vhd
hdl/svec/rtl/HeartBeat.vhd
+3
-2
Testbench.sv
hdl/svec/sim/testbench/Testbench.sv
+3
-0
No files found.
hdl/ffpg/rtl/DelayedPulseGenerator/DelayedPulseGenerator.vhd
View file @
0d512ced
...
...
@@ -23,8 +23,8 @@ entity DelayedPulseGenerator is
Running_o
:
out
std_logic
;
-- FMC interface
Trigger_i
:
in
std_logic
;
SetStream_o
:
out
std_logic
;
ResetStream_o
:
out
std_logic
;
SetStream_o
:
out
std_logic
:
=
'0'
;
ResetStream_o
:
out
std_logic
:
=
'0'
;
-- debug
FsmState_o
:
out
unsigned
(
2
downto
0
)
);
...
...
@@ -48,11 +48,13 @@ architecture syn of DelayedPulseGenerator is
signal
AddressEnableCounterOverflow
:
std_logic
;
signal
AddressEnableCounterSetValue
:
unsigned
(
TriggerLatency_ib16
'range
);
signal
AddressCounterReset
,
AddressCounterResetOrReset
:
std_logic
;
signal
AddressCounterReset
:
std_logic
:
=
'0'
;
signal
AddressCounterResetOrReset
:
std_logic
;
signal
AddressCounterSetValue
:
unsigned
(
TriggerLatency_ib16
'range
);
signal
AddressCounterValue
:
unsigned
(
SetMemAddress_ob11
'range
);
signal
StreamReset
,
StreamResetOrReset
:
std_logic
;
signal
StreamReset
:
std_logic
:
=
'0'
;
signal
StreamResetOrReset
:
std_logic
;
signal
StreamPosition
:
unsigned
(
Overflow_ib16
'range
);
signal
BitCounterOverflow
,
LoadShiftRegister
:
std_logic
;
...
...
hdl/ffpg/rtl/ShiftRegister.vhd
View file @
0d512ced
...
...
@@ -27,7 +27,7 @@ end entity;
architecture
right
of
ShiftRegister
is
signal
Data_b
:
unsigned
(
g_Width
-1
downto
0
);
signal
Data_b
:
unsigned
(
g_Width
-1
downto
0
)
:
=
(
others
=>
'0'
)
;
begin
...
...
hdl/svec/rtl/HeartBeat.vhd
View file @
0d512ced
...
...
@@ -9,7 +9,7 @@ entity HeartBeat is
port
(
Clk_ik
:
in
std_logic
;
Reset_ir
:
in
std_logic
;
HeartBeat_o
:
out
std_logic
HeartBeat_o
:
out
std_logic
:
=
'0'
);
end
entity
;
...
...
@@ -51,7 +51,8 @@ architecture syn of HeartBeat is
constant
c_DividerWidth
:
natural
:
=
c_ClkFreqWidth
-
c_PwmWidth
;
constant
c_DividerLimit
:
natural
:
=
g_ClkFrequency
/
(
2
**
c_PwmWidth
);
signal
PwmCountDown
,
UpdatePwmValue
,
PwmCounterOverflow
:
std_logic
;
signal
PwmCountDown
:
std_logic
:
=
'0'
;
signal
UpdatePwmValue
,
PwmCounterOverflow
:
std_logic
;
signal
PwmCounter_b
,
PwmValue_b
,
PwmValue_bd
:
signed
(
c_PwmWidth
-1
downto
0
)
:
=
(
others
=>
'0'
);
begin
...
...
hdl/svec/sim/testbench/Testbench.sv
View file @
0d512ced
...
...
@@ -46,6 +46,9 @@ module Testbench;
wire
CarrierSda_io
;
wire
CarrierOneWire_io
;
pullup
(
CarrierScl_io
)
;
pullup
(
CarrierSda_io
)
;
CBusAccessor_VME64x
acc
;
SvecTopFfpgWrapper
cDut
(
...
...
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