Commit Graph

3519 Commits

Author SHA1 Message Date
fbc2459903 fix tests (format)
All checks were successful
Build on RHEL9 / build (push) Successful in 3m56s
Build on RHEL8 / build (push) Successful in 5m33s
2025-12-18 13:38:34 +01:00
92219df209 wip. renaming getRegisterDefintiionAddress/Name=>getRegisterAddress/Name and similary for getBitDefinitionAddress/Name 2025-12-18 13:32:11 +01:00
2bcec2ae31 wip, removing parsing from string inside the class RegisterAddress, BitAddress and RegisterValue 2025-12-18 13:14:50 +01:00
3546a4fe4b fixed ctb tests and FixedString being initialized with gibberish
All checks were successful
Build on RHEL9 / build (push) Successful in 3m53s
Build on RHEL8 / build (push) Successful in 5m2s
2025-12-17 17:13:25 +01:00
fa66aea281 forgot to add test 2025-12-17 14:11:21 +01:00
1f05d570fa tests on mapstack 2025-12-17 14:07:51 +01:00
3df8f03cb3 Maponstack works with integration tests, but need unit tests 2025-12-17 11:08:00 +01:00
41a73e0c73 fix a ctbConfig test
All checks were successful
Build on RHEL9 / build (push) Successful in 3m20s
Build on RHEL8 / build (push) Successful in 4m53s
2025-12-15 15:56:21 +01:00
ea9508da9f Removing implicit conversions:
RegisterAddresss and RegisterValue: Removed the implicit conversions.
RegisterAddress: Changed member name from address_ to value_ and method as well to value().
RegisterValue: Also added | operator to be able to concatenate with uint32_t. Same in python bindings (but could not find the tests to modify
2025-12-15 15:19:27 +01:00
ea561e2422 got rid of setbitposition and setaddress, instead overloaded constructor to take in strings so that the conversion from string to bit address members, takes place within the class for easy maintainance in case type changes 2025-12-15 14:29:55 +01:00
5f287ea092 changed bitPosition from int to uint32_t 2025-12-15 13:41:56 +01:00
199f5f113f added marker for 8 cmd tests connected to define, changed macro to static constexpr 2025-12-15 12:14:29 +01:00
224f202e05 naming refactoring (getRegisterDefnition to retunr name and address specifically
All checks were successful
Build on RHEL9 / build (push) Successful in 3m21s
Build on RHEL8 / build (push) Successful in 4m34s
2025-12-13 02:26:07 +01:00
5ae1021de9 allow string for register and bit names in c++ api 2025-12-12 17:08:26 +01:00
e3c1191088 Merge remote-tracking branch 'origin/dev/define_cmd' into dev/define_cmd
All checks were successful
Build on RHEL9 / build (push) Successful in 3m20s
Build on RHEL8 / build (push) Successful in 5m12s
2025-12-12 15:22:42 +01:00
497c890b28 split define into 2 commands define_reg and define_bit, definelist into 2: definelist_reg and definelist_bit 2025-12-12 15:21:35 +01:00
Erik Fröjdh
f150eed74b Using define reg/bit from python (#1344)
* define_bit, define_addr in python. 
* setBit/clearBit takes int or addr
2025-12-12 08:35:31 +01:00
654c16b52b changed BitPosition to BitAddress
All checks were successful
Build on RHEL9 / build (push) Successful in 3m44s
Build on RHEL8 / build (push) Successful in 5m17s
2025-12-11 13:04:13 +01:00
ee3222e56b removed bit names in reg 2025-12-11 12:45:45 +01:00
a503881353 fixing so all tests pass 2025-12-11 11:44:04 +01:00
0ca667bd52 Merge branch 'developer' into dev/define_cmd
Some checks failed
Build on RHEL8 / build (push) Failing after 1m14s
Build on RHEL9 / build (push) Successful in 4m17s
2025-12-08 09:55:08 +01:00
Erik Fröjdh
1c31a85a43 added function to remove duplicates, preserve order of dbit 2025-12-03 12:14:35 +01:00
Erik Fröjdh
56de3c17ea Merge branch 'developer' into dev/define_cmd
Some checks failed
Build on RHEL8 / build (push) Failing after 1m28s
Build on RHEL9 / build (push) Successful in 5m36s
2025-11-25 16:53:49 +01:00
1ad2628311 added tests for python
Some checks failed
Build on RHEL8 / build (push) Failing after 1m18s
Build on RHEL9 / build (push) Failing after 3m30s
2025-11-20 12:22:43 +01:00
161cd5508d Dev/define cmd tie bit to reg (#1328)
Some checks failed
Build on RHEL8 / build (push) Failing after 1m8s
Build on RHEL9 / build (push) Failing after 2m22s
* strong type wip

* moved everythign to bit_utils class

* wip, still on testing in ctb reg

* passed tests for define
2025-11-10 16:27:03 +01:00
Erik Fröjdh
d3dc92b18b Using find_package(Threads REQUIRED) instead of linking pthread directly (#1324)
All checks were successful
Build on RHEL9 / build (push) Successful in 4m30s
Build on RHEL8 / build (push) Successful in 4m42s
* Linking to Threads::Threads instead of pthread directly 
* moved rt linking to slsSupportObject and only enable for linux
2025-10-27 16:30:40 +01:00
Erik Fröjdh
1d66f1d26d Experimental support for using the client on macOS (Darwin) (#1321)
Some checks failed
Build on RHEL9 / build (push) Failing after 32s
Build on RHEL8 / build (push) Failing after 4m40s
* shorter SHM names on macOS
* fix segfault on macOS when string is empty
* apple version of read exe path
* ifdef for linux specific API
* fixed test for shm and udp socket
* updated release notes
2025-10-22 15:19:36 +02:00
5041fd7fef Dev/xilinx set power (#1316)
Some checks failed
Build on RHEL9 / build (push) Failing after 3m5s
Build on RHEL8 / build (push) Failing after 5m10s
* ctb updates not in release notes

* xilinx power similar to ctb,except no vchip
2025-10-16 13:57:11 +02:00
b4a0c69897 removed std::vector<std::pair<string,int> to std::map<string, int> for defiitions list
Some checks failed
Build on RHEL9 / build (push) Failing after 3m5s
Build on RHEL8 / build (push) Failing after 5m8s
2025-10-13 17:21:53 +02:00
c80dc9bdf3 converting char array+int in runtimeerror compiles but throws at runtime.Fixed.Tested for it. Also check if string or int before using getregisterdefinitonbyvalue to see if it threw to call the other function. because both of it can throw and we should differentiate the issues for both 2025-10-13 16:39:17 +02:00
98c72efd31 refactor
Some checks failed
Build on RHEL9 / build (push) Failing after 3m7s
Build on RHEL8 / build (push) Failing after 5m19s
2025-10-13 12:33:18 +02:00
a4d5e38130 refactor define cmdline 2025-10-13 12:23:22 +02:00
6551d22c7e refactor 2025-10-13 11:54:03 +02:00
049aeaf52a refactor 2025-10-13 11:37:25 +02:00
55aa5db630 updating help 2025-10-13 11:13:00 +02:00
d6f8ff09d0 definelist has no put 2025-10-13 11:04:02 +02:00
98ecbe954d validate autocomplete 2025-10-13 10:59:51 +02:00
4fb66865fd improved autocomplete for getbit,setbit, clearbit 2025-10-13 10:55:46 +02:00
137365642d formatting
Some checks failed
Build on RHEL9 / build (push) Failing after 3m0s
Build on RHEL8 / build (push) Failing after 5m14s
2025-10-10 17:22:15 +02:00
5d4a0055e1 works 2025-10-10 17:21:56 +02:00
3fdef9dac6 done with tests 2025-10-10 16:29:05 +02:00
a382705e50 wip, works for read and write reg with pipes
Some checks failed
Build on RHEL9 / build (push) Failing after 3m20s
Build on RHEL8 / build (push) Failing after 5m1s
2025-10-04 04:39:14 +02:00
c43a3207e8 wip, reg define 2025-10-04 02:33:41 +02:00
d32c034fcf refactor test, wip
Some checks failed
Build on RHEL9 / build (push) Failing after 3m31s
Build on RHEL8 / build (push) Failing after 5m13s
2025-09-30 17:41:20 +02:00
b55bc8d89e tests for define and definelist pass. yet to implement using them for reg, setbit, clearbit and getbit 2025-09-30 17:13:51 +02:00
c2141cf60f Merge branch 'developer' into dev/define_cmd 2025-09-30 16:49:21 +02:00
7e13ccf632 wip 2025-09-30 16:32:01 +02:00
2c2d046ce0 wip
Some checks failed
Build on RHEL9 / build (push) Failing after 47s
Build on RHEL8 / build (push) Failing after 49s
2025-09-30 14:45:49 +02:00
08b282a330 wip 2025-09-30 14:45:11 +02:00
8178a5c16e wip
Some checks failed
Build on RHEL9 / build (push) Failing after 45s
Build on RHEL8 / build (push) Failing after 48s
2025-09-29 17:35:00 +02:00