Changeset 72 for trunk/MultiChannelUSB/oscilloscope.v
- Timestamp:
- Nov 25, 2009, 11:02:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/oscilloscope.v
r52 r72 2 2 ( 3 3 input wire clk, reset, 4 input wire data_ready, 5 input wire [15:0] raw_data, uwt_data, threshold,4 input wire data_ready, trigger, 5 input wire [15:0] data, 6 6 input wire [9:0] address, 7 7 output wire [9:0] start_address, … … 24 24 wire [15:0] data_wire; 25 25 26 assign data_wire = (flag_reg) ? raw_data : data_reg;26 assign data_wire = (flag_reg) ? data : data_reg; 27 27 28 28 altsyncram #( … … 159 159 state_next = 4'd2; 160 160 161 if ((~trig_reg) 162 & (counter_reg == 10'd512) 163 & (uwt_data >= threshold)) 161 if ((~trig_reg) & (trigger) 162 & (counter_reg == 10'd512)) 164 163 begin 165 164 // trigger
Note:
See TracChangeset
for help on using the changeset viewer.