On 11 Apr 2016, at 10:22, msuraev(a)sysmocom.de wrote:
From: Max <msuraev(a)sysmocom.de>
Add python utility to generate .c code with state/output tables for
convolutional encoder/decoder based on polynomial description of the
code. If argument given it'll be interpreted as intended output
directory, otherwise current working directory is used. Note: only
necessary tables are generated. Corresponding header files with actual
osmo_conv_code instance (including puncturing etc) have to be added
manually.
Fixes: OS#1629
---
utils/conv_gen.py | 359 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 359 insertions(+)
create mode 100755 utils/conv_gen.py
diff --git a/utils/conv_gen.py b/utils/conv_gen.py
new file mode 100755
index 0000000..52c1ab3
--- /dev/null
+++ b/utils/conv_gen.py
@@ -0,0 +1,359 @@
+#!/usr/bin/python
+
+license ="""
+/*
+ * Copyright (C) 2011-2016 Sylvain Munaut <tnt(a)246tNt.com>
+ * Copyright (C) 2016 sysmocom s.f.m.c. GmbH
what is yours (sysmocom's) contribution to that file? I assume that Sylvain did most
of the work, it would be nice to have this be reflected in the commit message.
thank you
holger