Skip to content

Commit

Permalink
Fixes regarding Pull Request comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Muxianesty committed Sep 5, 2024
1 parent 2a829bf commit 8eb9020
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ cmake --build build
build/src/umain hls --config examples/polynomial2/add_int_2_mul_int3.json -a --out-sv output
```

The execution command is going to pass a JSON configuration file (with 2 and 3 pipeline stages for integer addition
The execution command is going to pass a JSON configuration file (with latencies 2 and 3 for integer addition
and multiplication respectively) to Utopia HLS, resulting in the creation of the file `output`, containing a SystemVerilog
module for `Polynomial2` kernel with a greedy ASAP-scheduling.

Expand Down
4 changes: 2 additions & 2 deletions docs/latency_config.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## JSON Configuration
## Latency Configuration

Latency configuration (in terms of pipeline stages) for each computational operation used in a DFCxx kernel is provided via a JSON file.
Latency configuration is a JSON-based file describing characteristics of computational operations for the specific DFCxx kernel.

Currently each operation has two specifications based on the types of its arguments: for integer values (`INT`) and floating point (`FLOAT`) values respectively.

Expand Down
2 changes: 1 addition & 1 deletion src/model/dfcxx/lib/dfcxx/IRbuilders/builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void DFCIRBuilder::translate(Node node, const Graph &graph,
map[first], attr);
break;
}
default: assert(false);
default: assert(false && "Unknown node type");
}

map[node] = newOp->getResult(0);
Expand Down

0 comments on commit 8eb9020

Please sign in to comment.