Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
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 DIO 5ch TTL a
Commits
c2e58275
Commit
c2e58275
authored
Mar 12, 2012
by
Rafael Rodriguez
Committed by
Miguel Jimenez Lopez
Apr 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed comments in top file
parent
d3981255
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
173 additions
and
171 deletions
+173
-171
dummy_time.vhd
modules/wrsw_dio/dummy_time.vhd
+5
-3
wrsw_dio.vhd
modules/wrsw_dio/wrsw_dio.vhd
+168
-168
No files found.
modules/wrsw_dio/dummy_time.vhd
View file @
c2e58275
...
...
@@ -24,7 +24,6 @@
-------------------------------------------------------------------------------
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
--use IEEE.NUMERIC_STD.ALL;
...
...
@@ -42,6 +41,7 @@ end dummy_time;
architecture
Behavioral
of
dummy_time
is
signal
OneSecond
:
std_logic
;
signal
init_time
:
std_logic
;
signal
tm_cycles_Aux
:
std_logic_vector
(
27
downto
0
);
signal
tm_utc_Aux
:
std_logic_vector
(
39
downto
0
);
constant
MaxCountcycles1
:
std_logic_vector
(
27
downto
0
)
:
=
"0111011100110101100100111111"
;
--125.000.000-1
...
...
@@ -58,6 +58,7 @@ begin
if
(
rst_n
=
'0'
)
then
tm_cycles_Aux
<=
(
others
=>
'0'
);
oneSecond
<=
'0'
;
init_time
<=
'0'
;
elsif
(
rising_Edge
(
Clk_sys
))
then
if
(
Tm_cycles_Aux
/=
MaxCountcycles2
)
then
tm_cycles_Aux
<=
tm_cycles_Aux
+
1
;
...
...
@@ -70,6 +71,7 @@ begin
else
OneSecond
<=
'0'
;
end
if
;
init_time
<=
'1'
;
end
if
;
end
process
P_CountTM_cycles
;
...
...
@@ -89,8 +91,8 @@ begin
end
if
;
end
process
P_CountTM_UTC
;
tm_cycles
<=
tm_cycles_Aux
;
tm_utc
<=
tm_utc_Aux
;
tm_cycles
<=
tm_cycles_Aux
when
init_time
=
'1'
else
(
others
=>
'1'
)
;
tm_utc
<=
tm_utc_Aux
when
init_time
=
'1'
else
(
others
=>
'1'
)
;
end
Behavioral
;
modules/wrsw_dio/wrsw_dio.vhd
View file @
c2e58275
This diff is collapsed.
Click to expand it.
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