blob: a26b0ba270ed84d954ab2446b9fe559597586570 [file] [log] [blame]
from unittest.case import TestCase
import vsr
def add_common_options(test):
test.add_runarg("+MODE=cover")
test.add_runarg("+DEPTH=64")
@vsr.test
def i32_btype(test):
# TODO: append test-specific run options, etc
add_common_options(test)
test.add_runarg("+CHECKER=fwrisc_decode_formal_i32_btype_checker")
@vsr.test
def i32_itype():
add_common_options(test)
test.add_runarg("+CHECKER=fwrisc_decode_formal_i32_itype_checker")
@vsr.test
def i32_lui():
add_common_options(test)
test.add_runarg("+CHECKER=fwrisc_decode_formal_i32_lui_checker")
@vsr.test
def i32_rtype():
add_common_options(test)
test.add_runarg("+CHECKER=fwrisc_decode_formal_i32_lui_checker")