summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/props.xml
blob: 0d0078bd63c4ea0c4617a23c63e2ffd4123c1f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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"/>
</model>