Exemplo n.º 1
0
def nftest_start():
    if sim:
        simReg.regWrite(CPCI_Control_reg, 0)
        simReg.regWrite(CPCI_Interrupt_Mask, 0)
        simReg.regDelay(1000)
    else:
        hwPktLib.start()
#        hwRegLib.fpga_reset()
    nftest_barrier()
Exemplo n.º 2
0
def nftest_start():
    if sim:
        simReg.regWrite(CPCI_Control_reg, 0)
        simReg.regWrite(CPCI_Interrupt_Mask, 0)
        simReg.regDelay(1000)
    else:
        hwPktLib.start()
        hwRegLib.fpga_reset()
    nftest_barrier()
Exemplo n.º 3
0
def nftest_start():
    logfile = open(hwlog_path, 'w')
    logfile.write('\
#####################################################################\n\
# This log file is automatically Generated from NetFPGA Hardware Test\n\
# It is a test log for register dump reading, for debug purpose\n\
#####################################################################\n')
    logfile.close()
    if not sim:
        hwPktLib.start()
    nftest_barrier()
Exemplo n.º 4
0
def nftest_start():
    if not sim:
        hwPktLib.start()
    nftest_barrier()
Exemplo n.º 5
0
def nftest_start():
    if not sim:
        hwPktLib.start()
    nftest_barrier()
Exemplo n.º 6
0
def nftest_start():
    if not sim:
        hwPktLib.start()
#        hwRegLib.fpga_reset()
    nftest_barrier()