Changeset 92
- Timestamp:
- Mar 12, 2010, 11:34:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/uwt_bior31.v
r90 r92 15 15 localparam index2 = 2 << (L - 1); 16 16 localparam index3 = 3 << (L - 1); 17 localparam peak_index = ((index3 + 1) >> 1) + 1; 17 localparam index4 = index3 + 1; 18 localparam peak_index = ((index3 + 1) >> 1) + 2; 18 19 localparam peak_shift = ((L - 1) << 1) + (L - 1); 19 20 localparam zero = 32'h80000000; 20 21 21 22 // Tapped delay line 22 reg [31:0] tap [index 3:0];23 reg [31:0] tap [index4:0]; 23 24 24 25 reg [31:0] d_reg, d_next; … … 49 50 more_reg <= 1'b0; 50 51 51 for(i = 0; i <= index 3; i = i + 1)52 for(i = 0; i <= index4; i = i + 1) 52 53 begin 53 54 tap[i] <= 0; … … 69 70 70 71 // Tapped delay line: shift one 71 for(i = 0; i < index 3; i = i + 1)72 for(i = 0; i < index4; i = i + 1) 72 73 begin 73 74 tap[i+1] <= tap[i];
Note:
See TracChangeset
for help on using the changeset viewer.