Generation working and Compilation of MARTe components

This commit is contained in:
ferrog
2025-05-13 16:03:11 +00:00
parent 3a5e378d99
commit 4faee3802a
1571 changed files with 611466 additions and 0 deletions

View File

@@ -0,0 +1,103 @@
#test configuration file2,,,,,,
#Time,MHVPS,BPS,APS,MC,GC,FHPS
0,60,45,10,10,10,10
10,55,40,9,9,9,9
20,50,35,8,8,8,8
30,45,30,7,7,7,7
40,40,25,6,6,6,6
50,35,20,5,5,5,5
60,30,15,4,4,4,4
70,25,10,3,3,3,3
80,20,5,2,2,2,2
90,15,0,1,1,1,1
100,10,-5,0,0,0,0
110,5,0,1,1,1,1
120,0,5,2,2,2,2
130,-5,10,3,3,3,3
140,0,15,4,4,4,4
150,5,20,5,5,5,5
160,10,25,6,6,6,6
170,15,30,7,7,7,7
180,20,35,8,8,8,8
190,25,40,9,9,9,9
200,30,45,10,10,10,10
210,35,40,11,9,9,9
220,40,35,12,8,8,8
230,45,30,11,7,7,7
240,50,25,10,6,6,6
250,55,20,9,5,5,5
260,60,15,8,4,4,4
270,55,10,7,3,3,3
280,50,5,6,2,2,2
290,45,0,5,1,1,1
300,40,-5,4,0,0,0
310,35,0,3,1,1,1
320,30,5,2,2,2,2
330,25,10,1,3,3,3
340,20,15,0,4,4,4
350,15,20,1,5,5,5
360,10,25,2,6,6,6
370,5,30,3,7,7,7
380,0,35,4,8,8,8
390,-5,40,5,9,9,9
400,0,45,6,10,10,10
410,5,40,7,9,9,9
420,10,35,8,8,8,8
430,15,30,9,7,7,7
440,20,25,10,6,6,6
450,25,20,11,5,5,5
460,30,15,12,4,4,4
470,35,10,11,3,3,3
480,40,5,10,2,2,2
490,45,0,9,1,1,1
500,50,-5,8,0,0,0
510,55,0,7,1,1,1
520,60,5,6,2,2,2
530,55,10,5,3,3,3
540,50,15,4,4,4,4
550,45,20,3,5,5,5
560,40,25,2,6,6,6
570,35,30,1,7,7,7
580,30,35,0,8,8,8
590,25,40,1,9,9,9
600,20,45,2,10,10,10
610,15,40,3,9,9,9
620,10,35,4,8,8,8
630,5,30,5,7,7,7
640,0,25,6,6,6,6
650,-5,20,7,5,5,5
660,0,15,8,4,4,4
670,5,10,9,3,3,3
680,10,5,10,2,2,2
690,15,0,11,1,1,1
700,20,-5,12,0,0,0
710,25,0,11,1,1,1
720,30,5,10,2,2,2
730,35,10,9,3,3,3
740,40,15,8,4,4,4
750,45,20,7,5,5,5
760,50,25,6,6,6,6
770,55,30,5,7,7,7
780,60,35,4,8,8,8
790,55,40,3,9,9,9
800,50,45,2,10,10,10
810,45,40,1,9,9,9
820,40,35,0,8,8,8
830,35,30,1,7,7,7
840,30,25,2,6,6,6
850,25,20,3,5,5,5
860,20,15,4,4,4,4
870,15,10,5,3,3,3
880,10,5,6,2,2,2
890,5,0,7,1,1,1
900,0,-5,8,0,0,0
910,-5,0,9,1,1,1
920,0,5,10,2,2,2
930,5,10,11,3,3,3
940,10,15,12,4,4,4
950,15,20,11,5,5,5
960,20,25,10,6,6,6
970,25,30,9,7,7,7
980,30,35,8,8,8,8
990,35,40,7,9,9,9
1000,40,45,6,10,10,10

View File

@@ -0,0 +1,51 @@
#!/usr/bin/python
import time
import sys
import subprocess
import test_async
import test_sync
import test_ready_hw
import test_setup_hw
import test_standby_hw
import test_ready
import test_setup
import test_standby
""""
Test GYB operation with Async mode.
This code can be executed when WaitPermit state.
"""
# turn on permit
print '2.. set PulseLengthLimitMode to 1 flag'
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-MD1.SVAL 1', shell = True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-MD1 1', shell = True)
res = subprocess.call('caput EC-GN-P01-GPF:STAT-MD1-LIM 1000000', shell = True)
time.sleep(1)
print '3. Write PERMIT'
#res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM.SCAN Passive', shell=True)
#res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM.SIML ', shell=True)
#res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM.SIMM 1', shell=True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM.SVAL 1', shell=True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM 1', shell=True)
time.sleep(1)
# trun on HVON trigger
print '4. Write HVON'
#res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R.SCAN Passive', shell=True)
#res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R.SIML ', shell=True)
#res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R.SIMM 1', shell=True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R.SVAL 1', shell=True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R 1', shell=True) #HVON signal from PLC
time.sleep(11)
print '5. Confirm generated pulse'
print '6. Reset HVON'
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R.SVAL 0', shell=True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-YTS-ST3R 0', shell=True)
time.sleep(1)
print '7. Reset PERMIT'
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM.SVAL 0', shell=True)
res = subprocess.call('caput EC-GN-P01-GPS:PLC4110-CON-GY2PRM 0', shell=True)
print "end of async, non-prepro mode test!"