Initial commit
Added base code, can run ELF files and simulate RV32I instructions
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user