<commit_before>from orpsoc.simulator.icarus import SimulatorIcarus
from orpsoc.simulator.modelsim import Modelsim
def SimulatorFactory(sim,system):
    if sim == 'icarus':
        return SimulatorIcarus(system)
    elif sim == 'modelsim':
        return Modelsim(system)
    else:
        raise Exception<commit_msg>simulator: Register verilator in SimulatorFactory<commit_after>from orpsoc.simulator.icarus import SimulatorIcarus
from orpsoc.simulator.modelsim import Modelsim
from orpsoc.simulator.verilator import Verilator
def SimulatorFactory(sim,system):
    if sim == 'icarus':
        return SimulatorIcarus(system)
    elif sim == 'modelsim':
        return Modelsim(system)
    elif sim == 'verilator':
        return Verilator(system)
    else:
        raise Exception
{'fraction_non_alphanumeric': 0.07958921694480103, 'fraction_numerical': 0.0, 'mean_word_length': 3.968152866242038, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7631914', 'n_tokens_mistral': 240, 'n_tokens_neox': 231, 'n_words': 58}