Example is the same as Example 4 except that a Synopsys "parallel_case" directive has been added to the case header. This example will simulate like a priority encoder but will infer nonpriority encoder logic when synthesized.
module intctl1b (int2, int1, int0, irq);
output int2, int1, int0;
input [2:0] irq;
reg int2, int1, int0;
always @(irq) begin
{int2, int1, int0} = 3'b0;
casez (irq) // synopsys parallel_case
3'b1??: int2 = 1'b1;
3'b?1?: int1 = 1'b1;
3'b??1: int0 = 1'b1;
endcase
end
endmodule
1 crore projects management is a Chennai based company which is a advanced project center handling with extra variety of tasks for any kind of universities. We started out with doing 2018 IEEE projects for final year college students and leaping into guiding the tasks for phd applicants. Now we've nicely experienced group who can handle all Bsc Projects In Chennai and Msc Projects In Chennai. We also stepped into doing real time Bca Projects In Chennai and Mca Projects In Chennai initiatives which incorporates all regions of all departments.
ReplyDelete