<DocScrutinizer05>
not bad, but the COCOM isn't spoiling stuff there even for the BRB(?) gps
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
sandeepkr has quit [Ping timeout: 240 seconds]
fengling has quit [Ping timeout: 240 seconds]
archang has quit [Ping timeout: 260 seconds]
fengling has joined #qi-hardware
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #qi-hardware
fengling has quit [Ping timeout: 240 seconds]
archang has joined #qi-hardware
fengling has joined #qi-hardware
doomlord has joined #qi-hardware
larsc has quit [Remote host closed the connection]
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #qi-hardware
wolfspraul has quit [Remote host closed the connection]
archang has quit [Remote host closed the connection]
archang has joined #qi-hardware
lars_ has joined #qi-hardware
lars_ is now known as Guest52017
pcercuei has joined #qi-hardware
lars_ has joined #qi-hardware
lars_ has quit [Client Quit]
xiangfu has joined #qi-hardware
sandeepkr has joined #qi-hardware
Guest52017 is now known as larsc
doomlord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doomlord has joined #qi-hardware
fengling has quit [Quit: WeeChat 1.4]
xiangfu has quit [Ping timeout: 240 seconds]
doomlord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dandon has quit [Ping timeout: 244 seconds]
doomlord has joined #qi-hardware
mth_ has joined #qi-hardware
mth has quit [Ping timeout: 240 seconds]
archang has quit [Ping timeout: 240 seconds]
archang has joined #qi-hardware
doomlord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doomlord has joined #qi-hardware
mth_ has quit [Read error: Connection reset by peer]
sandeepkr_ has joined #qi-hardware
sandeepkr__ has joined #qi-hardware
sandeepkr__ has quit [Read error: Connection reset by peer]
sandeepkr__ has joined #qi-hardware
sandeepkr__ has quit [Read error: Connection reset by peer]
sandeepkr has quit [Ping timeout: 244 seconds]
sandeepkr__ has joined #qi-hardware
sandeepkr_ has quit [Ping timeout: 246 seconds]
sandeepkr__ has quit [Remote host closed the connection]
mth has joined #qi-hardware
pcercuei has quit [Quit: leaving]
luke-jr has quit [Excess Flood]
luke-jr has joined #qi-hardware
luke-jr has quit [Excess Flood]
wpwrak has quit [Ping timeout: 246 seconds]
archang has quit [Ping timeout: 240 seconds]
luke-jr has joined #qi-hardware
luke-jr has quit [Excess Flood]
luke-jr has joined #qi-hardware
luke-jr has quit [Excess Flood]
luke-jr has joined #qi-hardware
luke-jr has quit [Excess Flood]
luke-jr has joined #qi-hardware
wpwrak has joined #qi-hardware
planasb has joined #qi-hardware
<planasb>
I have 32 bit ripple two numbers adder. I need to add 32bit number with constant (say 4). How to do it not using full 32 bit adder chain?
<DocScrutinizer05>
tell me if you find a solution
<planasb>
Design an incrementer circuit for adding 4 to the PC instead of using a regular 2-input adder. This is easy to do -- just think about an adder where the second input is the constant 4 (i.e., all but one of the input bits is zero!) and then eliminate/simplify the adder logic appropriately. This optimization will also help with speed.
<planasb>
ahh, yes i need full 32 bit chain.. !
<whitequark>
thats homework
<whitequark>
you should do your homework yourself
<planasb>
i now know how to do it
<planasb>
i need use constants (like zero) .. and not FA
<wpwrak>
the most efficient solution is obviously to use a 30 x 1 G ROM. an adder is such a waste of gates.
<wpwrak>
32 x 4 G for non-standard arithmetic
<whitequark>
one could perhaps use Peano numbers in hardware to implement this
<whitequark>
adding becomes really easy and efficient.
<whitequark>
actually, I do wonder how a 2**32 cycle long delay loop would fare
planasb has quit [Remote host closed the connection]
planasb has joined #qi-hardware
<DocScrutinizer05>
wpwrak: I already pondered to suggest a LUT, but... Wasn't aware it's already Friday ;-)
<wpwrak>
friday, the weekend is beckoning, no time to waste - so we have to pick solutions that are simple and guaranteed to work
<DocScrutinizer05>
now!!! use fuzzy logic ;-)
<DocScrutinizer05>
or an analog calculator
<DocScrutinizer05>
adding 4 is simply done by some passive components then,
<DocScrutinizer05>
D/A->Zener->A/D ;-P
<wpwrak>
another option is to add an "output valid" signal, then a suitably configured 32:1 LUT. VALID only is high when the result is ready. else, you have to wait.
<DocScrutinizer05>
btw, where was the definition of the base system? even if we use a discrete numbers system at all? use an analog system then adding 4 is extremely simple and with sufficient cooling you easily reach a valid value range that fits the requirement of "32bit precision"
<larsc>
if you only want to iterate through a list of number, but don't care about the order you can also use a lfsr
<wpwrak>
DocScrutinizer05: actually, he never said how accurate the result has to be. if we add a little bit of tolerance, say +/- 1 MSB, it gets a lot easier. and you can readily half the error interval.
<wpwrak>
or, rather, halve
<DocScrutinizer05>
:nod:
<DocScrutinizer05>
the approach with a counter instead a full adder is nifty though
<DocScrutinizer05>
not fast, but nifty
<DocScrutinizer05>
I'd grant full point rating at that solution
<whitequark>
if you're adding 4, you don't need the *32-bit* adder chain, you can do with a 30-bit
<whitequark>
admittedly a literal reading of requirements
<planasb>
yes
<DocScrutinizer05>
huh?
<DocScrutinizer05>
silly riddles time?
<planasb>
yup
<DocScrutinizer05>
meh
<planasb>
which adder you recommend ?
<planasb>
i need 32 bit picture of it :P
<DocScrutinizer05>
obviously I don't recommend anything since I feel bored about that
<planasb>
DocScrutinizer05: it's friday, take long drink
<DocScrutinizer05>
here it's snolfday
<DocScrutinizer05>
and on snolfdays no longdrinks before 87:376
<DocScrutinizer05>
btw this doesn't sound like riddlers but actually like homework
<planasb>
homework
<planasb>
but i found answear
<planasb>
self
<DocScrutinizer05>
~ask
<infobot>
Questions in the channel should be specific, informative, complete, concise, and on-topic. Don't ask if you can ask a question first. Don't ask if a person is there; just ask what you intended to ask them. Better questions more frequently yield better answers. We are all here voluntarily or against our will.