Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
minseongg committed Oct 2, 2024
1 parent fc6533a commit 00ddf44
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/docs/tutorial/custom_fifo.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ fn custom_fifo(ingress: [Vr<u32>; 5]) -> Vr<u32> {

You can find the full implementation in [custom_fifo.rs](https://github.com/kaist-cp/hazardflow/blob/main/hazardflow-designs/src/examples/custom_fifo.rs).

You can generate the Verilog codes with the following commands:

```bash
# Generate a separate Verilog file for each submodule.
$ cargo run --release -- --target custom_fifo --deadcode --wire-cache

# Generate an integrated Verilog file combining all submodules.
$ cargo run --release -- --target custom_fifo --deadcode --wire-cache --merge
```

---

Congratulations! You finished the tutorial!
10 changes: 10 additions & 0 deletions doc/docs/tutorial/fir_filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,13 @@ It transforms the ingress payload to sum of them.
In the application-specific logic in `map` interface combinator, we use `fold` method which aggregates the data within array of signal.

You can find the implementation in [fir_filter.rs](https://github.com/kaist-cp/hazardflow/blob/main/hazardflow-designs/src/examples/fir_filter.rs).

You can generate the Verilog codes with the following commands:

```bash
# Generate a separate Verilog file for each submodule.
$ cargo run --release -- --target fir_filter --deadcode --wire-cache

# Generate an integrated Verilog file combining all submodules.
$ cargo run --release -- --target fir_filter --deadcode --wire-cache --merge
```

0 comments on commit 00ddf44

Please sign in to comment.