Skip to content

Commit

Permalink
quick doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EclecticGriffin committed Dec 13, 2024
1 parent 727912a commit 1505e5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/running-calyx/interpreter.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ can use [fud2][]. The latter is generally recommended.

To run an example program, try:

cd interp && cargo run tests/control/if.futil
cd cider && cargo run -- tests/control/if.futil

You should see something like:

Z{"top_level":"main","memories":[{"name":"mem","width":32,"size":1,"dimensions":{"D1":1}}]}%
���T�itop_leveldmainhmemories��dnamecmemjdimensions�bD1fformat�fBitnum�fsigned�ewidth %


This output contains some header information and the raw binary data of the
Expand All @@ -26,7 +26,7 @@ memories in the program and as such is not human readable. A separate tool,
vice versa. Once you've compiled it, either by running `cargo build` in
`tools/cider-data-converter` or by running `cargo build --all`, you can run:

cargo run tests/control/if.futil | ../target/debug/cider-data-converter --to json
cargo run -- tests/control/if.futil | ../target/debug/cider-data-converter --to json

which should produce
```json
Expand All @@ -50,7 +50,7 @@ program before interpretation.
You'll want to build the interpreter and compiler first:

cargo build && \
cd interp && cargo build && \
cd cider && cargo build && \
cd ../tools/cider-data-converter && cargo build && cd ../../

or just run
Expand Down

0 comments on commit 1505e5d

Please sign in to comment.