xml -> yaml

This commit is contained in:
Bastian Bloessl
2018-10-04 09:04:03 +02:00
parent 24914b9391
commit de8b850895
23 changed files with 490 additions and 666 deletions
+51
View File
@@ -0,0 +1,51 @@
# auto-generated by grc.converter
id: foo_packet_pad
label: Packet Pad
category: '[Foo]'
parameters:
- id: debug
label: Debug
dtype: bool
default: 'False'
options: ['True', 'False']
option_labels: [Enable, Disable]
- id: delay
label: Delay
dtype: bool
default: 'False'
options: ['True', 'False']
option_labels: [Enable, Disable]
- id: delay_sec
label: Delay Sec
dtype: real
default: '0.001'
- id: pad_front
label: Pad Front
dtype: int
default: '0'
- id: pad_tail
label: Pad Tail
dtype: int
default: '0'
inputs:
- domain: stream
dtype: complex
multiplicity: '1'
outputs:
- domain: stream
dtype: complex
multiplicity: '1'
asserts:
- ${ pad_front >= 0 }
- ${ pad_tail >= 0 }
- ${ delay_sec > 0 }
templates:
imports: import foo
make: foo.packet_pad(${debug}, ${delay}, ${delay_sec}, ${pad_front}, ${pad_tail})
file_format: 1