File tree Expand file tree Collapse file tree 5 files changed +24
-16
lines changed
dsp/examples/riscv_tests/fft_demo
math/examples/riscv_tests/sin_performance Expand file tree Collapse file tree 5 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 22HSS :
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
78gateware :
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
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ using namespace hls;
1111using namespace hls ::dsp;
1212
1313#include " test_vector.h"
14- #include " test_utils.hpp"
14+ #include " ../../../ test_utils.hpp"
1515
1616struct fft_buff_t {
1717 uint16_t im;
Original file line number Diff line number Diff line change 22HSS :
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
78gateware :
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
Original file line number Diff line number Diff 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:
Submodule
gateware updated from 020b095 to 6f369ce
You can’t perform that action at this time.
0 commit comments