52 lines
941 B
YAML
52 lines
941 B
YAML
# 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
|