mirror of
https://github.com/DrasLorus/hls_max_template.git
synced 2024-11-23 13:13:18 +01:00
Fix formatting on a single pragma
This commit is contained in:
parent
f4ed6956b3
commit
746557327b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ struct max_pow2 {
|
||||||
static T process(const T values[N]) {
|
static T process(const T values[N]) {
|
||||||
static_assert(N > 2, "N cannot be less than 3!");
|
static_assert(N > 2, "N cannot be less than 3!");
|
||||||
T half_values[N / 2];
|
T half_values[N / 2];
|
||||||
#pragma HLS array_partition variable = half_values complete
|
#pragma HLS array_partition variable=half_values complete
|
||||||
for (uint8_t i = 0; i < N / 2; i++) {
|
for (uint8_t i = 0; i < N / 2; i++) {
|
||||||
#pragma HLS unroll
|
#pragma HLS unroll
|
||||||
const uint8_t j = i << 1;
|
const uint8_t j = i << 1;
|
||||||
|
|
Loading…
Reference in a new issue