« first day (2145 days earlier)      last day (708 days later) » 

9:03 AM
Hello everyone, if someone can give a hint I would appreciate a lot
0
Q: Periodic function generator, wavelength error after thousand of cycles

LXSoftI am generating from C++ code various forms of a PCM sound wave using composed harmonics of sine functions, then after importing file in Audacity to see the result, import is done at a maximum sample rate Audacity can support for raw data files (signed 16 bits, 384000Hz) just to spot possible err...

 
 
3 hours later…
12:26 PM
Hi, another topic
I am trying to construct with just oop a alu just for fun
I am stuck how to create or gate without using and or nand
and gate was simple as it is just a single state output. now or seems much more difficult
 
@LXSoft you can construct any gate as a function of the others. Because:
In propositional logic and Boolean algebra, De Morgan's laws are a pair of transformation rules that are both valid rules of inference. They are named after Augustus De Morgan, a 19th-century British mathematician. The rules allow the expression of conjunctions and disjunctions purely in terms of each other via negation. The rules can be expressed in English as: The negation of a disjunction is the conjunction of the negations The negation of a conjunction is the disjunction of the negationsor The complement of the union of two sets is the same as the intersection of their complements The...
in IC design you actually see this where a particular process technology lends itself to a specific gate design. They'll just implement everything in terms of that
 
12:49 PM
Thanks, I know I create any gate from nand logic, but In the code which I posted on godbolt the OR gate Is verry hard to be implemented because it need's the second state of "virtual transistor" not a chained one. works just in case of my and gate but for or I need a OR operator and I would like to avoid it
Maybe I will need to create somehow a junction wrapper like a probe output
to move the probe whatever I want in what virtual point in my design
Turns like inception now CPU in simulated CPU
 
@LXSoft I'd take a look at demorgan's laws and get very very familiar
once you understand the gate structures it'll get easier
 
 
1 hour later…
2:11 PM
Why the two different hash function does not influence the output of ( the code snippet)[godbolt.org/z/8vaW9bM1e]?
The said link should be godbolt.org/z/cqPd4c8jr
 
I don't understand the question
oh, the comment in the code makes it more clear
well the hash function is basically for optimization. You could make the hash function always return "1" and it would still work. It's about which bucket the entry will land in and to narrow down the elements where you have to use the more expensive equality check
 
 
3 hours later…
5:05 PM
I finally created a 512 bit full adder not using logical operations.... But still I don't like this line because I have used or
Line 175...
 if(m_PinInOne ||  m_PinInTwo) m_PinOut = true;
 else m_PinOut = false;
 // m_PinOut = m_TransistorTwo.getEmitterPinOut();
I want to extend to multiplexers, alu and other components
 

« first day (2145 days earlier)      last day (708 days later) »