News for hackers. Stuff that matters.
Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dekhn on Friday February 17, 2017 @07:00PM (#13672778)
Obviously I'm talking about code that is only using L1, and touching only registers.
Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dragontamer on Friday February 17, 2017 @07:12PM (#13672836)
I see your point, but raise you this thought:

Exactly what "received signal" exists inside of a CPU's L1 cache and register?

In practice, any I/O of a modern CPU / Microprocessor is going to run through the Northbridge and most likely be dumped into DDR3 / DDR4 RAM. That's already 60ns of delay minimum that you've introduced into the system and you haven't even done any math yet!

Building a digital system that responds within nano-seconds is difficult, while a purely passive LRC filter... taught in maybe ~2nd year or ~3rd year Electrical Engineering classes, can indeed respond within nanoseconds!

--------------

I guess what I'm saying is... building Digital systems that respond within nanoseconds is certainly possible, but its specialized knowledge and requires specialized CPUs (aka: a Digital Signal Processor). Most programmers don't need to do that after all (write a damn login page again)

I'm not exactly an expert on the ways of the DSP. I just know people who moved in that direction. Its an intriguing field and takes lots of study to be effective.

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dekhn on Friday February 17, 2017 @07:24PM (#13672894)
I don't think we were talking about DSP... at least when I originally replied I was making the official point that a high frequency CPU doing single-clock-cycle reads of GPIOs, can respond in nanoseconds. I think you are talking about something different...

The GPIOs are pins that are directly attached to the CPU. They are accessible by the CPU without requiring access to cache.

Not denying that it's hard to do on a general purpose Intel CPU with its absurdly high clock rate. But anybody with a fast oscilloscope can tell you that fast microcontrollers have that kind of response time, too (10s of ns), because ops take a clock cycle, and 100MHz = 1ns.

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by revelation on Friday February 17, 2017 @07:34PM (#13672939)
They tried this on an AM335x, a modern ARM Cortex A8 used on the BeagleBone Black for example. Clocked at 1 GHz and doing nothing else other than toggle a GPIO pin - it took 200 ns. This is for a fully integrated SoC. Merely due to various levels of interconnect within the CPU.

Here is the slide for reference:

http://imgur.com/a/sWyH5

Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dekhn on Saturday February 18, 2017 @09:46AM (#13674939)
That's with an OS (right? You left out the necessary context), and it's not a fast processor.
Re:How to Set Up an OpAmp Circuit to Do Complex Mathematics by dragontamer on Saturday February 18, 2017 @11:37AM (#13675353)
> 100MHz = 1ns.

You've misplaced a decimal point.

1GHz == 1ns.

100MHz is 10ns.