HI all i am new to this site but i am doing my thesis and i have a serious problem and however i push my brain i cant find a solution.so i am building a circuit in multisim that get the sides of triangles and sqaures and then find the are in cm.i am using as my teacherr adviced me some shift registers and comparators 74ls85.My problem is that even though the connnection are correct when i run the simulation and i connect the oscilloscope to the the tree outputs of the comparator the results are : when a>b it shows correct that voltage is going through only that the same about a<b but when the inputs from both a and b are the same the oscilloscope shows that the voltage goes through a>b and a<b and not through a=b and however i change it no voltage goes through the a=b pin,can anyone help me its driving me insane thank you looking forward to hearing from all of you
set up your own model for digital comparator (optimistically assuming the real thing has no bugs)
fine revise your setup (as verifying each input/control signal is exactly what it should be -- do not assume 'em being some defaults)
your input is not such that results in "undefined" output the circuit can't handle
perhaps - some random cascading example http://www.electronique-et-informatique.fr/anglais/Digit/Digit_11TS1.html **broken link removed**
perhaps.2 - notes about some special issues http://www-classes.usc.edu/engr/ee-...g_Comparators/EE101_Cascading_comparators.pdf
revealed by "sn7485 known issues -patent" google search
. . .
Yeah sorry i meant the area in centimeters. that doesnt matter what matters and is my problem is that the comparators 74ls85 when a<b it shows correct in the osciloscope the same with a>b but when a=b the osciloscope shows that volts pass through only a<b and a>b whem it shouyld pass through only the a=b output.
while i yet donno if i verify it in LT Spice ► the trivial issues in simulating logic circuits are . . . ???
intial set/reset - especially Flops (exist inside 74194 also) - that may float long , also (differ I/O delays by chip if the anomalies presist)
vary clock rise/fall edge **times - about sys clk - (if there are anomalous delays in advancement of the simulation - such are normal at level transitions - but if they take too long)
(again in case of anomalies) -- do not feed digital inputs directly from supply rails (applies more for +Vcc than GND , but buffering both won't hurt) , but use either the alternate voltage sources or inverting buffers starting fom one that has it's input signal grounded (e.g. it's output can be fed to permanent logical High inputs ... and it's inversion or a separate double inversion to a logical Low inputs )
run @ 10x and lower clock speed to verify the circuit
PS! there are difference** simulating at 32768Hz and 32767.999Hz -- e.g. -- one may hang while the other manages to complete the simulation
about the xx194
on datasheet they show inversed SHL (sould be multiply by 2) and SHR (should be divide by 2)
or then their MSB LSB are inversed -- i failed to setup a chip check -- coz you can't read out from thech spec what their brain fault or birth deficiency exactly is ...
although "multiply by -1" e.g. a sign error is the one most common , then what makes this particular case frustrating is that we have to verify the d/s against the real chip -- the options
they use untrivial MSB LSB notation where A is MSB
the bit order is trivial but there is typo on d/s e.g. pin numbers are correct but the naming A to D is reversed
the opposite of prev
the error is only on datasheet both pin numbering along with names
about my word choice . . . i am sorry to speak so considering you're yonger . . . this is not a good example of anything especially far from academic ethics
on the other hand - the world has only got worse since 1980CE - the MSX had all crucial equippment and software integrated including on chip painter - many of these things were not present in PC - the MS paint got worse than the ® - the many features got reintroduced to PC as new decades later (and they got worse)
even now that i'm using Win8 -- there is no multitasking present as for filesystem no matter 6 cores present - the disk activity basically hangs all other tasks
. . . e.c e.c
those documents (d/s-s) are electronic - you can update them in flash all over the world in principle - no one gives a damn about end user
. . .
and that situation does not show trends to better
i know this and it does not change weather being polite or rude -- so if there is bugs around 40y -- not fixed -- i think there's a deficiency to blame
you don't know this (i assume) -- so you can't have that opinion
here's an example of anomalies (1-st specific relative control signal timing CLK , S0 , S1 :: 2-nd internal to ic)
and how to overcome such for a given setup (PS! the NAND elements in RS - Flops have different transition delays / as an alternate is setting them different by threshold levels)
--
setting true complementary descendants for S0 and S1 seems to fix the bug here
thank you very much i solved it and now i have anotherr problem.well actually nota problem but some difficulty..so in my circuit after the comparing of the two 4 bit binary numbers i have to build it so it finds out the area using multiplication and then showing it using 7 segment display .so i researched and find out it can be done using the add and shift method but my problem is that i dont know what kind of parts to use in multisim for the bcd adder and shift and add control logic part.if you have any idea about that or any other way using a bcd adder to multiply 2 x 4bit numbers it would be a lot of help
i just started thinking of dual (inches versus centimeters) display would require finally a lot of computations building it all hardware sound much like an overkill for sys. and energy cost . . . . . . . although it has the fastest response time . . .
. . . this is asked in a sense that what you are expected to achieve
is this "(don't economize) use/learn only a discrete logic" course
is this automation course - your own choice of setting up your apparatus - and provide system evaluation/critics at the end
anything else - for example : where you need to focus on some specific sub-module and the rest of the system is just illustrative as realistic device containing that module
any reason to compute in BCD when you can do binary arithmetic and later convert BIN→BCD **broken link removed**
+ the chapter 4.3 provides a backgrounds for a topic i hinted in earlier posts
i think we are kinda getting of topic its much simpler than i made you think i want to know how to multiply 2 signals using shift register and adder, i found some examples online but just the generic logic .what i dont know is how the connection goes between the registers and the adder and what part numbers to use,i kinda understand the logic but i dont know how exactly the connection goes betyween them and count down register
http://users.utcluj.ro/~baruch/book_ssce/SSCE-Shift-Mult.pdf -- some example - also with no practical circuitry mentioned but the lower reg.-s are likely buffered shift registers or a combination of shift + buffer the alu is binary adder the input (top) is (parallel) buffer
if i read it right and you only need to multiply from 0² to 15² e.g. 8 bit TOT input the product can be fetched from ROM and done if you presort your operands the amount of rom required is theoretically reduced to (fast guess) 16!/(2!14!)=120 excel chk. . . . = 136 . . ? . . so the formula doesnot count 0,0 to 15,15 e.g. a fix was 120+16 = 136 - i guess the required input translation circuitry does not pay off using the entire 256byte rom . . .
PS! Please ignore everything you do not need (i just splash all options here that are somehow related to this topic)
what i remembered looks similar to "Booth Encoding" in https://www.engr.siu.edu/haibo/ece428/notes/ece428_arith.pdf -- but it is awfully far (long ago) ??? it was told to perform up to 9x faster than conventional detergents . . . maybe? (also i don't remember the chip but it exists at least some Russian one)