🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #1342

Re: Micro$oft -- what's inside

#1342
From: john larkin
Date: Wed, 18 Nov 2026 05:57
181 lines
9160 bytes
On Wed, 18 Nov 2026 15:08:26 +1100, Bill Sloman <bill.sloman@ieee.org>
wrote:

>On 18/11/2026 2:43 am, john larkin wrote:
>> On Tue, 17 Nov 2026 09:25:33 +0100, Jeroen Belleman
>> <jeroen@nospam.please> wrote:
>> 
>>> On 11/17/26 06:34, Bill Sloman wrote:
>>>> On 17/11/2026 3:05 am, john larkin wrote:
>>>>> On Mon, 16 Nov 2026 15:09:21 +1100, Bill Sloman <bill.sloman@ieee.org>
>>>>> wrote:
>>>>>
>>>>>> On 16/11/2026 2:34 am, john larkin wrote:
>>>>>>> On Mon, 16 Nov 2026 00:19:14 +1100, Bill Sloman <bill.sloman@ieee.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 15/11/2026 11:56 am, john larkin wrote:
>>>>>>>>> On Sat, 14 Nov 2026 22:18:31 -0000 (UTC), Sergey Kubushyn
>>>>>>>>> <ksi@koi8.net> wrote:
>>>>>>
>>>>>> <snip>
>>>>>>
>>>>>>>>> Nightmare. It's probably not fixable.
>>>>>>>>
>>>>>>>> Being the industry leader is difficult, and staying there even more
>>>>>>>> difficult. The US hasn't got as big a talent pool as China to
>>>>>>>> dredge for
>>>>>>>> people who might be able to fix the problems, and while both countries
>>>>>>>> are educating most of the rising generation, rich and powerful parents
>>>>>>>> in both countries have ways of ensuring that their kids get the
>>>>>>>> best of
>>>>>>>> the opportunities around.
>>>>>>>>
>>>>>>>> Finland - in theory - does better, but my wife found that their
>>>>>>>> graduate
>>>>>>>> students weren't great at presenting new ideas - taking teachers too
>>>>>>>> seriously can be as much of problem as not taking them seriously
>>>>>>>> enough.
>>>>>>>
>>>>>>> I'm sponsoring three senior capstone projects, at CalPoly and SFSU.
>>>>>>>
>>>>>>> Times haven't changed much since I was an undergrad: listen to the
>>>>>>> lectures, memorize the formulas, execute the formulas.
>>>>>>
>>>>>> Graduate students have to read and review the literature, reject the
>>>>>> dross and get the good stuff up to date.
>>>>>>
>>>>>
>>>>> That's the academic party line: undergrads don't design, grad students
>>>>> can. That's obviously absurd.
>>>>>
>>>>>> It does require the kind of active participation that would have been
>>>>>> beyond you.
>>>>>
>>>>> As an undergrad, I designed throttle and boiler controls for the LASH
>>>>> ships, pipeline supervisory controls, modems, flight hardware for the
>>>>> C5A.
>>>>>
>>>>> How about you?
>>>>>
>>>>>>
>>>>>>> And somehow, after four years of that, they dress up in silly caps and
>>>>>>> gowns [1] and get a piece of paper that magically makes them able to
>>>>>>> think.
>>>>>>
>>>>>> The university of Melbourne let me graduate in absentia as an M.Sc, if I
>>>>>> rent the Ph.D. gown and sat on the podium for the Ph.D. graduation
>>>>>> ceremony, which my parents enjoyed watching. My father showed up with
>>>>>> black and white film in his camera so the scarlet Ph.D. robe didn't get
>>>>>> recorded in its full glory.
>>>>>>
>>>>>> Nobody sane thinks that the ceremony has any actual effect. It does have
>>>>>> legal significance, which is presumably magical.
>>>>>>> I estimate that about 2% of the CE/EE grads understand electricity and
>>>>>>> have a chance of eventually designing electronics, or at least
>>>>>>> assisting.
>>>>>>
>>>>>> 2% of them may had have their perceptions crippled to the point that
>>>>>> they can communicate at the dumbed-down level that you can handle.
>>>>>
>>>>> I think that three or four of the various capstone team members may be
>>>>> keepers. Two seem to be geniuses. Student projects are a great way to
>>>>> do, basically, extended interviews.
>>>>
>>>> But if you are interviewing the candidatates to work how like John Larkin
>>>> they are there's not a lot point in an extended intrerview.
>>>>
>>>>>> Thinking about electronics in a productive way can take place in a
>>>>>> variety of way. Education is more about letting you find ways of
>>>>>> communicating those various sorts of insight. You can do electronics,
>>>>>> but you can't talk about it all that well, which is where your 2%
>>>>>> probably comes from.
>>>>>
>>>>> There's an interesting technical issue with one current project. It
>>>>> involves executing, basically, a Spice simulation in an FPGA in real
>>>>> time. Solving that, making it actually work before May, will be
>>>>> educational for everyone involved.
>>>>
>>>> Spice is written in a high level language for serial execution. The kind
>>>> of simulation you'd run in an FPGA should be paralleled. Any FPGA can
>>>> run quite a few threads in parallel.
>>>>
>>>> It sounds as if the project is ill-conceived, though it may just have
>>>> been difficult to explain to an unsophisticated audience.
>>>>
>>>
>>> Au contraire! I think that translating a Spice circuit description
>>> into FPGA code should work very well indeed. I haven't searched,
>>> but the software to do so very likely already exists somewhere.
>> 
>> LT Spice is a compiler that maps the schematic to x86 machine code,
>> but that's still a procedural language that executes sequentially. It
>> has to do all sorts of math tricks to be stable at, equivalently, low
>> compute clock rates.
>> 
>> An FPGA can run massively parallel, a computation every clock for
>> every node in the circuit. That wouldn't need the fancy convergence
>> tricks.
>
>The crucial point is that Spice is a finite difference implementation of 
>numerical integration.  The "fancy convergence" tricks just get around 
>the fact that numerical integration is unstable if the step size gets 
>too big.

Right. And a procedural program runs slow, crunching one node at a
time,  so step size has to be big or it runs all afternoon.

>
>The instability isn't in the sequential operation, but rather in the 
>finite differences (which can be too big to allow stable numerical 
>integration for short time constant differential equations).
>
>> I have Spice sims that run PPMs of real time, sometimes nanoseconds or
>> even picoseconds per second... erratically That can be really
>> annoying. An FPGA sim would flip that over and run thousands of times
>> faster than real time.
>
>It wouldn't. The instability is a feature of the finite difference 
>approach, not the sequential operation.

A massively parallel process or can take small stable steps, but run
billions of them a second. As a sim has more nodes, we'd just use more
of the FPGA but not slow down.

>
>> LT Spice allows one to set a maximum time step, but not a minimum,
>> much less a fixed one.
>
>"Numerical integration is unstable if the step size gets too big."

Sure, so keep the steps small. But run them fast.

>
>> I've proposed using a DDS, or at least an NCO, to program the
>> execution rate in our FPGA sims.
>
>If you want to control the timing of the signals that come out of your 
>sim, that is essential. An NCO ought to be infinitely flexible up to it 
>maximum clock rate, but it is harder to get a precisely defined clock 
>rate out of it.

It averages right.

We'll start with SPI ADCs and DACs and overlap them at 1 MHz. We can
run the sim algorithms in parallel at any speed, 100 MHz or 100 Hz.

I've been simulating some. It's surprising how  a stepsize of 0.1 tau
simulates an RC very well, even with dumb rectangular integration and
no tricks. 0.02, 50 steps, is fabulously accurate.

I've wondered why LT Spice doesn't use the graphics processor that
most computers have. That would speed up sims by hundreds of times.

I run some sims that take 20 minutes. That's annoying and bad for
learning.



John Larkin
Highland Tech Glen Canyon Design Center
Lunatic Fringe Electronics
Technical Details
Message-ID: <8geqflhs1cthf6ba1le9gc5g6h71rjvr4n@4ax.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11damnn$28qm4$3@dont-email.me> <no0iflh0t7folj3dqek30al9ignk03r8gl@4ax.com> <11dcbgk$2p0bc$1@dont-email.me> <bcjjfl1lafkmems0i1tuaqpnl9p8o3ei4b@4ax.com> <11ddvli$39a3f$1@dont-email.me> <ml9mfld39vs3pqlj2mf0lpub46j2vpii42@4ax.com> <11dgp11$558m$1@dont-email.me> <11dh31t$7vju$1@dont-email.me> <fdsofl15jvghnlu93j03acdokvsivg1aup@4ax.com> <11dj8c0$10nnk$3@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: john larkin <jl@glen--canyon.com>
Newsgroups: sci.electronics.design
Subject: Re: Micro$oft -- what's inside
Date: Tue, 17 Nov 2026 21:57:51 -0800
Organization: A noiseless patient Spider
Lines: 181
Message-ID: <8geqflhs1cthf6ba1le9gc5g6h71rjvr4n@4ax.com>
References: <11damnn$28qm4$3@dont-email.me> <no0iflh0t7folj3dqek30al9ignk03r8gl@4ax.com> <11dcbgk$2p0bc$1@dont-email.me> <bcjjfl1lafkmems0i1tuaqpnl9p8o3ei4b@4ax.com> <11ddvli$39a3f$1@dont-email.me> <ml9mfld39vs3pqlj2mf0lpub46j2vpii42@4ax.com> <11dgp11$558m$1@dont-email.me> <11dh31t$7vju$1@dont-email.me> <fdsofl15jvghnlu93j03acdokvsivg1aup@4ax.com> <11dj8c0$10nnk$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 18 Nov 2026 05:57:53 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1149684"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+UjrD1q8Ie8fMOTw8yEtsn"; posting-host="930ce22dfe73621ebc5031f151278366"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:Fo6+fIGly09nTwsxjhg29f4Viyw= sha256:lku8PdkiA3YbEvLUhI7GPCRLnnHkOo7AzQeGkznU+68=
	sha1:ntcG7MUCV1ez5k+euneAKFInJyQ= sha256:AgbAtXc2KS2kCfDH3C5UxQHqy3XTae62WwV6AusrOHc=