File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,6 @@ wire bit_done = ram_rd_st | bit_done_in;
4848wire ram_next = bit_done & (bit_sel == 5'd23 );
4949wire ram_done = (ram_rd_addr == 6'h00 );
5050
51- edge2en bit_rdy_edge (
52- .clk_in (clk_in),
53- .rst_n_in (rst_n_in),
54- .edge_in (bit_rdy),
55- .rising_out (bit_rdy_out)
56- );
57-
5851edge2en ram_rd_en_edge (
5952 .clk_in (clk_in),
6053 .rst_n_in (rst_n_in),
10093 bit_sel <= 5'h00 ;
10194 rst_cnt <= 16'h0000 ;
10295
96+ bit_rdy_out <= 1'b0 ;
10397 bit_data_out <= 1'b0 ;
10498 end else begin
10599 case (ctl_sta)
@@ -123,6 +117,7 @@ begin
123117 bit_sel <= (ctl_sta == SEND_BIT ) ? bit_sel + bit_done : 5'h00 ;
124118 rst_cnt <= (ctl_sta == SEND_RST ) ? rst_cnt + 1'b1 : 16'h0000 ;
125119
120+ bit_rdy_out <= bit_rdy;
126121 bit_data_out <= ram_rd_data[5'd23 - bit_sel];
127122 end
128123end
You can’t perform that action at this time.
0 commit comments