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
a84dd5bc
Commit
a84dd5bc
authored
Aug 22, 2016
by
Jan Pospisil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added EdgeDetector architecture for both edges detection; added TODO
parent
9faab5c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
EdgeDetector.vhd
hdl/ffpg/rtl/EdgeDetector.vhd
+17
-1
FFPG_driver.py
sw/FFPG_driver.py
+2
-0
No files found.
hdl/ffpg/rtl/EdgeDetector.vhd
View file @
a84dd5bc
...
...
@@ -39,4 +39,20 @@ begin
Edge_o
<=
not
Signal_i
and
History
;
end
architecture
;
\ No newline at end of file
end
architecture
;
architecture
both
of
EdgeDetector
is
signal
History
:
std_logic
:
=
'0'
;
begin
pDelay
:
process
(
Clk_ik
)
is
begin
if
rising_edge
(
Clk_ik
)
then
History
<=
Signal_i
;
end
if
;
end
process
;
Edge_o
<=
Signal_i
xor
History
;
end
architecture
;
sw/FFPG_driver.py
View file @
a84dd5bc
#!/usr/bin/env python
# TODO: propper BUSY bits checking
import
sys
import
time
sys
.
path
.
append
(
'/usr/local/encore'
)
...
...
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