From 2ff542063018007be7a94ddf9b24cc25abec69e1 Mon Sep 17 00:00:00 2001 From: aholtzma Date: Wed, 28 Oct 2020 17:01:32 -0400 Subject: [PATCH] Update system_top.v Add a comment that the spi CS decoding is tied to a setting in the device tree. --- projects/fmcomms8/zcu102/system_top.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/fmcomms8/zcu102/system_top.v b/projects/fmcomms8/zcu102/system_top.v index 93d9b0afb..6e64c0c30 100644 --- a/projects/fmcomms8/zcu102/system_top.v +++ b/projects/fmcomms8/zcu102/system_top.v @@ -158,8 +158,9 @@ module system_top ( wire spi_mosi; wire spi0_miso; + // The csn bus from the SPI controller needs to be decoded as + // is-decoded-cs = <1> is set in the device tree. reg [7:0] spi_3_to_8_csn; - always @(*) begin case (spi_csn) 3'h0: spi_3_to_8_csn = 8'b11111110;