blob: dae83f9f61e7bd4dec458fe6391b6aac7f1d5934 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?xml version="1.0"?>
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<transform path="/test/prop1"
register="test_prop1"
unit="C"
read_from_register="(503975./1024000)*${/registers/fpga/reg1} + 28715./100"
description="formula to get real fpga temperature from the fpga_temperature register in decimal"/>
<transform path="/test/prop2"
register="test_prop2"
unit="C"
script="test_prop2.py"
description="test python script #1"
write_verification="0"/>
<transform path="/test/prop3"
register="test_prop3"
unit="C"
script="test_prop3.py"
description="test python script #2"/>
<transform path="/test/prop_mt"
register="test_prop_mt"
unit="C"
script="test_prop_mt.py"
description="Example of thread safe python property"/>
</model>
|