Use uppercase for the global riscv.ISA constant.

This commit is contained in:
Jakob Stoklund Olesen
2016-11-11 11:17:40 -08:00
parent 5e4602efb4
commit 581294dafe
4 changed files with 8 additions and 8 deletions

View File

@@ -7,8 +7,8 @@ from __future__ import absolute_import
from cdsl.isa import TargetISA, CPUMode
import base.instructions
isa = TargetISA('riscv', [base.instructions.GROUP])
ISA = TargetISA('riscv', [base.instructions.GROUP])
# CPU modes for 32-bit and 64-bit operation.
RV32 = CPUMode('RV32', isa)
RV64 = CPUMode('RV64', isa)
RV32 = CPUMode('RV32', ISA)
RV64 = CPUMode('RV64', ISA)