logo

Crowdly

You have an 8 entry 16-bit wide register file. It contains signed numbers. You a...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

You have an 8 entry 16-bit wide register file. It contains signed numbers. You are designing a piece of combinational logic that determines the number of negative numbers in the register file. Capture the logic as a FOR loop. The following are some other fragments from the code. Bit 15 is the sign bit.

Hint if A is declared as

 

reg [31:0] A [0:7];

 

then A[i][j] is the j’th bit of the I’th vector in the array.

 

reg [15:0] RegisterFile [0:7];

 

integer i;

 

reg [3:0] NegativeCount;

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle-courses2527.wolfware.ncsu.edu?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!