From b5f1f69978931c088b8df87a8203f6bbafa58f82 Mon Sep 17 00:00:00 2001 From: Edward Connell Date: Tue, 5 Sep 2023 13:20:24 +0100 Subject: [PATCH] Squashed 'driver-examples/CoreUARTapb/' changes from 3152660..4fcc631 4fcc631 Fix formatting in the Renode launch instructions 5a91df3 Updated the README with details of how to launch Renode 342d3f9 Added Renode launch scripts git-subtree-dir: driver-examples/CoreUARTapb git-subtree-split: 4fcc631b321ffaa1497e52e9672bd79d01a6a3de --- miv-rv32-coreuartapb-tx-rx/.cproject | 1705 ++++++----------- miv-rv32-coreuartapb-tx-rx/README.md | 9 + ...rv32-coreuartapb-tx-rx renode debug.launch | 62 + ...-rx renode start-platform-and-debug.launch | 15 + 4 files changed, 657 insertions(+), 1134 deletions(-) create mode 100644 miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode debug.launch create mode 100644 miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode start-platform-and-debug.launch diff --git a/miv-rv32-coreuartapb-tx-rx/.cproject b/miv-rv32-coreuartapb-tx-rx/.cproject index eef321a..4fb2e62 100644 --- a/miv-rv32-coreuartapb-tx-rx/.cproject +++ b/miv-rv32-coreuartapb-tx-rx/.cproject @@ -1,1136 +1,573 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/miv-rv32-coreuartapb-tx-rx/README.md b/miv-rv32-coreuartapb-tx-rx/README.md index 8c1bc33..a38cf5a 100644 --- a/miv-rv32-coreuartapb-tx-rx/README.md +++ b/miv-rv32-coreuartapb-tx-rx/README.md @@ -42,5 +42,14 @@ Tool Settings > GNU RISC-V Cross Create Flash Image > General > Other flags . This will allow you to attach the release mode executable as the memory initialization client in Libero when you want to execute it from non-volatile memory. +### Renode Emulation + +The CoreUARTapb example can be run using Renode. A new window will open displaying the UART +console messages. Any characters typed into this window will be echoed back on the console. + +The following configuration can be launched using miv-rv32-coreuartapb-tx-rx renode start-platform-and-debug.launch: + + - miv-rv32i-release + ## Silicon revision dependencies This example is tested on PolarFire MPF300TS device. diff --git a/miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode debug.launch b/miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode debug.launch new file mode 100644 index 0000000..9b036ef --- /dev/null +++ b/miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode debug.launch @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode start-platform-and-debug.launch b/miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode start-platform-and-debug.launch new file mode 100644 index 0000000..f210d6a --- /dev/null +++ b/miv-rv32-coreuartapb-tx-rx/miv-rv32-coreuartapb-tx-rx renode start-platform-and-debug.launch @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +