- Timestamp:
- May 11, 2011, 11:34:02 PM (14 years ago)
- 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 1 4 module adc_lvds 2 5 #( … … 108 111 int_data_p <= lvds_d; 109 112 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]) 112 115 begin 113 116 int_fifo_reg <= int_fifo_wire;
Note:
See TracChangeset
for help on using the changeset viewer.