Compiler and linker of Sleptsov net program -- To complete the conversion from high-level Sleptsov net (HSN) to low-level Sleptsov net (LSN). Sleptsov nets represent graphical language for concurrent programming. Some transitions in the Sleptsov net (SN) can be substituted by subnets, resulting in a hierarchical Sleptsov net, which we call the high-level Sleptsov net (HSN). In this way, we can facilitate the function extension on the basis of the existingnetmodel. And those nets without transition substitution can be called plain Sleptsov nets or low-level Sleptsov nets (LSNs). However, only LSN can run on SN processors, so we need to convert HSN to LSN.
We list references to components in "Compatibility" section.
-
Use
Tina
nd
as graphical editor and its labels with special syntax (section "Transition substitution label") to specify transition substitution ofHSN
. -
Use
NDRtoSN
to convertNDR
file ofTina
intoHSN
orLSN
. -
Use
HSNtoLSN
to compile and linkHSN
file and mentioned in itLSN
files into a singleLSN
file. -
Run
LSN
file onSN-VM
orSN-VM-GPU
.
Tina
, nd
, and NDR
file format according to https://projects.laas.fr/tina/index.php
NDRtoSN
and transition substitution labels according to https://github.com/dazeorgacm/NDRtoSN
SN-VM
and LSN
file format according to https://github.com/zhangq9919/Sleptsov-net-processor
HSNtoLSN
and HSN
file format according to https://github.com/HfZhao1998/Compiler-and-Linker-of-Sleptsov-net-Program
SN-VM-GPU
and MSN
file format according to https://github.com/tishtri/SN-VM-GPU
HSNtoLSN
file_name.hsn
file_name.lsn
HSNtoLSN.c
is used to complete the conversion.
copy.lsn
, clean_move.lsn
and other modules you need should be in the same directory as the HSNtoLSN.c
file.
New version of file format. Two documents indicate how to define HSN
files and LSN
files.
Generators used to generate HSN
files for testing.
Command line examples:
gen-k-add-hsn 10 add_10.hsn
gen-k-mul-hsn 10 mul_10.hsn
gen-k-matrix-par-hsn 5 matrix_5.hsn
These files show the model graphically. You can download Tina to load the ndr file. http://www.laas.fr/tina
HSN
files are created by three generators, and you can use HSNtoLSN.c
to convert them into LSN
files.
And file matrix_2by2.ndr
corresponds to file matrix_2.hsn
, allowing for a more intuitive observation of its structure.
-
Zaitsev D.A. Sleptsov Nets Run Fast, IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2016, Vol. 46, No. 5, 682 - 693. http://dx.doi.org/10.1109/TSMC.2015.2444414
-
Zaitsev D.A., Jürjens J. Programming in the Sleptsov net language for systems control, Advances in Mechanical Engineering, 2016, Vol. 8(4), 1-11. https://doi.org/10.1177%2F1687814016640159
-
Zaitsev D.A. Universal Sleptsov Net, International Journal of Computer Mathematics, 94(12) 2017, 2396-2408. http://dx.doi.org/10.1080/00207160.2017.1283410
-
Dmitry A. Zaitsev, Strong Sleptsov nets are Turing complete, Information Sciences, Volume 621, 2023, 172-182. https://doi.org/10.1016/j.ins.2022.11.098
-
Qing Zhang, Ding Liu, Yifan Hou, Sleptsov Net Processor, International Conference ”Problems of Infocommunications. Science and Technology” (PICST2022), 10-12 October, 2022, Kyiv, Ukraine.
-
Hongfei Zhao, Ding Liu, Yifan Hou, Compiler and Linker of Sleptsov Net Program,International Conference ”Problems of Infocommunications. Science and Technology” (PICST2022), 10-12 October, 2022, Kyiv, Ukraine.
-
Sleptsov Net Computing Resolves Modern Supercomputing Problems, The April 21, 2023, edition of ACM TechNews, https://technews.acm.org/archives.cfm?fo=2023-04-apr/apr-21-2023.html