Beispiel #1
0
def run_sim(ci=False):
    # add third-party modules via extra_cmds, eg. "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v"
    extra_cmds = ['cd run && xvlog -sv ../aes/prim_assert.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_pkg.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_reg_pkg.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_cipher_control.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_cipher_core.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_control.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_core.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_ctr.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_key_expand.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_mix_columns.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_mix_single_column.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_pkg.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_prng.sv']
    #extra_cmds += ['cd run && xvlog ../aes/aes_reg_top.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_sbox_canright.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_sbox_lut.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_sbox.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_shift_rows.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/aes_sub_bytes.sv']
    #extra_cmds += ['cd run && xvlog -sv ../aes/aes.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/prim_cipher_pkg.sv']
    extra_cmds += ['cd run && xvlog -sv ../aes/prim_lfsr.sv']
    extra_cmds += ['cd run && xvlog -sv ../../../gateware/aes_reg_litex.sv']
    SimRunner(ci, extra_cmds)
Beispiel #2
0
def run_sim(ci=False):
    extra_cmds = [
        "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v",
        "cd run && xvlog ../../../gateware/spimemio.v",
        "cd run && xvlog ../IDELAYE2.v", "cd run && xvlog ../BUFR.v"
    ]
    SimRunner(ci, extra_cmds)
Beispiel #3
0
def run_sim(ci=False):
    # add third-party modules via extra_cmds, eg. "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v"
    extra_cmds = [
        'cd run && xvlog ../XADC.v',
        'cd run && xvlog ../../../gateware/chacha/chacha_core.v',
        'cd run && xvlog ../../../gateware/chacha/chacha_qr.v'
    ]
    SimRunner(ci, extra_cmds)
Beispiel #4
0
def run_sim(ci=False):
    # add third-party modules via extra_cmds, eg. "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v"
    extra_cmds = ['cd run && xvlog -sv ../hmac/prim_assert.sv']
    extra_cmds += ['cd run && xvlog -sv ../hmac/prim_packer.sv']
    extra_cmds += ['cd run && xvlog -sv ../hmac/hmac_pkg.sv']
    extra_cmds += ['cd run && xvlog -sv ../hmac/hmac_core.sv']
    extra_cmds += ['cd run && xvlog -sv ../hmac/sha2_pad.sv']
    extra_cmds += ['cd run && xvlog -sv ../hmac/sha2.sv']
    extra_cmds += ['cd run && xvlog -sv ../../../gateware/sha2_litex.sv']
    SimRunner(ci, extra_cmds)
Beispiel #5
0
def run_sim(ci=False):
    # add third-party modules via extra_cmds, eg. "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v"
    extra_cmds = []
    SimRunner(ci, extra_cmds)
Beispiel #6
0
def run_sim(ci=False):
    os_cmds = []
    SimRunner(ci, os_cmds)
Beispiel #7
0
def run_sim(ci=False):
    # add third-party modules via extra_cmds, eg. "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v"
    extra_cmds = ['echo "extra commands!"', 'echo "more extra commands!"']
    SimRunner(ci, extra_cmds)
Beispiel #8
0
def run_sim(ci=False):
    # add third-party modules via extra_cmds, eg. "cd run && xvlog ../MX66UM1G45G/MX66UM1G45G.v"
    extra_cmds = []
    SimRunner(ci, extra_cmds, vex_verilog_path=VEX_CPU_PATH)
Beispiel #9
0
def run_sim(ci=False):
    SimRunner(ci, [])