Forum Discussion

KRose13's avatar
KRose13
Icon for New Contributor rankNew Contributor
5 years ago

Hello, I am trying to complete this task but having issues with compiling. Fingers crossed the code it works on my DE10-Lite board.

module DE10_LITE_Default(a,b); // circuitA input [2:0]a; output [2:0]b; assign b[2:0] = (a[2:0] == 3'b010) ?3'b000 : // 2 ? 0 (a[2:0] == 3'b011) ?3'b001 : // 3 ? 1 (a[2:0] == 3'b100)...