Forum Discussion
TuckerZ
Occasional Contributor
3 years agoProduct Enhancement Suggestion
Hello,
I would really like to see Quartus implement all of the "selection statement" functionality described in IEEE 1800-2017, Section 12.5. I tried to use a case-inside statement and Quartus do...
SyafieqS
Super Contributor
3 years agoI mean a small design that replicable to be used as test case showing the unsupported feature
TuckerZ
Occasional Contributor
3 years agoHere is a snippet of code:
package command_pkg; typedef enum logic [2:0] { op1, op2, op3, op4, op5, op_null } operation_t; end package module command import command_pkg::*; ( input wire [7:0] cmd_decoded, output operation_t command_details ); always_comb begin case (cmd_decoded) inside 8'b????1101: command_details = op1; 8'b????1001: command_details = op2; 8'b????1110: command_details = op3; 8'b00000000: command_details = op4; 8'b????0110: command_details = op5; 8'b????0111: command_details = op_null; 8'b????0100: command_details = op_null; default: begin command_details = op_null; end endcase end endmodule