Skip to content

Commit

Permalink
Fix all links to interpreter.md (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanmohan authored May 24, 2024
1 parent deee510 commit 2c19c76
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/debug/cider.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,4 @@ Use `help` to see all commands. Use `exit` to exit the debugger.

[fud]: ../running-calyx/fud/index.md
[gdb]: https://sourceware.org/gdb/
[interp]: ../interpreter.md
[interp]: ../running-calyx/interpreter.md
3 changes: 2 additions & 1 deletion docs/debug/debug.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Debugging Compilation Bugs

These tips are directed towards *compilation bugs*. Before trying these, make sure your program
produces the correct values with the [Calyx Interpreter](../interpreter.md)
produces the correct values with the [Calyx Interpreter][interp].

## Disabling Optimizations

Expand Down Expand Up @@ -172,3 +172,4 @@ the `fsm` register has the value 1 and check to see if the assignments in
[wavetrace]: https://marketplace.visualstudio.com/items?itemName=wavetrace.wavetrace
[flag-cmp]: https://github.com/calyxir/calyx/blob/master/tools/flag-compare.sh
[dgr]: https://docs.rs/calyx-opt/latest/calyx_opt/passes/struct.DeadGroupRemoval.html
[interp]: ../running-calyx/interpreter.md
3 changes: 2 additions & 1 deletion docs/debug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Calyx programs can provide wrong answers for two reasons:
2. The Calyx compiler incorrectly compiles the program, i.e., there is a compilation bug.

First make sure that the program generates the correct values with the [Calyx
Interpreter](../interpreter.md). If it produces the wrong values, your Calyx implementation of the
Interpreter][interp]. If it produces the wrong values, your Calyx implementation of the
algorithm is incorrect. You can use the [Calyx Debugger](./cider.md) to debug these problems.

If the interpreter produces the right values, try a different Verilog backed. We support both
Expand All @@ -16,3 +16,4 @@ the error.

[tips]: ./debug.md
[cidr]: ./cider.md
[interp]: ../running-calyx/interpreter.md
2 changes: 1 addition & 1 deletion docs/lang/data-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ Often times, it can be useful to automatically generate random values for a larg
[data-gen]: ../tools/data-gen.md
[iv]: ../running-calyx/fud/index.md#icarus-verilog
[verilator]: ../running-calyx/fud/index.md#verilator
[interpreter]: ../interpreter.md
[interpreter]: ../running-calyx/interpreter.md

0 comments on commit 2c19c76

Please sign in to comment.