fmcadc4: Changed the SPI CS address similar to previous version

main
Adrian Costina 2015-07-14 11:11:33 +03:00
parent c949482574
commit 1de74c0267
1 changed files with 7 additions and 7 deletions

View File

@ -402,13 +402,13 @@ module system_top (
// spi
assign spi_clk = spi0_clk;
assign ad9528_csn = (spi0_csn == 3'b110) ? 1'b0 : 1'b1;
assign ad9680_1_csn = (spi0_csn == 3'b101) ? 1'b0 : 1'b1;
assign ad9680_2_csn = (spi0_csn == 3'b011) ? 1'b0 : 1'b1;
assign ada4961_1a_csn = (spi0_csn == 3'b000) ? 1'b0 : 1'b1;
assign ada4961_1b_csn = (spi0_csn == 3'b001) ? 1'b0 : 1'b1;
assign ada4961_1c_csn = (spi0_csn == 3'b010) ? 1'b0 : 1'b1;
assign ada4961_1d_csn = (spi0_csn == 3'b100) ? 1'b0 : 1'b1;
assign ad9528_csn = (spi0_csn == 3'b000) ? 1'b0 : 1'b1;
assign ad9680_1_csn = (spi0_csn == 3'b001) ? 1'b0 : 1'b1;
assign ad9680_2_csn = (spi0_csn == 3'b010) ? 1'b0 : 1'b1;
assign ada4961_1a_csn = (spi0_csn == 3'b011) ? 1'b0 : 1'b1;
assign ada4961_1b_csn = (spi0_csn == 3'b100) ? 1'b0 : 1'b1;
assign ada4961_1c_csn = (spi0_csn == 3'b101) ? 1'b0 : 1'b1;
assign ada4961_1d_csn = (spi0_csn == 3'b110) ? 1'b0 : 1'b1;
// instantiations