Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

"case" inside "case" path delay long or short?

Altera_Forum
Honored Contributor II
974 Views

Hi 

 

reg[4:0] a1; 

reg[2:0] b1; 

case(a1) 

5'd0:case(b1 

||||||3'd0: 

||||||3'd1: 

||||||. 

||||||. 

||||||endcae 

5'd1:case(b1 

||||||3'd0: 

||||||3'd1: 

||||||. 

||||||. 

||||||endcae 

endcase 

 

does the path delay long or short??
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
241 Views

Path delay of combinational logic is generated according to the complexity of the logic, independent of coding style. In so far, there's nothing special with nested case structures.

0 Kudos
Altera_Forum
Honored Contributor II
241 Views

thank you!

0 Kudos
Reply