URL
https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk
Subversion Repositories qaz_libs
[/] [qaz_libs/] [trunk/] [axi4_stream_lib/] [sim/] [tests/] [legacy/] [tb_axis_to_axi4_basic_dma/] [the_test.sv] - Rev 50
Compare with Previous | Blame | View Log
// --------------------------------------------------------------------//// --------------------------------------------------------------------`timescale 1ps/1psmodulethe_test(input tb_clk,input tb_rst);// --------------------------------------------------------------------//import tb_axis_to_axi4_basic_dma_pkg::*;// --------------------------------------------------------------------//task run_the_test;// --------------------------------------------------------------------// insert test below// --------------------------------------------------------------------$display("^^^---------------------------------");$display("^^^ %16.t | Testbench begun.", $time);$display("^^^---------------------------------");// --------------------------------------------------------------------tb_top.tb.timeout_stop(50us);// --------------------------------------------------------------------wait(tb_top.aresetn);#200ns;// --------------------------------------------------------------------force tb_top.dma_enable = 1;#100ns;// --------------------------------------------------------------------repeat(8)begintb_top.a_h.random_transaction(BASE_ADDRESS, BUFFER_SIZE, N * BURST_LENGTH);tb_top.a_h.compare(BASE_ADDRESS);end// --------------------------------------------------------------------#200ns;// --------------------------------------------------------------------// insert test above// --------------------------------------------------------------------endtask// --------------------------------------------------------------------//endmodule
