Skip to content

Commit

Permalink
Remove random comments, adjust trace to something reasonable
Browse files Browse the repository at this point in the history
  • Loading branch information
onsdagens committed Aug 4, 2023
1 parent 5fb624c commit 25bdf2b
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions riscv/examples/riscv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,19 +192,6 @@ fn main() {
data_mem,
range,
),
// Mem::rc_new_from_bytes(
// "data_memory",
// (700.0, 600.0),
// 100.0,
// 100.0,
// false,
// Input::new("reg_file", "reg_b"),
// Input::new("alu", "result_o"),
// Input::new("decoder", "data_mem_ctrl"),
// Input::new("decoder", "data_se"),
// Input::new("decoder", "data_mem_size"),
// data_mem,
// ),
Constant::rc_new("zero_c", (680.0, 150.0), 0),
Mux::rc_new(
"alu_operand_a_mux",
Expand Down Expand Up @@ -274,13 +261,7 @@ fn fern_setup_riscv() {

// - and per-module overrides
#[cfg(feature = "gui-vizia")]
let f = f
//.level_for("syncrim::components::mem", LevelFilter::Trace)
//.level_for("riscv::components::instr_mem", LevelFilter::Trace)
.level_for("syncrim::gui_vizia::components::mem", LevelFilter::Trace)
.level_for("riscv::gui_vizia::components::reg_file", LevelFilter::Trace)
//.level_for("riscv::components::alu", LevelFilter::Trace);
.level_for("syncrim::components::mem", LevelFilter::Trace);
let f = f.level_for("riscv::components::instr_mem", LevelFilter::Trace);

f
// Output to stdout, files, and other Dispatch configurations
Expand Down

0 comments on commit 25bdf2b

Please sign in to comment.