From b734beec064e740056e54573b5d986b581bd5a0c Mon Sep 17 00:00:00 2001 From: Matthew Naylor Date: Thu, 26 May 2016 14:42:26 +0100 Subject: [PATCH] Update build instructions The emulator now requires an ELF file even when running ground tests. (The ELF contains the tohost and fromhost addresses for communication with the FESVR.) --- groundtest/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/groundtest/README.md b/groundtest/README.md index 9e78fac6..d11d341d 100644 --- a/groundtest/README.md +++ b/groundtest/README.md @@ -14,14 +14,17 @@ out waiting for the response. The groundtest package defines a GroundTestTile, which extends a rocket-chip Tile. A number of Configs in rocket-chip instantiate GroundTestTile(s) in place of -other types of Tiles, (see rocket-chip/src/main/scala/TestConfigs.scala). +other types of Tiles (see rocket-chip/src/main/scala/TestConfigs.scala). -Running a ground test can be achieved in rocket-chip by: +Running a ground test can be achieved in rocket-chip as follows +(assuming the `build.sh` script in the +`rocket-chip/riscv-tools` directory has already been run). ``` cd emulator make CONFIG= -./emulator-Top- +ln -s ../riscv-tools/riscv-tests/build/isa/rv64ui-p-simple +./emulator-Top- rv64ui-p-simple ``` Currently the Configs which include GroundTestTile(s) are: