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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [logic/] [ip/] [uart/] [rtl/] [verilog/] [top.body] - Blame information for rev 131

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

Line No. Rev Author Line
1 131 jt_eaton
assign  txd_break_n  = !txd_break ;
2
 
3
 
4
 
5
always@(posedge clk)
6
  if(reset)            rts_pad_out  <= 1'b0;
7
  else                 rts_pad_out  <= rts_in;
8
 
9
always@(posedge clk)
10
  if(reset)            cts_out      <= 1'b0;
11
  else                 cts_out      <= cts_pad_in;
12
 
13
 
14
 
15
 
16
 
17
generate
18
 
19
if(DIV == 0)
20
  begin
21
assign    baud_clk_div = baud_clk;
22
  end
23
else
24
begin
25
cde_divider_def
26
#(.SIZE(DIV_SIZE))
27
baud_divider  (
28
         .clk             ( clk          ),
29
         .reset           ( reset        ),
30
         .divider_in      ( divider_in   ),
31
         .enable          ( baud_clk     ),
32
         .divider_out     ( baud_clk_div )
33
         );
34
end
35
 
36
endgenerate
37
 
38
 
39
 
40
 
41
 
42
 
43
     always@(*)  xmit_start       = txd_load;
44
     assign fifo_data_out    = txd_data_in;
45
     assign txd_buffer_empty = cde_buffer_empty;
46
 
47
 
48
 
49
 
50
 
51
 

powered by: WebSVN 2.1.0

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