Adjusted hello and gpio examples to use new wsim --elf syntax

This commit is contained in:
David Harris 2024-12-02 01:56:39 -08:00
parent 3fb84b7617
commit f426b38b28
4 changed files with 5 additions and 7 deletions

View file

@ -4,7 +4,7 @@
// General-Purpose I/O (GPIO) example program illustrating compiled C code
// compile with make
// simulate with: wsim rv64gc hello.elf --sim verilator
// simulate with: wsim rv64gc --elf hello.elf --sim verilator
#include <stdio.h>
#include "gpiolib.h"