fmcadc4: Changed the SPI CS address similar to previous version
parent
c949482574
commit
1de74c0267
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue