From 49a1f26c0640e303a60135cab1a576c16fa8bbda Mon Sep 17 00:00:00 2001 From: mappu Date: Wed, 28 Dec 2022 16:07:11 +1300 Subject: [PATCH] chore: rename module to allow public go-mod imports --- README.md | 5 +++++ cmd/riscvrun/main.go | 2 +- cpu.go | 2 +- go.mod | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 724fcb2..155efc5 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ An interpreter for the RV32I instruction set. +Features: +- Supports RV32I base instructions only (so far) +- Page-based virtual memory, with custom memory traps and syscalls +- Install with Go Modules (`go get code.ivysaur.me/riscvemu`) + ## License ISC License diff --git a/cmd/riscvrun/main.go b/cmd/riscvrun/main.go index 3ad4779..34cd63c 100644 --- a/cmd/riscvrun/main.go +++ b/cmd/riscvrun/main.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "os" - "riscvemu" + "code.ivysaur.me/riscvemu" ) func main() { diff --git a/cpu.go b/cpu.go index e31ef9d..aaca2a8 100644 --- a/cpu.go +++ b/cpu.go @@ -1,4 +1,4 @@ -package riscvemu +package riscvemu // import "code.ivysaur.me/riscvemu" import ( "fmt" diff --git a/go.mod b/go.mod index 75c306f..898c2e0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module riscvemu +module code.ivysaur.me/riscvemu go 1.15