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()
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()
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()
def nftest_start(): if not sim: hwPktLib.start() nftest_barrier()
def nftest_start(): if not sim: hwPktLib.start() # hwRegLib.fpga_reset() nftest_barrier()