tag:blogger.com,1999:blog-2547531593106636954.post5191925878185745968..comments2024-03-27T00:15:35.843-07:00Comments on VLSI SoC Design: Puzzle: Best Performing ProcessorNamanhttp://www.blogger.com/profile/07902192684048580280noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-2547531593106636954.post-78430439179933806652015-01-28T22:21:00.267-08:002015-01-28T22:21:00.267-08:00Dear anonymous,
Your contention is correct. While...Dear anonymous,<br /><br />Your contention is correct. While it is not possible to have a pipelined processor and a single cycle CPU working at the same frequency, that was indeed the assumption for the sake of the problem.<br /><br />Namanhttps://www.blogger.com/profile/07902192684048580280noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-46545440620893679792015-01-28T22:19:44.481-08:002015-01-28T22:19:44.481-08:00That is a comprehensive explanation, Kranthi! Than...That is a comprehensive explanation, Kranthi! Thanks for posting your answer in such detail. I'd just like to add that the pipelined processor would also have control and data hazards which would further degrade the performance but not as much as a multi-cycle CPU.<br /><br />Namanhttps://www.blogger.com/profile/07902192684048580280noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-67343574478826614432015-01-28T22:17:51.134-08:002015-01-28T22:17:51.134-08:00Contrary to the general perception, single cycle C...Contrary to the general perception, single cycle CPU would be the fastest! Read the explanation below.Namanhttps://www.blogger.com/profile/07902192684048580280noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-67323447117990199842015-01-28T22:17:13.487-08:002015-01-28T22:17:13.487-08:00That is the correct answer, Sunny! :)
Thanks for p...That is the correct answer, Sunny! :)<br />Thanks for posting the answer! Namanhttps://www.blogger.com/profile/07902192684048580280noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-64318114031306656432015-01-20T03:53:51.735-08:002015-01-20T03:53:51.735-08:00I think the performance order is very dependent on...I think the performance order is very dependent on the type of instruction being executed. For example in general we conclude that pipelined are faster than single cycle processors but that is only if the impact of pipeline latency and idle period is negligible. Even though ARM sells multistage pipelined processors their performance also degrades if certain branching instructions or sequences are fed continuously which stall the pipeline temporarily and degrade its performance. <br /><br />Multi-cycle also has a similar story. if all of my instructions are those that utilize only a single cycle event say add+1 then it rather has a degraded performance than single cycle.<br /><br />So in a nutshell they all have their own quirks and clock cycle alone is not conclusive to grade them for performance. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-13156770021346610852015-01-20T01:19:27.326-08:002015-01-20T01:19:27.326-08:00In this case , in terms of performance , Pipeline... In this case , in terms of performance , Pipeline CPU > Single cycle CPU > Multiple cycle CPU<br /> <br /> In Single Cycle CPU, clock period depends on the slowest instruction<br /> In multi-cycle CPU, the cycle time is determined by the slowest functional unit [memory, registers, alu]. this greatly reduces the clock period. <br /> <br /> But here assuming that all are operating at same frequency (lets say 1ns.) <br /> Assume instruction has 3 processing steps (fetch, decode, execute)<br /> <br /> For a single CPU, it takes 1 ns to process a single instruction(fetch, decode, execute)<br /> For a multi cycle CPU, it takes 3 ns (1ns for each step) to process a single instruction, as it divides cycle for each step<br /> For a pipe line CPU, decode step of 2nd instruction starts in the first cycle itself. <br />Kranthihttps://www.blogger.com/profile/02914965153809000135noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-90501264301598314312015-01-19T08:40:46.120-08:002015-01-19T08:40:46.120-08:00Dear Anonymous,
I meant that the clock that is fee...Dear Anonymous,<br />I meant that the clock that is feeding the three processors have the same time period. <br /><br />Sunny and Ashish: Thanks for posting the answer. I'll get back to you with the correct answer shortly.<br /><br />Thanks,<br />NamanNamanhttps://www.blogger.com/profile/07902192684048580280noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-87335836431941714362015-01-19T08:17:24.919-08:002015-01-19T08:17:24.919-08:00pipelined, multi cycle, single cycle ??
pipelined, multi cycle, single cycle ??<br />Anonymoushttps://www.blogger.com/profile/16809702102074510918noreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-57691456994675177952015-01-19T08:04:07.966-08:002015-01-19T08:04:07.966-08:00You mean time taken to execute an instruction is s...You mean time taken to execute an instruction is same in all three ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2547531593106636954.post-26152141390261950462015-01-19T06:48:04.447-08:002015-01-19T06:48:04.447-08:00single, pipeline & multi?single, pipeline & multi?Sunny Aggarwalhttps://www.blogger.com/profile/17526991654022388305noreply@blogger.com