PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/dvbt/trunk/release/rtl/rtl_top_fold/dvbt_tb_uni.v

http://github.com/zaqwes8811/decoder-reed-solomon
V | 45 lines | 29 code | 3 blank | 13 comment | 0 complexity | 72b529e4adf0ca4d0ed8e238ab3661e0 MD5 | raw file
 1/**
 2  file : dvbt_tb_uni.v
 3  
 4  abs. : ???????? ????? ??? ??????? ???????????
 5  
 6*/
 7
 8`include "vc_top.v"
 9module dvbt_tb_uni;
10  // stimuls //
11  reg clk, rst;
12  wire clk_ena;
13   assign clk_ena = 1;  // ????? ???? ??? ?????????
14
15  /// sinks ///
16  wire clk_ena_low, ecc_master, rs_master;
17  wire [(`WIDTH)-1:0] iword, oword, mask;
18  wire [(`DEGREE_BUS)-1+1:0] numerr;
19  wire [(`WIDTH)-1:0] ipointer, opointer;
20  
21  /// /// DUT /// ///
22  gl_rtl
23    DUT(
24      .clk(clk), .rst(rst),  // global in
25      // enabling
26      .clk_ena(clk_ena),  // global in
27      .clk_ena_low(clk_ena_low),
28      // out. cont.
29      .ecc_master(ecc_master),
30      .rs_master(rs_master),  // 
31      // stream
32      .iword(iword), .oword(oword), .mask(mask),
33      .numerr(numerr),
34      // point.
35	  .ipointer(ipointer),
36      .opointer(opointer));
37  
38  /// /// ///
39  initial begin 
40    clk = 0;  rst = 0;
41    #2; rst = 1;  #3; rst = 0;
42  end
43  // main clk 
44  always #(`hTns) clk = ~clk;  // ???????? ????????? 
45endmodule