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] - Blame information for rev 12

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

Line No. Rev Author Line
1 12 dannori
 
2
 
3
module tb_const_encoder();
4
 
5
reg   clk;
6
reg   reset;
7
wire  input_ready_o;
8
reg   we_data_i;
9
 
10
 
11
//
12
// instantiate the DUT
13
// 
14
const_encoder dut ( .clk(clk),
15
                    .reset(reset),
16
                    .input_ready_o(input_ready_o),
17
                    .we_data_i(we_data_i),
18
                    .data_i(data_i),
19
                    .addr_i(addr_i),
20
                    .we_conf_i(we_conf_i),
21
                    .conf_data_i(conf_data_i),
22
                    .xy_ready_o(xy_ready_o),
23
                    .bin_num_o(bin_num_o),
24
                    .x_o(x_o),
25
                    .y_o(y_o));
26
 
27
 
28
 
29
initial begin
30
 
31
  $monitor($time, " clk: ", clk, " reset: ", reset);
32
 
33
  clk   = 0;
34
  reset = 0;
35
 
36
  #50 reset = 1;
37
  #50 reset = 0;
38
 
39
  #1000 $finish();
40
 
41
end
42
 
43
 
44
 
45
 
46
endmodule

powered by: WebSVN 2.1.0

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