Skip to content

Commit 081dab1

Browse files
Change the files Brian changed in his patches, change the .yaml files we use to work w/ the new gateware repo. (#27)
1 parent 2e8d31a commit 081dab1

File tree

5 files changed

+24
-16
lines changed

5 files changed

+24
-16
lines changed

dsp/examples/riscv_tests/fft_demo/beaglev_fire/fft_performance.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
HSS:
33
type: git
44
link: https://github.com/polarfire-soc/hart-software-services.git
5-
branch: master
6-
commit: v2025.03
5+
branch: next
6+
commit: af4f81a657c92601b0de2f52b89a3f97bbf4a2b3
7+
make_clean: 0
78
gateware:
8-
top_level_name: shls_test
9-
build-args: "M2_OPTION:NONE CAPE_OPTION:NONE SMARTHLS:../../../../../dsp/examples/riscv_tests/fft_demo/beaglev_fire"
109
type: sources
11-
unique-design-version:
12-
10+
build-args: "CAPE_OPTION:DEFAULT
11+
M2_OPTION:NONE
12+
MIPI_CSI_OPTION:DEFAULT
13+
SYZYGY_OPTION:DEFAULT
14+
APU_OPTION:SMARTHLS
15+
SHLS_0:../../../../../dsp/examples/riscv_tests/fft_demo/beaglev_fire"
16+
unique-design-version: 7.0.0

dsp/examples/riscv_tests/fft_demo/sources/demo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ using namespace hls;
1111
using namespace hls::dsp;
1212

1313
#include "test_vector.h"
14-
#include "test_utils.hpp"
14+
#include "../../../test_utils.hpp"
1515

1616
struct fft_buff_t {
1717
uint16_t im;

math/examples/riscv_tests/sin_performance/beaglev_fire/sin_performance.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
HSS:
33
type: git
44
link: https://github.com/polarfire-soc/hart-software-services.git
5-
branch: master
6-
commit: v2025.03
5+
branch: next
6+
commit: af4f81a657c92601b0de2f52b89a3f97bbf4a2b3
7+
make_clean: 0
78
gateware:
8-
top_level_name: shls_test
9-
build-args: "M2_OPTION:NONE CAPE_OPTION:NONE SMARTHLS:../../../../../math/examples/riscv_tests/sin_performance/beaglev_fire"
109
type: sources
11-
unique-design-version:
12-
10+
build-args: "CAPE_OPTION:DEFAULT
11+
M2_OPTION:NONE
12+
MIPI_CSI_OPTION:DEFAULT
13+
SYZYGY_OPTION:DEFAULT
14+
APU_OPTION:SMARTHLS
15+
SHLS_0:../../../../../math/examples/riscv_tests/sin_performance/beaglev_fire"
16+
unique-design-version: 7.0.0

math/examples/riscv_tests/sin_performance/sources/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ using namespace hls::math;
1010

1111
#define THRESHOLD 0.1 // Error Threshold
1212

13-
void hls_test(float n[__N_ELEM], float vals[__N_ELEM]){
13+
void sin_performance(float n[__N_ELEM], float vals[__N_ELEM]){
1414
#pragma HLS function top dataflow
1515
#pragma HLS interface default type(axi_target)
1616
#pragma HLS interface argument(vals) type(axi_initiator) num_elements(__N_ELEM)
@@ -60,7 +60,7 @@ int main(){
6060
double cmath1 = timestamp();
6161

6262
double hls_math0 = timestamp();
63-
hls_test(x, vals_fixpt);
63+
sin_performance(x, vals_fixpt);
6464
double hls_math1 = timestamp();
6565

6666
// Test accuracy of results:

support/beaglev-fire/gateware

Submodule gateware updated from 020b095 to 6f369ce

0 commit comments

Comments
 (0)