xml -> yaml
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# auto-generated by grc.converter
|
||||
|
||||
id: foo_packet_pad2
|
||||
label: Packet Pad2
|
||||
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_pad2(${debug}, ${delay}, ${delay_sec}, ${pad_front}, ${pad_tail})
|
||||
|
||||
file_format: 1
|
||||
Reference in New Issue
Block a user