Changeset 103 for trunk/MultiChannelUSB/oscilloscope.v
- Timestamp:
- Mar 29, 2010, 5:27:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/oscilloscope.v
r96 r103 7 7 input wire trg_flag, 8 8 9 input wire [ 47:0] osc_data,9 input wire [63:0] osc_data, 10 10 11 11 output wire ram_wren, … … 22 22 23 23 24 reg [ 47:0] osc_data_reg, osc_data_next;24 reg [63:0] osc_data_reg, osc_data_next; 25 25 26 26 reg [2:0] int_case_reg, int_case_next; … … 63 63 if (reset) 64 64 begin 65 osc_data_reg <= 48'd0;65 osc_data_reg <= 64'd0; 66 66 ram_addr_reg <= 20'd0; 67 67 bus_miso_reg <= 16'd0; … … 227 227 ram_addr_next = ram_addr_reg + 20'd1; 228 228 ram_wren_next[0] = 1'b1; 229 ram_data_next[0] = 18'd0;229 ram_data_next[0] = {osc_data_reg[63:56], 1'b0, osc_data_reg[55:48], 1'b0}; 230 230 if (|int_cntr_reg[0]) 231 231 begin
Note:
See TracChangeset
for help on using the changeset viewer.