Updated README note for EUVM
@@ -11,6 +11,16 @@ cd euvm/build
make -j 32
```
+Makefile builds RISCV-DV for RV64IMC architecture by default. If you want to build for an alternate architecture, you need to pass that to make command as TARGET parameter:
+
+```bash
+cd euvm/build
+make clean
+make -j 32 TARGET=RV64IMCB
+```
+
+Remember to make clean before switching to a new target.
+
The optimal number of make threads depends on the the machine you are using to build. If your machine supports only 4 threads, use `make -j 4` instead. Due to heavy use of templated code, RISCV-DV EUVM compilation takes a lot of memory. If your machine is low on RAM (< 8GB), it is prudent to use only a couple of threads to build.
## Generating RISCV-DV tests
@@ -19,3 +29,9 @@ The optimal number of make threads depends on the the machine you are using to b
cd euvm/build
make run
```
+
+You can change the number of instructions to be generated by passsing INSTRCOUNT parameter to the make command:
+
+```bash
+make run INSTRCOUNT=1000000
+```
