1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-04-21 12:27:27 +03:00

Adding dual channel to scope example, fixing logic and QT source code.

This commit is contained in:
Juan64Bits
2010-04-09 10:39:15 -05:00
parent 168c584b06
commit beca2e0bd3
36 changed files with 220 additions and 717 deletions

View File

@@ -77,14 +77,14 @@ module ADC(clk, sram_data, addr, nwe, ncs, noe, reset, led, ADC_EOC,
wire [7:0] rdBus0, rdBus1, rdBus2, rdBus3;
assign csN = buffer_addr[12]? (buffer_addr[11]? 4'b1000:
4'b0100)
4'b0100)
: (buffer_addr[11]? 4'b0010:
4'b0001);
4'b0001);
assign rdBus = buffer_addr[12]? (buffer_addr[11]? rdBus3:
rdBus2)
rdBus2)
: (buffer_addr[11]? rdBus1:
rdBus0);
rdBus0);
// Peripheral instantiation
ADC_peripheral P1(