Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
HSS:
type: git
link: https://github.com/polarfire-soc/hart-software-services.git
branch: master
commit: v2025.03
branch: next
commit: af4f81a657c92601b0de2f52b89a3f97bbf4a2b3
make_clean: 0
gateware:
top_level_name: shls_test
build-args: "M2_OPTION:NONE CAPE_OPTION:NONE SMARTHLS:../../../../../dsp/examples/riscv_tests/fft_demo/beaglev_fire"
type: sources
unique-design-version:

build-args: "CAPE_OPTION:DEFAULT
M2_OPTION:NONE
MIPI_CSI_OPTION:DEFAULT
SYZYGY_OPTION:DEFAULT
APU_OPTION:SMARTHLS
SHLS_0:../../../../../dsp/examples/riscv_tests/fft_demo/beaglev_fire"
unique-design-version: 7.0.0
2 changes: 1 addition & 1 deletion dsp/examples/riscv_tests/fft_demo/sources/demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using namespace hls;
using namespace hls::dsp;

#include "test_vector.h"
#include "test_utils.hpp"
#include "../../../test_utils.hpp"

struct fft_buff_t {
uint16_t im;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
HSS:
type: git
link: https://github.com/polarfire-soc/hart-software-services.git
branch: master
commit: v2025.03
branch: next
commit: af4f81a657c92601b0de2f52b89a3f97bbf4a2b3
make_clean: 0
gateware:
top_level_name: shls_test
build-args: "M2_OPTION:NONE CAPE_OPTION:NONE SMARTHLS:../../../../../math/examples/riscv_tests/sin_performance/beaglev_fire"
type: sources
unique-design-version:

build-args: "CAPE_OPTION:DEFAULT
M2_OPTION:NONE
MIPI_CSI_OPTION:DEFAULT
SYZYGY_OPTION:DEFAULT
APU_OPTION:SMARTHLS
SHLS_0:../../../../../math/examples/riscv_tests/sin_performance/beaglev_fire"
unique-design-version: 7.0.0
4 changes: 2 additions & 2 deletions math/examples/riscv_tests/sin_performance/sources/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using namespace hls::math;

#define THRESHOLD 0.1 // Error Threshold

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

double hls_math0 = timestamp();
hls_test(x, vals_fixpt);
sin_performance(x, vals_fixpt);
double hls_math1 = timestamp();

// Test accuracy of results:
Expand Down
2 changes: 1 addition & 1 deletion support/beaglev-fire/gateware
Submodule gateware updated from 020b09 to 765975