Move predicate collection into TargetISA.

Add a TargetISA.finish() method which computes derived data structures after
the ISA definitions have been loaded.
This commit is contained in:
Jakob Stoklund Olesen
2016-08-26 09:31:50 -07:00
parent 0b1aa7c6cd
commit c11d82ea02
3 changed files with 44 additions and 26 deletions

View File

@@ -26,8 +26,7 @@ RV32G / RV64G
"""
from __future__ import absolute_import
from . import defs
from . import encodings
from . import settings
from . import encodings, settings # noqa
# Re-export the primary target ISA definition.
isa = defs.isa
isa = defs.isa.finish()