Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
SPEC7
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
SPEC7
Commits
0947869e
Commit
0947869e
authored
Aug 23, 2022
by
Pascal Bos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switched year zero to 2000, instead of 1970. Removed day zero compensation.
parent
e5ba1214
Pipeline
#3895
failed with stage
in 2 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wr_irigb_conv.vhd
hdl/top/spec7_ref_design/wr_irigb_conv.vhd
+2
-2
No files found.
hdl/top/spec7_ref_design/wr_irigb_conv.vhd
View file @
0947869e
...
...
@@ -245,8 +245,8 @@ begin
seconds
<=
remainders
(
0
)(
5
downto
0
);
minutes
<=
remainders
(
1
)(
5
downto
0
);
hours
<=
remainders
(
2
)(
3
downto
0
);
days
<=
std_logic_vector
(
unsigned
(
remainders
(
3
)(
10
downto
2
))
+
1
);
--there is no day zero
years
<=
quotients
(
3
);
days
<=
std_logic_vector
(
unsigned
(
remainders
(
3
)(
10
downto
2
))
);
years
<=
std_logic_vector
(
unsigned
(
quotients
(
3
)
-30
)
);
sbs
(
16
downto
0
)
<=
remainders
(
4
)(
16
downto
0
);
sbs
(
17
)
<=
'0'
;
enable_bcd_conv
<=
'1'
;
...
...
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