Article View: sci.electronics.design
Article #1345Re: Micro$oft -- what's inside
From: Bill Sloman
Date: Wed, 18 Nov 2026 14:27
Date: Wed, 18 Nov 2026 14:27
210 lines
10980 bytes
10980 bytes
On 18/11/2026 4:57 pm, john larkin wrote: > 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. It can't be too big - if it is the numerical integration routine goes unstable and produces meaningless results. >> 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. That's the theory, and always has been. Getting it to work in practice doesn't seem to be quite as easy as you seem to think. >>> 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. Only if you regulate it carefully to get that result. > 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. If I remember rightly, there's a matrix inversion after every step of a Spice simulation. For my Ph.D. work I used numerical integration to simulate the chemical reaction I was looking at. The chemical reaction also produced temperature changes and mass flows which were coupled, and I set up a numerical integration program to simulate all three effects. It ran ten times more slowly than the simulation of just the chemical reaction, and the matrix inversion stage didn't help. It was still a lot simpler than a Spice circuit simulation and was looking at different differential equations But since you don't seem to know what you are doing, it's unlikely to do what you want it to. > 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. There are lots of different tau values inside a Spice simulation, it's the smallest smallest time - the fastest loop -that constrains the step size. > 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. If you could program the calculations to run in the graphics processor. Graphic processors have been around for quite a while. Somebody ought to have tried it. > I run some sims that take 20 minutes. That's annoying and bad for > learning. Tough. Get a faster processor, or simulate a more tractable process. -- Bill Sloman, Sydney
Technical Details
Message-ID:
<11dkclg$1d0s1$1@dont-email.me>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-mailReferences:
<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> <8geqflhs1cthf6ba1le9gc5g6h71rjvr4n@4ax.com>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: Bill Sloman <bill.sloman@ieee.org> Newsgroups: sci.electronics.design Subject: Re: Micro$oft -- what's inside Date: Thu, 19 Nov 2026 01:27:54 +1100 Organization: A noiseless patient Spider Lines: 210 Message-ID: <11dkclg$1d0s1$1@dont-email.me> 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> <8geqflhs1cthf6ba1le9gc5g6h71rjvr4n@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 18 Nov 2026 14:28:02 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1475457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19b3CKXUf2f747EdnBEJtpDBpmwC2oThCk="; posting-host="9a199ccddeda1016cd0b5b0c516d5524" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:dXN9Vbgaz0EERgAQlxdEjCFLc04= sha256:21CrWyVtY3Ic+6Kh9JvTWkzoTboRjk2ypRWXWg/JkGU= sha1:RSquR2Wm08lBje5yrbIhmXCp8cU= sha256:FyfASaNzQ7qD0tJFcWU4NjRkfS08iebmpYh3+CWqjsU= X-Antivirus: Norton (VPS 261118-0, 18/11/2026), Outbound message Content-Language: en-US X-Antivirus-Status: Clean In-Reply-To: <8geqflhs1cthf6ba1le9gc5g6h71rjvr4n@4ax.com>