Explorar el Código

Исправил заголовок в InterfaceArbiter

Anatoliy Chigirinskiy hace 11 meses
padre
commit
4db64305c2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/src/InterfaceArbiter/InterfaceArbiterCp2444v1.v

+ 1 - 1
src/src/InterfaceArbiter/InterfaceArbiterCp2444v1.v

@@ -274,7 +274,7 @@ module InterfaceArbiterCp2444v1
 				if (!spiMode) begin
 					wordsNum <= dataRegSSpi[17:1];
 				end else begin
-					wordsNum <= dataRegQSpi[22]+dataRegQSpi[21]+dataRegQSpi[20]+dataRegQSpi[19]+dataRegQSpi[18]+dataRegQSpi[17];
+					wordsNum <= dataRegQSpi[21:20]+dataRegQSpi[18:17]+dataRegQSpi[15:14]+dataRegQSpi[12:11]+dataRegQSpi[9:8]+dataRegQSpi[6:5];
 				end 
 			end
 		end else begin