- Timestamp:
- Mar 12, 2010, 11:55:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/adc_lvds.v
r72 r98 14 14 wire [size-1:0] int_data_h, int_data_l; 15 15 reg [width-1:0] int_data_next [size-1:0]; 16 // reg [2*width:0] int_data_next [size-1:0]; 16 17 reg [width-1:0] int_data_reg [size-1:0]; 18 // reg [2*width:0] int_data_reg [size-1:0]; 17 19 18 20 reg [width-1:0] int_adc_data [size-1:0]; … … 24 26 .intended_device_family("Cyclone III"), 25 27 .invert_input_clocks("ON"), 28 // .invert_input_clocks("OFF"), 26 29 .lpm_type("altddio_in"), 27 30 .width(size)) altddio_in_unit ( … … 49 52 begin 50 53 int_adc_data[i] <= int_data_next[i]; 54 // int_data_next[i] = {int_data_reg[i][2*width-2:0], int_data_l[i], int_data_h[i]}; 51 55 end 52 56 end … … 56 60 for (i = 0; i < size; i = i + 1) 57 61 begin 58 int_data_next[i] = {int_data_reg[i][9:0], int_data_l[i], int_data_h[i]}; 62 int_data_next[i] = {int_data_reg[i][width-3:0], int_data_l[i], int_data_h[i]}; 63 // int_data_next[i] = {int_data_reg[i][2*width-2:0], int_data_l[i], int_data_h[i]}; 59 64 end 60 65 end
Note:
See TracChangeset
for help on using the changeset viewer.