zuspec-be-sw 0.1.0.15232861757rc0__cp312-cp312-manylinux_2_28_x86_64.whl → 0.1.0.15241525918rc0__cp312-cp312-manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of zuspec-be-sw might be problematic. Click here for more details.

@@ -1 +1 @@
1
- BUILD_NUM=15232861757
1
+ BUILD_NUM=15241525918
zsp_be_sw/__version__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  BASE="0.1.0"
2
- SUFFIX=".15232861757rc0"
2
+ SUFFIX=".15241525918rc0"
3
3
  VERSION="%s%s" % (BASE, SUFFIX)
zsp_be_sw/libzsp-be-sw.so CHANGED
Binary file
@@ -0,0 +1,30 @@
1
+
2
+ #ifndef INCLUDED_ZSP_ACTION_H
3
+ #define INCLUDED_ZSP_ACTION_H
4
+ #include "zsp/be/sw/rt/zsp_struct.h"
5
+ #include "zsp/be/sw/rt/zsp_thread.h"
6
+
7
+ #ifdef __cplusplus
8
+ extern "C" {
9
+ #endif
10
+
11
+ struct zsp_actor_s;
12
+
13
+ typedef struct zsp_action_type_s {
14
+ zsp_struct_type_t base;
15
+
16
+ } zsp_action_type_t;
17
+
18
+ typedef struct zsp_action_s {
19
+ zsp_struct_t base;
20
+ zsp_task_func body;
21
+
22
+ } zsp_action_t;
23
+
24
+ void zsp_action_init(struct zsp_actor_s *actor, zsp_action_t *this_p);
25
+
26
+ #ifdef __cplusplus
27
+ }
28
+ #endif
29
+
30
+ #endif /* INCLUDED_ZSP_ACTION_H */
@@ -1,8 +1,17 @@
1
1
  #ifndef INCLUDED_ZSP_ACTOR_H
2
2
  #define INCLUDED_ZSP_ACTOR_H
3
+ #include "zsp/be/sw/rt/zsp_api.h"
4
+ #include "zsp/be/sw/rt/zsp_action.h"
3
5
  #include "zsp/be/sw/rt/zsp_actor_base.h"
4
6
  #include "zsp/be/sw/rt/zsp_component.h"
5
7
 
8
+ #ifdef __cplusplus
9
+ extern "C" {
10
+ #endif
11
+
12
+ struct zsp_frame_s;
13
+ struct zsp_thread_s;
14
+
6
15
  typedef struct zsp_actor_s {
7
16
  zsp_actor_base_t base;
8
17
  zsp_component_t comp;
@@ -13,5 +22,21 @@ typedef struct zsp_actor_s {
13
22
  comp_t ## _t comp; \
14
23
  }
15
24
 
25
+ void zsp_actor_init(
26
+ zsp_actor_t *actor,
27
+ zsp_api_t *api,
28
+ zsp_component_type_t *comp_t,
29
+ zsp_action_type_t *action_t);
30
+
31
+ void zsp_actor_elab(zsp_actor_t *actor);
32
+
33
+ struct zsp_frame_s *zsp_actor_run(
34
+ zsp_actor_t *actor,
35
+ struct zsp_thread_s *thread,
36
+ struct zsp_frame_s *frame,
37
+ ...);
16
38
 
39
+ #ifdef __cplusplus
40
+ }
41
+ #endif
17
42
  #endif /* INCLUDED_ZSP_ACTOR_H */
@@ -11,6 +11,7 @@ typedef struct zsp_actor_base_s {
11
11
  // Example member variables (to be defined as needed):
12
12
  // int actor_id; // Unique identifier for the actor
13
13
  // const char *name; // Name of the actor
14
+ zsp_bool_t is_elab;
14
15
  } zsp_actor_base_t;
15
16
 
16
17
  #endif /* INCLUDED_ZSP_ACTOR_BASE_H */
@@ -1,3 +1,6 @@
1
+ #ifndef INCLUDED_ZSP_ALLOC_H
2
+ #define INCLUDED_ZSP_ALLOC_H
3
+
1
4
  #include <sys/types.h>
2
5
 
3
6
  #ifdef __cplusplus
@@ -20,3 +23,4 @@ void zsp_alloc_malloc_init(zsp_alloc_t *alloc);
20
23
  }
21
24
  #endif
22
25
 
26
+ #endif /* INCLUDED_ZSP_ALLOC_H */
@@ -0,0 +1,25 @@
1
+
2
+ #ifndef INCLUDED_ZSP_API_H
3
+ #define INCLUDED_ZSP_API_H
4
+ #include "zsp/be/sw/rt/zsp_thread.h"
5
+
6
+ struct zsp_actor_s;
7
+ struct zsp_frame_s;
8
+ struct zsp_thread_s;
9
+
10
+ typedef struct zsp_api_s {
11
+ void (*print)(struct zsp_api_s *self, const char *fmt, ...);
12
+
13
+ // zsp_task_func write64;
14
+ // zsp_task_func write32;
15
+ // zsp_task_func write16;
16
+ // zsp_task_func write8;
17
+
18
+ // zsp_task_func read64;
19
+ // zsp_task_func read32;
20
+ // zsp_task_func read16;
21
+ // zsp_task_func read8;
22
+
23
+ } zsp_api_t;
24
+
25
+ #endif /* INCLUDED_ZSP_API_H */
@@ -2,19 +2,27 @@
2
2
  #define INCLUDED_ZSP_COMPONENT_H
3
3
  #include <stdint.h>
4
4
  #include "zsp/be/sw/rt/zsp_alloc.h"
5
- #include "zsp/be/sw/rt/zsp_object.h"
5
+ #include "zsp/be/sw/rt/zsp_struct.h"
6
6
 
7
7
  #ifdef _cplusplus
8
8
  extern "C" {
9
9
  #endif
10
10
 
11
11
  struct zsp_component_s;
12
+ struct zsp_actor_s;
13
+
14
+ typedef void (*zsp_component_init_f)(
15
+ struct zsp_actor_s *actor,
16
+ struct zsp_component_s *comp,
17
+ const char *name,
18
+ struct zsp_component_s *parent);
12
19
 
13
20
  typedef struct zsp_component_type_s {
14
- zsp_object_type_t __base;
21
+ zsp_object_type_t __base;
22
+ zsp_component_init_f init;
23
+
24
+ zsp_solve_exec_f do_init;
15
25
 
16
- void (*init_down)(struct zsp_component_s *comp);
17
- void (*init_up)(struct zsp_component_s *comp);
18
26
  } zsp_component_type_t;
19
27
 
20
28
  typedef struct zsp_component_s {
@@ -27,7 +35,7 @@ typedef struct zsp_component_s {
27
35
  } zsp_component_t;
28
36
 
29
37
  void zsp_component_init(
30
- zsp_alloc_t *alloc,
38
+ struct zsp_actor_s *actor,
31
39
  zsp_component_t *comp,
32
40
  const char *name,
33
41
  zsp_component_t *parent);
@@ -35,9 +43,7 @@ void zsp_component_init(
35
43
  zsp_component_type_t *zsp_component__type();
36
44
 
37
45
  #define zsp_component_type(comp) \
38
- ((zsp_component_type_t *)((comp)->base.type))
39
-
40
- void zsp_component_do_init(zsp_component_t *comp);
46
+ ((zsp_component_type_t *)zsp_object_type(comp))
41
47
 
42
48
  #ifdef _cplusplus
43
49
  }
@@ -0,0 +1,13 @@
1
+
2
+ #ifndef INCLUDED_ZSP_EXECUTOR_H
3
+ #define INCLUDED_ZSP_EXECUTOR_H
4
+ #include "zsp/be/sw/rt/zsp_component.h"
5
+
6
+ struct zsp_actor_s;
7
+
8
+ typedef struct zsp_executor_s {
9
+ zsp_component_t super;
10
+
11
+ } zsp_executor_t;
12
+
13
+ #endif /* INCLUDED_ZSP_EXECUTOR_H */
@@ -24,6 +24,9 @@ typedef struct zsp_object_s {
24
24
 
25
25
  zsp_object_type_t *zsp_object__type(void);
26
26
 
27
+ #define zsp_object_type(obj) \
28
+ ((zsp_object_type_t *)(((zsp_object_t *)(obj))->type))
29
+
27
30
 
28
31
  #ifdef __cplusplus
29
32
  }
@@ -33,6 +33,8 @@ typedef struct zsp_struct_s {
33
33
  #define zsp_struct_post_solve(actor, this_p) \
34
34
  zsp_struct_call(post_solve, actor, this_p)
35
35
 
36
+ void zsp_struct_init(struct zsp_actor_s *actor, struct zsp_struct_s *this_p);
37
+
36
38
  #ifdef __cplusplus
37
39
  }
38
40
  #endif
@@ -1,3 +1,6 @@
1
+ #ifndef INCLUDED_ZSP_THREAD_H
2
+ #define INCLUDED_ZSP_THREAD_H
3
+
1
4
  #include <stdint.h>
2
5
  #include <stdarg.h>
3
6
  #include "zsp_alloc.h"
@@ -11,10 +14,10 @@ extern "C" {
11
14
 
12
15
  struct zsp_thread_s;
13
16
 
14
- typedef struct zsp_frame_s *(zsp_task_func)(struct zsp_thread_s *, struct zsp_frame_s *, va_list *args);
17
+ typedef struct zsp_frame_s *(*zsp_task_func)(struct zsp_thread_s *, struct zsp_frame_s *, va_list *args);
15
18
 
16
19
  typedef struct zsp_frame_s {
17
- zsp_task_func *func;
20
+ zsp_task_func func;
18
21
  struct zsp_frame_s *prev;
19
22
  uint32_t sz;
20
23
  int32_t idx;
@@ -48,16 +51,19 @@ typedef struct zsp_scheduler_s {
48
51
  } zsp_scheduler_t;
49
52
 
50
53
  void zsp_scheduler_init(zsp_scheduler_t *sched, zsp_alloc_t *alloc);
51
- zsp_thread_t *zsp_scheduler_create_thread(zsp_scheduler_t *sched, zsp_task_func *func, ...);
54
+ zsp_thread_t *zsp_scheduler_create_thread(zsp_scheduler_t *sched, zsp_task_func func, ...);
52
55
  int zsp_scheduler_run(zsp_scheduler_t *sched);
53
- zsp_thread_t *zsp_thread_create(zsp_alloc_t *alloc, zsp_task_func *func, ...);
54
- zsp_frame_t *zsp_thread_alloc_frame( zsp_thread_t *thread, uint32_t sz, zsp_task_func *func);
56
+ zsp_thread_t *zsp_thread_create(zsp_alloc_t *alloc, zsp_task_func func, ...);
57
+ zsp_frame_t *zsp_thread_alloc_frame( zsp_thread_t *thread, uint32_t sz, zsp_task_func func);
55
58
  zsp_frame_t *zsp_thread_suspend(zsp_thread_t *thread, zsp_frame_t *frame);
56
59
  zsp_frame_t *zsp_thread_return(zsp_thread_t *thread, zsp_frame_t *frame, uintptr_t ret);
57
- zsp_frame_t *zsp_thread_call(zsp_thread_t *thread, zsp_task_func *func, ...);
60
+ zsp_frame_t *zsp_thread_call(zsp_thread_t *thread, zsp_task_func func, ...);
58
61
  zsp_frame_t *zsp_thread_run(zsp_thread_t *thread);
59
62
  void zsp_thread_free(zsp_thread_t *thread);
60
63
 
61
64
  #ifdef __cplusplus
62
65
  }
63
66
  #endif
67
+
68
+ #endif /* INCLUDED_ZSP_THREAD_H */
69
+
@@ -12,4 +12,5 @@ typedef enum {
12
12
  } zsp_bool_t;
13
13
  #endif
14
14
 
15
+
15
16
  #endif /* INCLUDED_ZSP_TYPES_H */
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zuspec-be-sw
3
- Version: 0.1.0.15232861757rc0
3
+ Version: 0.1.0.15241525918rc0
4
4
  Summary: Backend library to generate software output
5
5
  Home-page: https://github.com/zuspec/zuspec-be-sw
6
6
  Author: Matthew Ballance
@@ -1,8 +1,8 @@
1
- zsp_be_sw/__build_num__.py,sha256=30JOwx-5t6scOcPyYT80eOJddpa6UUQEFgc7PpDEwgo,22
1
+ zsp_be_sw/__build_num__.py,sha256=TxVmbJk_4N2zFtDXtj4gRnQvKjJ6xdkWFLlVSm0-iaw,22
2
2
  zsp_be_sw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- zsp_be_sw/__version__.py,sha256=uOvOKUMv_1nTNGe6Gp5T78D8HYoLr4QSplF59goQFZM,69
3
+ zsp_be_sw/__version__.py,sha256=cS91SX6Kpka-lHWNRKmzWm24MI56O3CFhYDFiq_HQGY,69
4
4
  zsp_be_sw/core.cpython-312-x86_64-linux-gnu.so,sha256=j6GYuuplxy6Mvg5cJAbOyOtkilKIxbimNQh65Hhd3N8,1734560
5
- zsp_be_sw/libzsp-be-sw.so,sha256=vZ5Ymw9cArhROwX--4DXDW2D93UXqemaV2VGwl32Oqg,3865152
5
+ zsp_be_sw/libzsp-be-sw.so,sha256=n2z3rnT84hndEf_3WhTgUZpG7Kmy5Uy5sQJ_fa9VXu0,3986048
6
6
  zsp_be_sw/share/include/zsp/be/sw/FactoryExt.h,sha256=zzqqdoxxJIQhsDb-cDT4vJBqhYC8XJpq1ZEN48FX2z0,100
7
7
  zsp_be_sw/share/include/zsp/be/sw/IContext.h,sha256=5S7rVTz-Itsuleraru7iEC8KZUU0cRK-LD_v0bsX114,2481
8
8
  zsp_be_sw/share/include/zsp/be/sw/IFactory.h,sha256=eyDpv3rpvvXxWLTnnIlNiYfxMzQzX1OzIDmEdBn4GQg,3118
@@ -16,18 +16,21 @@ zsp_be_sw/share/include/zsp/be/sw/INameMap.h,sha256=W_YrhZ1YbSgG9FrEuPRD6sadroND
16
16
  zsp_be_sw/share/include/zsp/be/sw/IOutput.h,sha256=Im0xoATfu_xOobUzfTOmM0ROuXO8w9-VMr0BXVKJRmQ,1727
17
17
  zsp_be_sw/share/include/zsp/be/sw/IOutputStr.h,sha256=exVx0hu40uMci_GVP9TCyhVsMFC6DLDRrrpUVwu0SH8,991
18
18
  zsp_be_sw/share/include/zsp/be/sw/impl/MethodCallFactoryAssocDataBase.h,sha256=RdRdW7nWYgd7h_wzCeVDLM3xLlzgZ8m0hc9fbdyK9U8,1395
19
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor.h,sha256=l58S-j9j2psbpDs-P816hi_qKNB10toYyY9iEILdnj8,388
20
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor_base.h,sha256=WuZYe8Dg8VPesRzvYjASLCaa3RKzp2wqQtVpnit7nYU,563
21
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_alloc.h,sha256=D2o3MNdjnufmQr5Dfz-PA34Fa054nckkM8rR0sfO2xY,388
22
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_component.h,sha256=bJLmmepUitM2b6rA-Kp3ih0_Fw9mlLmW1Z7iHHKrys8,1065
23
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_object.h,sha256=mlX6ZZILj-NsIKJR1NSE3kgY8P2ZIccHsbaHikTW-xI,613
19
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_action.h,sha256=xFTX0pZg5t8wWmk9Nza1_zun2ACgtOcRl7CQ_bVoTSI,538
20
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor.h,sha256=8CAGk4jMNIuXDyYsCDC0WWrjEPj5yYEoslzPPVNRvH4,936
21
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor_base.h,sha256=AOlsXmnfmKQTIz-Qtx_CGxIM5mRXs92NyDIKYhRUJEw,600
22
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_alloc.h,sha256=DzPRmm1n8SgurZWVY2yQqz2dYaUZH7LJ69Ml17EdkU0,481
23
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_api.h,sha256=_LDHsT1TkSuwaWS_0_kZWZYsIWelvGjqB_miBzBV0N0,582
24
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_component.h,sha256=ARCURJg5it9nxY4DmqAgeeMR4998oKV8vPmIUnJKNgg,1171
25
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_executor.h,sha256=xjZqwENgaj1hHrPcDVdgbKlQ236JWslsd40nygeUvok,246
26
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_object.h,sha256=qImwPUe0fW6Eropd1im3PvlmAUnx9NjWhIUP1LvmHQM,704
24
27
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_rt.h,sha256=sVJjb90VQdfoMc6UAgaKJXVKX2y7GVCKO-4L7aNU6iU,195
25
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_struct.h,sha256=taYoX0sxOHaGx9-hC77rTX5wnyUNJ1oEroURLm1NNBI,926
26
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_thread.h,sha256=E-LbZAcQaTdJBcgfAa4H_X6KgwB7kMw135-M-x63xK4,1986
27
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_types.h,sha256=aIrwZ-3VeBqYHO92WCOMgIxy9TEUTcW2wjVbn64-p7g,233
28
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_struct.h,sha256=wBrO90eQbD7NqPET5AXexl0EvOpjsE1pvvznWkQQFhU,1005
29
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_thread.h,sha256=bIfYO3kyr8bFNJkC3wz2c7i7UthaMoP3z_BOxjw59TI,2080
30
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_types.h,sha256=uv2slA7oFDPu8ovQYIKKXIzqtlr9CZr8QI4dduT5Drg,234
28
31
  zsp_be_sw/share/include/zsp/esw/zsp_esw_support.h,sha256=5hpBmWfy9cN0fg4g7ZM9uyZCxjCuJzW0T_KFMv5pwug,995
29
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/METADATA,sha256=g27KjivGhHaMkzlxf3liDVhA7Tio5ZJ7V4MR6FBHKzc,672
30
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/WHEEL,sha256=sVGj-kHh_JKDgXkclC3-AtKJtj6NU6OyMOGeNZSKtcw,113
31
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/top_level.txt,sha256=F69v5yvtf2MTsB19kN7iCBNm1-HkyITrIjM7enDpIh8,10
32
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/RECORD,,
33
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
+ zuspec_be_sw-0.1.0.15241525918rc0.dist-info/METADATA,sha256=Gg-7wCH4O3uAt3FuQ8iI7IMRA0mJXgfKJs4q3VF5x2g,672
33
+ zuspec_be_sw-0.1.0.15241525918rc0.dist-info/WHEEL,sha256=sVGj-kHh_JKDgXkclC3-AtKJtj6NU6OyMOGeNZSKtcw,113
34
+ zuspec_be_sw-0.1.0.15241525918rc0.dist-info/top_level.txt,sha256=F69v5yvtf2MTsB19kN7iCBNm1-HkyITrIjM7enDpIh8,10
35
+ zuspec_be_sw-0.1.0.15241525918rc0.dist-info/RECORD,,
36
+ zuspec_be_sw-0.1.0.15241525918rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357