diff options
author | Achilleas Anastasopoulos <anastas@umich.edu> | 2011-06-12 17:05:46 -0400 |
---|---|---|
committer | Achilleas Anastasopoulos <anastas@umich.edu> | 2011-06-12 17:05:46 -0400 |
commit | a8a9f157e738461dec3a969992b6ec7bcc0b01f0 (patch) | |
tree | 473c1c570e415f01551e307f24d9c2593c7a1cc8 /gr-trellis/grc/trellis_encoder_xx.xml | |
parent | f0143c5d557ca7e4bf05c26f410da13520df91e5 (diff) |
Moved grc files from grc/block to gr-trellis/grc
Diffstat (limited to 'gr-trellis/grc/trellis_encoder_xx.xml')
-rw-r--r-- | gr-trellis/grc/trellis_encoder_xx.xml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/gr-trellis/grc/trellis_encoder_xx.xml b/gr-trellis/grc/trellis_encoder_xx.xml new file mode 100644 index 0000000000..6d7ef122ec --- /dev/null +++ b/gr-trellis/grc/trellis_encoder_xx.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Trellis Encoder +################################################### + --> + +<category>Trellis</category> + +<block> + <name>Trellis Encoder</name> + <key>trellis_encoder_xx</key> + <import>from gnuradio import trellis</import> + <make>trellis.encoder_$(type)(trellis.fsm($fsm_args), $init_state)</make> + <param> + <name>Type</name> + <key>type</key> + <type>enum</type> + <option> + <name>Byte->Byte</name> + <key>bb</key> + <opt>input:byte</opt> + <opt>output:byte</opt> + </option> + <option> + <name>Byte->Short</name> + <key>bs</key> + <opt>input:byte</opt> + <opt>output:short</opt> + </option> + <option> + <name>Byte->Int</name> + <key>bi</key> + <opt>input:byte</opt> + <opt>output:int</opt> + </option> + <option> + <name>Short->Short</name> + <key>ss</key> + <opt>input:short</opt> + <opt>output:short</opt> + </option> + <option> + <name>Short->Int</name> + <key>si</key> + <opt>input:short</opt> + <opt>output:int</opt> + </option> + <option> + <name>Int->Int</name> + <key>ii</key> + <opt>input:int</opt> + <opt>output:int</opt> + </option> + </param> + <param> + <name>FSM Args</name> + <key>fsm_args</key> + <type>raw</type> + </param> + <param> + <name>Initial State</name> + <key>init_state</key> + <type>int</type> + </param> + <sink> + <name>in</name> + <type>$type.input</type> + </sink> + <source> + <name>out</name> + <type>$type.output</type> + </source> + <doc> +The fsm arguments are passed directly to the trellis.fsm() constructor. + </doc> +</block> |