Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 929e212a authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Merge branch 'code-block-fixes' into 'main'

Update code-block directives for clarity and accuracy

See merge request !161
parents 91ca1b49 1fcb7f43
No related merge requests found
...@@ -199,7 +199,7 @@ display it as a string: ...@@ -199,7 +199,7 @@ display it as a string:
Additionally in above text we can display our current IP Address using below script. Additionally in above text we can display our current IP Address using below script.
You can create a new file then copy paste it and run. You can create a new file then copy paste it and run.
.. code:: shell-session .. code:: python
from __future__ import print_function from __future__ import print_function
import qwiic_oled_display import qwiic_oled_display
......
...@@ -114,7 +114,7 @@ Design Details ...@@ -114,7 +114,7 @@ Design Details
Finally, an entry will be added to the device tree to make a UIO device point to our LSRAM's memory region. Finally, an entry will be added to the device tree to make a UIO device point to our LSRAM's memory region.
.. code-block:: devicetree .. code-block:: none
&{/} { &{/} {
fabric-bus@40000000 { fabric-bus@40000000 {
......
...@@ -220,7 +220,7 @@ Add the instantiation of the blinky module: ...@@ -220,7 +220,7 @@ Add the instantiation of the blinky module:
.. callout:: .. callout::
.. code-block:: devicetree .. code-block:: dts
//--------P9_41_42_IOPADS //--------P9_41_42_IOPADS
P9_41_42_IOPADS P9_41_42_IOPADS_0( P9_41_42_IOPADS P9_41_42_IOPADS_0(
...@@ -315,7 +315,7 @@ programmed on your BeagleV-Fire. ...@@ -315,7 +315,7 @@ programmed on your BeagleV-Fire.
.. callout:: .. callout::
.. code-block:: devicetree .. code-block:: dts
/dts-v1/; /dts-v1/;
/plugin/; /plugin/;
......
...@@ -301,7 +301,7 @@ Now, concatenate the contents of this exported file to our gateware's HDL sourci ...@@ -301,7 +301,7 @@ Now, concatenate the contents of this exported file to our gateware's HDL sourci
Replace the ``-file`` argument in the line with ``-file $project_dir/hdl/blinky.v``. Replace the ``-file`` argument in the line with ``-file $project_dir/hdl/blinky.v``.
Finally, source the file by add a line below line no. 11 as: Finally, source the file by add a line below line no. 11 as:
.. code-block:: tcl .. code-block:: none
-hdl_source {script_support/HDL/AXI4_address_shim/AXI4_address_shim.v} \ -hdl_source {script_support/HDL/AXI4_address_shim/AXI4_address_shim.v} \
-hdl_source {script_support/HDL/BLINKY/blinky.v} # ⓵ Source the script below line 11 -hdl_source {script_support/HDL/BLINKY/blinky.v} # ⓵ Source the script below line 11
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment