From: Luke Kenneth Casson Leighton Date: Wed, 13 Mar 2019 07:31:58 +0000 (+0000) Subject: move comments to docstring block X-Git-Tag: div_pipeline~2298 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4ff36102d5ffbb29c6740270ca4a59a8c50895b;p=soc.git move comments to docstring block --- diff --git a/TLB/src/TLB.py b/TLB/src/TLB.py index 58379586..47381364 100644 --- a/TLB/src/TLB.py +++ b/TLB/src/TLB.py @@ -1,13 +1,16 @@ +""" TLB Module + + The expected form of the data is: + * Item (Bits) + * Tag (N - 79) / ASID (78 - 64) / PTE (63 - 0) +""" + from nmigen import Memory, Module, Signal from nmigen.cli import main from PermissionValidator import PermissionValidator from Cam import Cam -# The expected form of the data is -# Item (Bits) -# Tag (N - 79) / ASID (78 - 64) / PTE (63 - 0) - class TLB(): def __init__(self, asid_size, vma_size, pte_size): """ Arguments