Initial commit

Added base code, can run ELF files and simulate RV32I instructions
This commit is contained in:
2023-10-04 21:28:18 +02:00
commit 981c35584c
17 changed files with 1280 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef VRISCV_H
#define VRISCV_H
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#define NAME "vriscv"
#define VERSION "0.1"
extern char* CURRENT_NAME;
/* Program options */
extern size_t memory_size;
extern char* file_path;
void parse_options(int argc, char** argv);
#endif