Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ include(cmake/CPM.cmake)
# Provide default CXX settings
include(cmake/defaults.cmake)

set(SUBDIRS third_party scripts)

foreach(DIR ${SUBDIRS})
add_subdirectory(${DIR})
endforeach()
add_subdirectory(third_party)
add_subdirectory(scripts)

set(hSIM_LIB
src/memory.cc src/machine.cc
Expand All @@ -30,3 +27,4 @@ add_executable(${PROJECT_NAME} src/main.cc)

target_compile_options(${PROJECT_NAME} PRIVATE -Wpedantic)
target_link_libraries(${PROJECT_NAME} PRIVATE hSim-lib CLI11::CLI11 fmt::fmt)
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME hsim)
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hSim

Hi there. We introduce high perfomance CPU simulator model.
Hi there. We introduce high performance CPU simulator model.

## How to build
### Requirements
Expand All @@ -17,7 +17,5 @@ cmake --build <path_to_build> --parallel <amount_of_jobs>
Ninja is optional, but it looks really pretty
After build, you can run our simulator and get some help info
```bash
./build/hSim --help
./build/hsim --help
```


2 changes: 1 addition & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "machine.hh"

int main(int argc, char **argv) try {
CLI::App app("hSim: high Perfomance CPU Simulator");
CLI::App app("hSim: high Performance CPU Simulator");
hsim::Config config{};

app.add_option("--elf", config.elf_path, "Path to ELF file")
Expand Down