38 38 votes How many pulses are needed to change the contents of a $8$-bit up counter from $10101100$ to $00100111$ (rightmost bit is the LSB)? $134$ $133$ $124$ $123$ Digital Logic gateit-2005 digital-logic digital-counter normal + – Ishrat Jahan 12.4k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Chhotu commented Dec 27, 2017 reply Follow flag $172 \rightarrow 255 \rightarrow 0 \rightarrow 39 $ (because UP Counter) 22 22 replyShare sahil_malik commented Nov 13, 2018 reply Follow flag (rightmost bit is the LSB) Doesn't this mean that the number is taken in reverse order? 2 2 replyShare Please log in or register to add a comment.
Best answer 103 103 votes D.$123$ Pulses. As in a $2^8$ Counter, the range would be from $0-255$. Hence to go from $10101100 (172)$ to $00100111 (39)$, the counter has to go initially from $172$ to $255$ and then from $0$ to $39$. Hence to go from $172$ to $255, 255-172 = 83$ Clock pulses would be required. then from $255$ to $0$, again $1$ clock pulse would be required. Then, from $0$ to $39, 39$ clock pulses would be required. Hence in total $83+1+39 =123$ Clock pulses would be required. afaque205 answered Nov 21, 2014 • edited Jun 2, 2021 by Lakshman Bhaiya afaque205 comment Share Follow See all 9 Comments 9 9 Comments reply Sankha Narayan Bose commented Aug 17, 2018 reply Follow flag Good 2 2 replyShare mrinmoyh commented Jul 2, 2019 reply Follow flag In this 8-bit up counter, all 256 states are countable?? what if some states are not countable,I mean it counts less than 2^n states,then???? 0 0 replyShare Verma Ashish commented Jul 2, 2019 reply Follow flag what if some states are not countable,I mean it counts less than 2^n states,then?? @MRINMOY_HALDER i think then we will not call it a up/down asynchronous counter. 1 1 replyShare mrinmoyh commented Jul 2, 2019 reply Follow flag So, can I convience myself that all asynchronous counter contains all possible states(2^n) either up or down?? 1 1 replyShare Verma Ashish commented Jul 13, 2019 reply Follow flag Definitely not. Either it is synchronous or asynchronous , if it is n bit up/down counter then it will count all possible states in specific order... 5 5 replyShare Lakshman Bhaiya commented Nov 7, 2019 reply Follow flag A similar type of question 16 16 replyShare harshitraj12 commented May 19, 2024 reply Follow flag More variation can be created using clear and preset 0 0 replyShare halfcodeblood commented Jul 14, 2024 reply Follow flag @Shaik Masthan sir what happens in down counter case for the same question?Thanks 0 0 replyShare Prashant_Dubey commented Oct 2, 2024 reply Follow flag @halfcodeblood ans will be 133 (172-39) 1 1 replyShare Please log in or register to add a comment.
4 4 votes 8 bit Counter range 0-255 To go from 10101100 (172) to 00100111 (39) first counter will move from 172 to 255(255-172=83) 255 to 0=1 pulse and then 0 to 39(39-0=39). Total=83+1+39=123 So answer is D IITB2020 answered May 25, 2020 IITB2020 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes The counter needs to count up to $255 (11111111)$ and then back down to the target value. To reach $255: 255 - 172$ (initial value) $= 83$ pulses To reach the target value from $255: 39 $(target value) $- 0 = 39$ pulses $1$ pulse to roll over from $255$ to $0$ Total pulses: $83 + 39 + 1 = 123$ Therefore, 123 pulses are needed to change the counter's contents as specified. rajveer43 answered Jan 12, 2024 rajveer43 comment Share Follow 0 reply Please log in or register to add a comment.