Changeset 52 for trunk/MultiChannelUSB/oscilloscope.v
- Timestamp:
- Sep 17, 2009, 6:31:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/oscilloscope.v
r51 r52 47 47 .width_byteena_a(1)) osc_ram_unit( 48 48 .wren_a(wren_reg), 49 .clock0( ~clk),49 .clock0(clk), 50 50 .address_a(addr_reg), 51 51 .address_b(address), … … 117 117 addr_next = 10'd0; 118 118 data_next = 16'd0; 119 trig_next = 1'b0;120 trig_addr_next = 10'd0;121 119 counter_next = 10'd0; 122 120 end … … 184 182 addr_next = 10'd0; 185 183 data_next = 16'd0; 186 trig_next = 1'b0;187 trig_addr_next = 10'd0;188 184 counter_next = 10'd0; 189 185 end … … 193 189 // output logic 194 190 assign q = q_wire; 195 assign start_address = trig_reg ? trig_addr_reg ^ 10'h200: addr_reg + 10'd1;191 assign start_address = trig_reg ? (trig_addr_reg ^ 10'h200) + 10'd1: addr_reg + 10'd1; 196 192 197 193 endmodule
Note:
See TracChangeset
for help on using the changeset viewer.