I'll try to regularly answer tech questions here. Please only use the comment section for submitting questions.
tutorial
help
subframe
filt
ama
computer
60hz
electronics
electric
Comments
-
@Jerehmia thankyou
-
tptQuantification: Jehremia's reply sums it up. Thanks for the reply Jehremia! Don't have much time to myself right now.
-
@tptQuantification it's either that or you create a circuit that finds the highest bit that differs between A and B. If there is none A and B are equal, else the register where that bit is 1 holds the larger number. So you logically xor A and B and find the highest set bit by repeatedly rightshifting the value and logically or'ing it to itself so you get a bitmask that extends to the LSB. You rightshift that bitmask once more and logically xor it to itself resulting in the highest set bit only.
-
do you think i could make a compare function by subtracting a from b and checking if the result is 0 or negative?
-
Zero5556: Not that I know of. Though bcd>bin is just repeated division, so you can probably simplify bin>bcd to repeated multiplication somehow.
-
Thank you so much, I'll be using this information to try and make a new adder
-
My last comment was meant for R4WLYX. Sorry if this causes confusion.
-
Zero5556: Here is an example of an adder that is ordered correctly and has one frame operations. You can use this a sort of a template. With usage of transparent DTEC it can be compacted to something like 40 or so rows vertically. id:3026891
-
R4WLYX: Because the calculation happens in one frame, the shifting won't be an issue since it "stops" after one frame.
-
R4WLYX: It won't be as compact as what you have right now, but it'll have 1 frame operating speed and easier input design. You've got the right idea algorithm wise, but make sure that LDTC never goes right to left and all ARAYs fire leftwards or downwards. Some things aren't ordered correctly resulting in more lost frames.