From 7a63a61ac7d4a3e4a6667055ea55db1c55779a23 Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 11 Apr 2025 20:52:19 -0400 Subject: Modify README and CMakeLists from repository split --- CMakeLists.txt | 9 +-------- README.md | 26 +++++++++++++++----------- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9daac12..f8ec7be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.5) set(CMAKE_CXX_COMPILER "g++") -project(risc_vector) +project(ram) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) @@ -16,16 +16,9 @@ include_directories( ${PROJECT_SOURCE_DIR}/inc ) -# add gui -add_subdirectory(gui) - # gather source files file(GLOB_RECURSE SRCS "src/*.cc") -# find QT components -find_package(Qt6 COMPONENTS Widgets REQUIRED) -qt_standard_project_setup() - # binary executable add_library(${PROJECT_NAME}_lib ${SRCS}) target_link_libraries(${PROJECT_NAME}_lib) diff --git a/README.md b/README.md index d48ce02..deadf9f 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,19 @@ -# Risc V[ECTOR] +# ram -## Corresponding Assembler can be found here -`https://github.com/bdunahu/rva` +## -## dependencies -- cmake -- g++ (GCC) 11.4.0 -- catch2 version 3.5.3 -- Qt version 6.8.2 +This is a cache and memory simulator for a custom ISA nicknamed "RISC V[ECTOR]". It uses a writeback and write allocate on a miss scheme, and supports a configurable number of cache levels and ways, with a least-recently used replacement policy. + +## Dependencies + +g++, CMake, and the following libraries are required to compile: + +- cmake (tested with v3.30.3) +- g++ (tested with v11.4.0) +- catch2 (tested with v3.5.3) + +## To run -## to compile Generate the build directory with `cmake -S . -B build` @@ -20,6 +24,6 @@ then compile both the simulator and tests with # about -University of Massachusetts, Amherst -CS535 -- Computer Architecture and ISA Design +Created at the University of Massachusetts, Amherst +CS535 -- Computer Architecture and ISA Design -- cgit v1.2.3