Skip to content

Commit

Permalink
Remove par-to-seq from profiler passes (#2373)
Browse files Browse the repository at this point in the history
Forgot to remove `par-to-seq` from profiler passes after implementing
profiling for parallel programs!!!
  • Loading branch information
ayakayorihiro authored Dec 10, 2024
1 parent 84dab52 commit 7e2e913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fud2/scripts/profiler.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn calyx_to_flamegraph(e, input, output) {
e.build_cmd(["$cells"], "component-cells", [input], []);
e.build_cmd([instrumented_verilog], "calyx", [input], []);
e.arg("backend", "verilog");
e.arg("args", " -p static-inline -p compile-static -p compile-repeat -p par-to-seq -p compile-invoke -p profiler-instrumentation -p $passes -x tdcc:dump-fsm-json=fsm.json");
e.arg("args", " -p static-inline -p compile-static -p compile-repeat -p compile-invoke -p profiler-instrumentation -p $passes -x tdcc:dump-fsm-json=fsm.json");

let instrumented_sim = "instrumented.exe";
// verilog --> sim; adapted from verilator::verilator_build()
Expand Down
2 changes: 1 addition & 1 deletion fud2/tests/snapshots/tests__test@plan_profiler.snap
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ cycle-limit = 500000000
build $cells: component-cells /input.ext
build instrumented.sv: calyx /input.ext
backend = verilog
args = -p static-inline -p compile-static -p compile-repeat -p par-to-seq -p compile-invoke -p profiler-instrumentation -p $passes -x tdcc:dump-fsm-json=fsm.json
args = -p static-inline -p compile-static -p compile-repeat -p compile-invoke -p profiler-instrumentation -p $passes -x tdcc:dump-fsm-json=fsm.json
build verilator-out/Vtoplevel: verilator-compile-standalone-tb instrumented.sv | tb.sv
out-dir = verilator-out
build instrumented.exe: cp verilator-out/Vtoplevel
Expand Down

0 comments on commit 7e2e913

Please sign in to comment.