From: Florent Kermarrec Date: Mon, 22 Jan 2018 23:35:20 +0000 (+0100) Subject: minor cleanup X-Git-Tag: 24jan2021_ls180~1753 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67f8718b26b0efdbabb57e1e76cd4fae4fe08268;p=litex.git minor cleanup --- diff --git a/litex/soc/integration/builder.py b/litex/soc/integration/builder.py index 066c847a..7be7d4e5 100644 --- a/litex/soc/integration/builder.py +++ b/litex/soc/integration/builder.py @@ -162,8 +162,8 @@ class Builder: if self.gateware_toolchain_path is not None: toolchain_path = self.gateware_toolchain_path - if 'run' not in kwargs: - kwargs['run'] = self.compile_gateware + if "run" not in kwargs: + kwargs["run"] = self.compile_gateware vns = self.soc.build(build_dir=os.path.join(self.output_dir, "gateware"), toolchain_path=toolchain_path, **kwargs) return vns diff --git a/litex/soc/software/include/base/irq.h b/litex/soc/software/include/base/irq.h index a042384c..5f8c36d7 100644 --- a/litex/soc/software/include/base/irq.h +++ b/litex/soc/software/include/base/irq.h @@ -10,7 +10,7 @@ extern "C" { // instructions. It also doesn't have a global interrupt enable/disable, so // we have to emulate it via saving and restoring a mask and using 0/~1 as a // hardware mask. -// Due to all this somewhat low-level mess, all of the glue is implementein +// Due to all this somewhat low-level mess, all of the glue is implemented in // the RiscV crt0, and this header is kept as a thin wrapper. Since interrupts // managed by this layer, do not call interrupt instructions directly, as the // state will go out of sync with the hardware.