Merge branch 'developer' into fix/pattern

This commit is contained in:
Erik Fröjdh
2026-01-21 16:37:57 +01:00
committed by GitHub
5 changed files with 8 additions and 3 deletions

View File

@@ -131,7 +131,7 @@
/* REG no_Samples_X_Reg */ /* REG no_Samples_X_Reg */
#define NO_SAMPLES_X_REG 0xa00cUL #define NO_SAMPLES_X_REG 0xa00cUL
#define NO_SAMPLES_X_MSK 0x1fffUL #define NO_SAMPLES_X_MSK 0x7FFFFFFFUL
#define NO_SAMPLES_X_OFST 0 #define NO_SAMPLES_X_OFST 0
/* REG count_Frames_From_Reg_1 */ /* REG count_Frames_From_Reg_1 */

View File

@@ -60,7 +60,7 @@
#define DEFAULT_DELAY (0) #define DEFAULT_DELAY (0)
#define MAX_TRANSCEIVER_MASK (0xF) #define MAX_TRANSCEIVER_MASK (0xF)
#define MAX_TRANSCEIVER_SAMPLES (0x1FFF) #define MAX_TRANSCEIVER_SAMPLES (0x7FFFFFFF)
#define MAX_ANALOG_SAMPLES (0x3FFF) #define MAX_ANALOG_SAMPLES (0x3FFF)
#define MAX_DIGITAL_SAMPLES (0x3FFF) #define MAX_DIGITAL_SAMPLES (0x3FFF)

View File

@@ -932,6 +932,11 @@ TEST_CASE("tsamples", "[.cmdcall]") {
caller.call("tsamples", {}, -1, GET, oss); caller.call("tsamples", {}, -1, GET, oss);
REQUIRE(oss.str() == "tsamples 450\n"); REQUIRE(oss.str() == "tsamples 450\n");
} }
if (det_type == defs::XILINX_CHIPTESTBOARD) {
std::ostringstream oss;
caller.call("tsamples", {"2147483647"}, -1, PUT, oss);
REQUIRE(oss.str() == "tsamples 2147483647\n");
}
for (int i = 0; i != det.size(); ++i) { for (int i = 0; i != det.size(); ++i) {
det.setNumberOfTransceiverSamples(prev_val[i], {i}); det.setNumberOfTransceiverSamples(prev_val[i], {i});
} }

View File

@@ -7,6 +7,6 @@
#define APIGOTTHARD2 "0.0.0 0x250909" #define APIGOTTHARD2 "0.0.0 0x250909"
#define APIMOENCH "0.0.0 0x250909" #define APIMOENCH "0.0.0 0x250909"
#define APIEIGER "0.0.0 0x250909" #define APIEIGER "0.0.0 0x250909"
#define APIXILINXCTB "0.0.0 0x260106" #define APIXILINXCTB "0.0.0 0x260121"
#define APIJUNGFRAU "0.0.0 0x250909" #define APIJUNGFRAU "0.0.0 0x250909"
#define APIMYTHEN3 "0.0.0 0x250922" #define APIMYTHEN3 "0.0.0 0x250922"