Ignore:
Timestamp:
May 11, 2011, 11:34:02 PM (14 years ago)
Author:
demin
Message:

improve performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/MultiChannelUSB/adc_lvds.v

    r140 r146  
     1
     2(* ALTERA_ATTRIBUTE = {"{-to int_data_p} DDIO_INPUT_REGISTER=HIGH; {-to int_data_n} DDIO_INPUT_REGISTER=LOW"} *)
     3
    14module adc_lvds
    25        #(
     
    108111                int_data_p <= lvds_d;
    109112                int_data_reg <= int_data_wire;
    110                 int_edge_reg <= {int_edge_reg[1:0], lvds_fco};
    111                 if (int_edge_reg[1] & (~int_edge_reg[2]))
     113                int_edge_reg <= {(~int_edge_reg[1]), int_edge_reg[0], lvds_fco};
     114                if (int_edge_reg[1] & int_edge_reg[2])
    112115                begin
    113116                        int_fifo_reg <= int_fifo_wire;
Note: See TracChangeset for help on using the changeset viewer.