From 47148200fda91cc063438019d248e4f72906b306 Mon Sep 17 00:00:00 2001 From: Simon Oberzier Date: Fri, 20 Feb 2026 20:51:56 +0100 Subject: [PATCH] Initial commit --- .gitignore | 1 + lib.py | 42 ++++++++++++++++++ loop.py | 97 +++++++++++++++++++++++++++++++++++++++++ realistic.py | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 260 insertions(+) create mode 100644 .gitignore create mode 100644 lib.py create mode 100644 loop.py create mode 100644 realistic.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..18a7119 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.rtl \ No newline at end of file diff --git a/lib.py b/lib.py new file mode 100644 index 0000000..984c0f5 --- /dev/null +++ b/lib.py @@ -0,0 +1,42 @@ +import struct + +class RTLFWriter: + HEADER_FIXED_FORMAT = "<4sIII" + RECORD_FORMAT = "