From 7ba91561bffd3ba5bc71c3d471562b3391ee72a6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 11 Feb 2019 07:05:32 +0000 Subject: [PATCH] explicit import (no "import *") --- TLB/PermissionValidator.py | 2 +- TLB/TLB.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 -- 2.30.2