fmcadc4: 2014.4 updates

main
Rejeesh Kutty 2015-03-19 16:31:43 -04:00
parent 7e0bfca0c6
commit 1354836799
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
module fmcadc4_spi (
csn,
spi_csn,
spi_clk,
spi_mosi,
spi_miso,
@ -48,7 +48,7 @@ module fmcadc4_spi (
// 4 wire
input [ 6:0] csn;
input [ 2:0] spi_csn;
input spi_clk;
input spi_mosi;
output spi_miso;
@ -70,7 +70,7 @@ module fmcadc4_spi (
// check on rising edge and change on falling edge
assign spi_csn_s = &csn;
assign spi_csn_s = & spi_csn;
assign spi_enable_s = spi_enable & ~spi_csn_s;
always @(posedge spi_clk or posedge spi_csn_s) begin