Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix #90

Merged
merged 2 commits into from
Oct 3, 2024
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
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,10 @@ To load and run the created model (`<example>.json`).
cargo run -- -model <example>.json
```

Alternatively, you can run the `mips` example from the `mips` folder.
Alternatively, you can run a single cycle `mips` model from the `mips-lib` folder.

```shell
cd mips
cargo run --example mips
```

And consequently run the created model (`mips.json`).

```shell
cd mips # if not already done
cd mips-lib
cargo run
```

Expand Down
File renamed without changes.
5 changes: 4 additions & 1 deletion mips-lib/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
use clap::Parser;
// The trait impls from here are used dynamically when json is loaded, so this is actually used
#[allow(unused_imports)]
use mips_lib::*;
use std::path::PathBuf;
#[cfg(feature = "gui-egui")]
use syncrim::gui_egui::editor::Library;
Expand All @@ -8,7 +11,7 @@ use syncrim::{common::ComponentStore, fern::fern_setup};
#[command(author, version, about, long_about = None)]
struct Args {
/// Path to the model to load on startup
#[arg(short, long, default_value = "mips_singel_cycle.json")]
#[arg(short, long, default_value = "mips_single_cycle.json")]
model: String,
}

Expand Down
Loading