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
3f3164f6
Commit
3f3164f6
authored
Sep 11, 2020
by
Jorge Machado
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dio_extension' of
https://ohwr.org/project/fmc-dio-5chttla
into dio_extension
parents
4522b6a6
61bdb074
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
imm_pulse_train_gen.vhd
hdl/modules/wr_dio/imm_pulse_train_gen.vhd
+3
-1
pulse_gen_pl.vhd
hdl/modules/wr_dio/pulse_gen_pl.vhd
+2
-1
No files found.
hdl/modules/wr_dio/imm_pulse_train_gen.vhd
View file @
3f3164f6
...
...
@@ -103,8 +103,10 @@ begin
state
<=
WAIT_ST
;
end
if
;
when
COUNTING
=>
if
(
counter
=
0
)
then
if
counter
=
0
then
state
<=
CAPTURE_PERIOD
;
elsif
dio_pulse_immed_stb_d2
=
'1'
then
state
<=
WAIT_ST
;
else
state
<=
COUNTING
;
counter
<=
counter
-1
;
...
...
hdl/modules/wr_dio/pulse_gen_pl.vhd
View file @
3f3164f6
...
...
@@ -229,7 +229,8 @@ begin -- architecture rtl
pulse_o_internal
<=
'1'
;
counter
<=
unsigned
(
pulse_length_ref
)
-1
;
train_counter
<=
unsigned
(
pulse_period_ref
);
elsif
train_counter
/=
0
then
--load_values <= '1';
elsif
train_counter
>
1
then
train_counter
<=
train_counter
-1
;
pulse_o_internal
<=
'0'
;
load_values
<=
'0'
;
...
...
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