OpenCores
URL https://opencores.org/ocsvn/dmt_tx/dmt_tx/trunk

Subversion Repositories dmt_tx

[/] [dmt_tx/] [trunk/] [const_encoder/] [tb/] [tb_const_enc.v] - Rev 12

Go to most recent revision | Compare with Previous | Blame | View Log

 
 
module tb_const_encoder();
 
reg   clk;
reg   reset;
wire  input_ready_o;
reg   we_data_i;
 
 
//
// instantiate the DUT
// 
const_encoder dut ( .clk(clk),
                    .reset(reset),
                    .input_ready_o(input_ready_o),
                    .we_data_i(we_data_i),
                    .data_i(data_i),
                    .addr_i(addr_i),
                    .we_conf_i(we_conf_i),
                    .conf_data_i(conf_data_i),
                    .xy_ready_o(xy_ready_o),
                    .bin_num_o(bin_num_o),
                    .x_o(x_o),
                    .y_o(y_o));
 
 
 
initial begin
 
  $monitor($time, " clk: ", clk, " reset: ", reset);
 
  clk   = 0;
  reset = 0;
 
  #50 reset = 1;
  #50 reset = 0;
 
  #1000 $finish();
 
end
 
 
 
 
endmodule
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.