From: Luke Kenneth Casson Leighton Date: Mon, 11 Feb 2019 07:05:32 +0000 (+0000) Subject: explicit import (no "import *") X-Git-Tag: div_pipeline~2409 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ba91561bffd3ba5bc71c3d471562b3391ee72a6;p=soc.git explicit import (no "import *") --- diff --git a/TLB/PermissionValidator.py b/TLB/PermissionValidator.py index ff1ee472..57cf286d 100644 --- a/TLB/PermissionValidator.py +++ b/TLB/PermissionValidator.py @@ -1,4 +1,4 @@ -from nmigen import Signal, Module +from nmigen import Signal, Module, If, Else from nmigen.cli import main # The purpose of this Module is to check the Permissions of a given PTE diff --git a/TLB/TLB.py b/TLB/TLB.py index c708419b..4727278b 100644 --- a/TLB/TLB.py +++ b/TLB/TLB.py @@ -1,4 +1,4 @@ -from nmigen import * +from nmigen import Signal, Memory, Module, Case, If from nmigen.cli import main from PermissionValidator import PermissionValidator @@ -63,4 +63,3 @@ class TLB(): thing = TLB() print("Gottem") - \ No newline at end of file