Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
2e02129a
Commit
2e02129a
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added some more notes.
parent
5f0a64d1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/erko_hdl_design_article.txt
+30
-0
30 additions, 0 deletions
doc/erko_hdl_design_article.txt
with
30 additions
and
0 deletions
doc/erko_hdl_design_article.txt
+
30
−
0
View file @
2e02129a
...
...
@@ -43,3 +43,33 @@ $RADIOHDL_WORK/applications/lofar2/doc/prestudy/
Ref:
$RADIOHDL/tools/oneclick/doc/desp_firmware_dag_erko.txt
$RADIOHDL/tools/oneclick/doc/desp_firmware_overview.txt
HDL coding: Useful documents about with fundamental knowledge for digital logic in FPGAs and ASICs:
- Memory mapped RAM and registers and clock domain crossing. Thanks to these standard components we
can run the mm_clk at another rate than the dp_clk:
https://svn.astron.nl/UniBoard_FP7/RadioHDL/trunk/libraries/base/common/doc/ASTRON_RP_415_common_mem.pdf
https://svn.astron.nl/UniBoard_FP7/UniBoard/trunk/Firmware/modules/Lofar/async_logic/doc/async_logic.pdf
About meta stability and asynchronous logic. This doc cointains solutions for:
. synchronizing a reset to a clock domain,
. transfering a level signal between clock domains
. transfering a pulse signal between clock domains
It als contains a study that I did to understand how the control of a dual clock FIFO works. Typically
we use an IP component as FIFO, but I think the async_fifo RTL code would also work on HW, it does
work in simulation.
- RTL combinatorial D --> D, rising_edge D --> Q
. complicates functional thinking because mixes combinatorial (valid now) and clocked (valid one
cylce later)
. latency of D --> Q complicates backpressure (RL = 1)
. introduces non-functional pipeline, mixes state reg and pipeline reg
Gaisler structures this RTL D --> Q coding style, but does not solve these complications
Gaisler uses variables, but does not structure the use of variables
Ik zie twee niveaus:
1) Als de FPGA synthese & timing aangeeft dat het goed is, dan is de FPGA logic foutloos
(dwz what you code is what you get).
2) Als we goed ontwerpen, implementeren en testen, zorgen dat FIFOs niet overstromen, en zorgen
dat de packets die binnenkomen van buiten de FPGA correct zijn (bijv. mbv CRC ok) dan is de
block processing foutloos (dwz what you want is what you get). Dan kunnen we er intern steeds
van uitgaan dat de blokken data correct zijn en hoeven we dus intern geen checks meer te doen.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment