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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user