Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Q: Draw the state diagram for a circuit that outputs a "1" if the aggregate serial
binary input is divisible by 5. For instance, if the input stream is 1, 0, 1, we
output a "1" (since 101 is 5). If we then get a "0", the aggregate total is 10, so
we output another "1" (and so on)...
Can someone please explain the difference above. Also what will cause them ?
---------- Post added at 20:24 ---------- Previous post was at 20:22 ----------
Also please explain the output of
IN = 4'b0101;
Out = IN[IN[1:0]];
what is the value of Out?
Hi,
I am optimizing libjepeg code crosscompiling it with arm and by changing the compiler flags. Can anyone help me to direct to a link which shows all the options to optimize. Currently I am using
O3 - Optimization level
mcpu = cortex
-pipe.
Hi,
Rand generates same iteration of randomized values again and again.
randc randomly iterates over all the values in the range and no value is repeated within an iteration.
Now can we generate the functionality of randc using only rand keyword. ?
IMO this is not true.
Try keeping the same library say 45nm. Increase the the frequency you will notice the area going up, Because there is a trade off between frequency and area. I am not sure why this happens but it does. Can anyone add to the explanation?
It was random. Sometimes it occur between 2000-3000th or sometimes it occured between 5000-7000th call of the function. But again it was only one run which took so much time out of the 10000.
Yes I did dumped the execution times of 10000 runs into a file and plotted a graph. Well I thought of the same reason that there might a cache miss which is prolonging the execution. The only thing amazed me was every time I ran the code only one run took so much time and less were very near to...
I am using the function gettimeofday() to calculate time of execution of a certain function . I am running it 10000 times to get the mean, max and min values of execution time. the mean is expected but the max value is way greater then the mean execution time approximately 6-7 times the mean...
My bad I assumed them as Nand gate. In the above case we will require 2 sets of inputs. Work out you will get it. Add an XOR gate it creates some complications.
Since X3 is s-a-1 we will give it 0 and we will give x2 = 1/0. Now if x2=1/0 and x3=0 so c1=1(verified whether c1 is s-a-0)
to drive c2 to 1 we need to give x4 = 0 and c1 is 1 from the above case.
so (x1,x2,x3,x4) = (*,1/0,0,0)
-Please Double check
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.