Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
97532bff
Commit
97532bff
authored
Dec 01, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: update attribute description
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
3b1aaab0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
sw-driver.rst
doc/sw-driver.rst
+8
-11
No files found.
doc/sw-driver.rst
View file @
97532bff
...
...
@@ -180,10 +180,9 @@ attributes. Here we focus only on those.
At PCI device top-level we can see the `DMA Engine`_ interface and the
GN412x sub-devices for :ref:`GPIO<gn4124_gpio>` and :ref:`FCL<gn4124_fcl>`.
Still at the PCI device top-level there is the directory ``fpga-options``
that contains additional attributes to control the FPGA.
Still at the PCI device top-level there are also the following attributes.
``
fpga-options/
bootselect`` [R/W]
``bootselect`` [R/W]
It selects (returns) the FPGA access mode. Possible values are:
- fpga-flash: (default) the FPGA has access to the SPI flash, it uses it
...
...
@@ -193,8 +192,12 @@ that contains additional attributes to control the FPGA.
- gn4124-flash: the SPI flash is accessible form the PCI bridge, it is used
to load an FPGA configuration on the SPI flash
``fpga-options/load_golden_fpga`` [W]
It loads the SPEC golden FPGA (if installed). Just write '1' to this file.
``firmware_name`` [W]
It configures the FPGA with a bitstream which name is provided as input.
Remember that firmwares are installed in ``/lib/firmware`` and alternatively
you can provide your own path by setting it in
``/sys/module/firmware_class/parameters/path``.
If the FPGA is correctly programmed (an FPGA configuration that uses the
:ref:`SPEC base<spec_hdl_spec_base>`) then there will be a directory named
...
...
@@ -238,12 +241,6 @@ attributes. Here we focus only on those.
``<pci-id>/info`` [R]
Miscellaneous information about the card status: IRQ mapping.
``<pci-id>/fpga_firmware`` [W]
It configures the FPGA with a bitstream which name is provided as input.
Remember that firmwares are installed in ``/lib/firmware`` and alternatively
you can provide your own path by setting it in
``/sys/module/firmware_class/parameters/path``.
``<pci-id>/spec-<pci-id>/csr_regs`` [R]
It dumps the Control/Status register for
the :ref:`SPEC base<spec_hdl_spec_base>`
...
...
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