Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
Euro ADC 65M 14b 40cha gw PUMA-gw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Euro ADC 65M 14b 40cha gw PUMA-gw
Commits
a038da6c
Commit
a038da6c
authored
Apr 17, 2018
by
Dave Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding tips
parent
866d31ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
1 deletion
+60
-1
sc_zs_sel_rolling.vhd
components/solid/firmware/hdl/sc_zs_sel_rolling.vhd
+1
-1
startup_tips.txt
projects/timing/doc/startup_tips.txt
+59
-0
No files found.
components/solid/firmware/hdl/sc_zs_sel_rolling.vhd
View file @
a038da6c
...
...
@@ -61,7 +61,7 @@ begin
end
if
;
end
process
;
-- Select highest ZS threshold of active triggers
-- Select highest
-numbered
ZS threshold of active triggers
process
(
cnt
)
variable
t
,
k
:
unsigned
(
1
downto
0
);
...
...
projects/timing/doc/startup_tips.txt
0 → 100644
View file @
a038da6c
Startup procedure step 1 (from cold start, i.e power-on)
Timing board (master first, then slaves)
- Reset registers (csr.ctrl.soft_rst)
- Set board layer (csr.ctrl.layer)
- Reset PLL (csr.ctrl.pll_rst)
- Program PLL
- Different program for layer 0 and layer 1 boards
- Check frequency (freq_ctr)
Planes
- Reset registers (csr.ctrl.soft_rst)
- Disable MMCM (set csr.ctrl.rst_mmcm)
- Reset idelayctrl (csr.ctrl.rst_idelayctrl)
- Check that idelayctrl is locked (csr.stat.idelayctrl_rdy)
- Reset PLL (io.csr.ctrl.clkgen_rst)
- Program PLL
- Check for PLL lock (io.csr.stat.clkgen_lol)
- Check frequency (io.freq_ctr)
- Enable MMCM (unset csr.ctrl.rst_mmcm)
- Check MMCM lock (csr.stat.mmcm_locked)
- {Do setup for channels, triggers, thresholds, sequencer, etc}
Startup procedure step 2 (from warm start, or following step 1)
Planes
- Enable external sync (set daq.timing.csr.ctrl.en_ext_sync)
- Enable pipeline (set daq.timing.csr.ctrl.pipeline_en)
- Enable readout buffer (set daq.roc.csr.ctrl.en)
Timing board (master)
- Issue the sync (set sync_ctrl.en_sync)
Planes
- {do all the board-by-board trigger link enabling stuff, and check status}
Starting a run
Planes
- {Enable triggers}
Stopping a run
Planes
- {Disable triggers}
- {Wait for buffers to empty}
Shutdown procedure step 1
Planes
- Disable pipeline (unset daq.timing.csr.ctrl.pipeline_en)
- Disable buffer (unset daq.roc.csr.ctrl.en)
[At this point, you can change settings and re-start from startup procedure step 2]
Shutdown procedure step 2 (if you really want to start over without power cycling)
All boards
- Nuke the suckers (csr.ctrl.nuke for timing, csr.ctrl.nuke for planes)
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