Skip to content

Commit

Permalink
update 69e0312
Browse files Browse the repository at this point in the history
  • Loading branch information
GHA committed Sep 30, 2024
0 parents commit c212071
Show file tree
Hide file tree
Showing 2,098 changed files with 217,985 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ecb98a37bc6552e703dcfa312d58f54c
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
Binary file added _images/D1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D101.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D111.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D51.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D52.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D53.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D61.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D62.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D63.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/D72.png
Binary file added _images/D8.png
Binary file added _images/D81.png
Binary file added _images/D82.png
Binary file added _images/D83.png
Binary file added _images/D9.png
Binary file added _images/D91.png
Binary file added _images/D92.png
Binary file added _images/D93.png
Binary file added _images/H2.png
Binary file added _images/J1.png
Binary file added _images/J11.png
Binary file added _images/J2.png
Binary file added _images/J21.png
Binary file added _images/J22.png
Binary file added _images/J23.png
Binary file added _images/J3.png
Binary file added _images/J31.png
Binary file added _images/J32.png
Binary file added _images/J33.png
Binary file added _images/J4.png
Binary file added _images/J41.png
Binary file added _images/J42.png
Binary file added _images/J5.png
Binary file added _images/J51.png
Binary file added _images/J52.png
Binary file added _images/J53.png
Binary file added _images/J6.png
Binary file added _images/J61.png
Binary file added _images/J62.png
Binary file added _images/J63.png
Binary file added _images/J7.png
Binary file added _images/J71.png
Binary file added _images/J72.png
Binary file added _images/J73.png
Binary file added _images/J8.png
Binary file added _images/J81.png
Binary file added _images/J82.png
Binary file added _images/J9.png
Binary file added _images/J91.png
Binary file added _images/M1.png
Binary file added _images/MODE1.png
Binary file added _images/MODE11.png
Binary file added _images/POT1.png
Binary file added _images/PROG_B1.png
Binary file added _images/PROG_B11.png
Binary file added _images/PROG_B12.png
Binary file added _images/PROG_B2.png
Binary file added _images/PROG_B3.png
Binary file added _images/PROG_B4.png
Binary file added _images/PROG_B5.png
Binary file added _images/PWR1.png
Binary file added _images/PWR11.png
Binary file added _images/PWR2.png
Binary file added _images/PWR3.png
Binary file added _images/PWR4.png
Binary file added _images/PWR5.png
Binary file added _images/PWR6.png
Binary file added _images/S1.png
Binary file added _images/S11.png
Binary file added _images/S12.png
Binary file added _images/S3.png
Binary file added _images/SW1.png
Binary file added _images/SW2.png
Binary file added _images/SW3.png
Binary file added _images/SW4.png
Binary file added _images/SW5.png
Binary file added _images/SW6.png
Binary file added _images/U12.png
Binary file added _images/U14.png
Binary file added _images/U15.png
Binary file added _images/U3.png
Binary file added _images/U4.png
Binary file added _images/U8.png
Binary file added _images/USR_BTN1.png
Binary file added _images/USR_BTN2.png
Binary file added _images/USR_BTN3.png
Binary file added _images/USR_BTN4.png
Binary file added _images/annotation.png
Binary file added _images/annotation_zoom.png
Binary file added _images/architecture.png
Binary file added _images/arty-a7.jpg
Binary file added _images/data-center-rdimm-ddr4-tester-1.2.0.png
Binary file added _images/datacenter-rdimm-ddr5-tester.png
Binary file added _images/ddr5_tester_CRG.png
Binary file added _images/dqs_vict_vs_aggr.png
Binary file added _images/f4pga_visualizer_aggr_vs_vict.png
Binary file added _images/lpddr4-test-board.jpg
Binary file added _images/sodimm-ddr5-tester.png
Binary file added _images/zcu104_loaded.jpg
Binary file added _images/zcu104_loading.jpg
44 changes: 44 additions & 0 deletions _sources/arty.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Arty-A7 board

The [Arty-A7 board](https://reference.digilentinc.com/reference/programmable-logic/arty-a7/start) allows testing its on-board DDR3 module.
The board is designed around the Artix-7™ Field Programmable Gate Array (FPGA) from Xilinx.

```{image} images/arty-a7.jpg
```

The following instructions explain how to set up the board.

## Board configuration

Connect the board USB and Ethernet cables to your computer and configure the network. The board's IP address will be `192.168.100.50` (so you could e.g. use `192.168.100.2/24`). The `IP_ADDRESS` environment variable can be used to modify the board's address.
Next, generate the FPGA bitstream:

```sh
export TARGET=arty
make build
```

```{note}
This will by default target Arty A7 with the XC7A35TICSG324-1L FPGA. To build for XC7A100TCSG324-1,
use `make build TARGET_ARGS="--variant a7-100"`
```

The results will be located in: `build/arty/gateware/digilent_arty.bit`. To upload it, use:

```sh
export TARGET=arty
make upload
```

```{note}
By typing `make` (without `build`) LiteX will generate build files without invoking Vivado.
```

To save bitstream in flash memory, use:

```sh
export TARGET=arty
make flash
```

Bitstream will be loaded from flash memory upon device power-on or after a PROG button press.
34 changes: 34 additions & 0 deletions _sources/build/arty/documentation/controller_settings.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
CONTROLLER_SETTINGS
===================

Allows to change LiteDRAMController behaviour at runtime
--------------------------------------------------------


Register Listing for CONTROLLER_SETTINGS
----------------------------------------

+------------------------------------------------------------------+-------------------------------------------------+
| Register | Address |
+==================================================================+=================================================+
| :ref:`CONTROLLER_SETTINGS_REFRESH <CONTROLLER_SETTINGS_REFRESH>` | :ref:`0xf0001000 <CONTROLLER_SETTINGS_REFRESH>` |
+------------------------------------------------------------------+-------------------------------------------------+

CONTROLLER_SETTINGS_REFRESH
^^^^^^^^^^^^^^^^^^^^^^^^^^^

`Address: 0xf0001000 + 0x0 = 0xf0001000`

Enable/disable Refresh commands sending

.. wavedrom::
:caption: CONTROLLER_SETTINGS_REFRESH

{
"reg": [
{"name": "refresh", "attr": 'reset: 1', "bits": 1},
{"bits": 31},
], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4}
}


78 changes: 78 additions & 0 deletions _sources/build/arty/documentation/ctrl.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
CTRL
====

Register Listing for CTRL
-------------------------

+------------------------------------------+-------------------------------------+
| Register | Address |
+==========================================+=====================================+
| :ref:`CTRL__RESET <CTRL__RESET>` | :ref:`0xf0005000 <CTRL__RESET>` |
+------------------------------------------+-------------------------------------+
| :ref:`CTRL_SCRATCH <CTRL_SCRATCH>` | :ref:`0xf0005004 <CTRL_SCRATCH>` |
+------------------------------------------+-------------------------------------+
| :ref:`CTRL_BUS_ERRORS <CTRL_BUS_ERRORS>` | :ref:`0xf0005008 <CTRL_BUS_ERRORS>` |
+------------------------------------------+-------------------------------------+

CTRL__RESET
^^^^^^^^^^^

`Address: 0xf0005000 + 0x0 = 0xf0005000`


.. wavedrom::
:caption: CTRL__RESET

{
"reg": [
{"name": "soc_rst", "type": 4, "bits": 1},
{"name": "cpu_rst", "bits": 1},
{"bits": 30}
], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4}
}


+-------+---------+------------------------------------------------------------------------+
| Field | Name | Description |
+=======+=========+========================================================================+
| [0] | SOC_RST | Write `1` to this register to reset the full SoC (Pulse Reset) |
+-------+---------+------------------------------------------------------------------------+
| [1] | CPU_RST | Write `1` to this register to reset the CPU(s) of the SoC (Hold Reset) |
+-------+---------+------------------------------------------------------------------------+

CTRL_SCRATCH
^^^^^^^^^^^^

`Address: 0xf0005000 + 0x4 = 0xf0005004`

Use this register as a scratch space to verify that software read/write accesses
to the Wishbone/CSR bus are working correctly. The initial reset value of
0x1234578 can be used to verify endianness.

.. wavedrom::
:caption: CTRL_SCRATCH

{
"reg": [
{"name": "scratch[31:0]", "attr": 'reset: 305419896', "bits": 32}
], "config": {"hspace": 400, "bits": 32, "lanes": 1 }, "options": {"hspace": 400, "bits": 32, "lanes": 1}
}


CTRL_BUS_ERRORS
^^^^^^^^^^^^^^^

`Address: 0xf0005000 + 0x8 = 0xf0005008`

Total number of Wishbone bus errors (timeouts) since start.

.. wavedrom::
:caption: CTRL_BUS_ERRORS

{
"reg": [
{"name": "bus_errors[31:0]", "bits": 32}
], "config": {"hspace": 400, "bits": 32, "lanes": 1 }, "options": {"hspace": 400, "bits": 32, "lanes": 1}
}


48 changes: 48 additions & 0 deletions _sources/build/arty/documentation/ddrctrl.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
DDRCTRL
=======

Register Listing for DDRCTRL
----------------------------

+------------------------------------------------+----------------------------------------+
| Register | Address |
+================================================+========================================+
| :ref:`DDRCTRL_INIT_DONE <DDRCTRL_INIT_DONE>` | :ref:`0xf0001800 <DDRCTRL_INIT_DONE>` |
+------------------------------------------------+----------------------------------------+
| :ref:`DDRCTRL_INIT_ERROR <DDRCTRL_INIT_ERROR>` | :ref:`0xf0001804 <DDRCTRL_INIT_ERROR>` |
+------------------------------------------------+----------------------------------------+

DDRCTRL_INIT_DONE
^^^^^^^^^^^^^^^^^

`Address: 0xf0001800 + 0x0 = 0xf0001800`


.. wavedrom::
:caption: DDRCTRL_INIT_DONE

{
"reg": [
{"name": "init_done", "bits": 1},
{"bits": 31},
], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4}
}


DDRCTRL_INIT_ERROR
^^^^^^^^^^^^^^^^^^

`Address: 0xf0001800 + 0x4 = 0xf0001804`


.. wavedrom::
:caption: DDRCTRL_INIT_ERROR

{
"reg": [
{"name": "init_error", "bits": 1},
{"bits": 31},
], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4}
}


Loading

0 comments on commit c212071

Please sign in to comment.