From 6f0e27e76f5860f228d2d13cbf346d3bd5325219 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 11 Apr 2020 11:41:42 +0100 Subject: [PATCH] add basic comment / docstring on program.py --- src/soc/simulator/program.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/soc/simulator/program.py b/src/soc/simulator/program.py index 9857f037..59590a09 100644 --- a/src/soc/simulator/program.py +++ b/src/soc/simulator/program.py @@ -1,3 +1,9 @@ +"""POWER Program + +takes powerpc assembly instructions and turns them into LE/BE binary +data. calls powerpc64-linux-gnu-as, ld and objcopy to do so. +""" + import tempfile import subprocess import struct -- 2.30.2