Rev 186 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 186 | Rev 188 | ||
---|---|---|---|
Line 144... | Line 144... | ||
144 | if( !rst_n ) |
144 | if( !rst_n ) |
145 | begin |
145 | begin |
146 | ctr_5 <= 3'd0; |
146 | ctr_5 <= 3'd0; |
147 | end |
147 | end |
148 | else if( wr_start || rd_start ) |
148 | else if( wr_start || rd_start ) |
149 | ctr_5 <= 3'd4; |
149 | ctr_5 <= 3'd3; |
150 | else if( ctr_5 ) |
150 | else if( ctr_5 ) |
151 | ctr_5 <= ctr_5 - 3'd1; |
151 | ctr_5 <= ctr_5 - 3'd1; |
152 | 152 | ||
153 | 153 | ||
154 | // buffered chipselects |
154 | // buffered chipselects |