if else statement prolog
If -> Then; _Else :- If, !, Then.
If -> _Then; Else :- !, Else.
If -> Then :- If, !, Then.
if else statement prolog
If -> Then; _Else :- If, !, Then.
If -> _Then; Else :- !, Else.
If -> Then :- If, !, Then.
if else statement prolog
module Q4(A, En, Z);
input [2:0] A;
input En;
output reg [0:3] Z;
always@ (En, A)
case ({En, A})
4: Z = 4’h8;
5: Z = 4’h4;
6: Z = 4’h2;
7: Z = 4’h1;
default: Z = 4’h0;
endcase
endmodule
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us