Better HN
topnewbestaskshowjobs
Log inSign up

wanderingjew

1,053 karma · joined Apr 28, 2014 (12y ago) · 147 submissions

https://bbenchoff.github.io/
Submissions

comment 3d ago · link · parent

This is hilarious.

"Hey guys I reimplemented 25-year-old Apple ASICs in an FPGA and everything works! Now you can build your own iMac-level computer!"

"ZOMG! My job is building a B2B SaaS product so I have neither the technical ability or competence to know anything about this so I'm going to complain about the name."

comment 4d ago · link · parent

The Spinal code has a PHY block that does all the USB signaling in logic. Underneath that, it's a simple interface with enable, tx and rx data, D+/D- out. I'm bringing that interface out of the generated verilog with a 100-line shim that maps everything onto the TUSB.

I'm using real transceivers because the bare FPGA balls won't work. Well, they would probably work for USB1. But I'm going to put something between the port and an FPGA.

You don't need to read scala, just write a wrapper that names the ports you want, generate, and look at the port list of the .v file.

comment 4d ago · link · parent

OP here; Wow a technical question.

It's not custom. It's SpinalHDL's UsbOhci. There's a project using Artix 7s on old Sun cards that use the same thing.

The PHY is a pair of TUSB1106 transceivers. Mac OS 9 doesn't need a driver from me. It's using the Apple OHCI driver in Mac OS ROM, bound to a PCI class. 3k LUTs on the chip, keyboard, mouse, and thumb drive work.

As for the name. The Apple mac-io was Grand Central, Paddington, Ohare, Heathrow, Gatwick, etc. the last one was Key Largo. I had two choices. I could name it after the Salesforce Transit Center, or I could name it Islamorada. I would like to thank you all for the engagement.

comment 4d ago · link · parent

sosumi.computer

comment 4d ago · link · parent

Oh you people haven't seen _anything_ yet.

6.

Salesforce: Turning a Freescale Dev Board into a Macintosh(bbenchoff.com ↗)

77 points · by wanderingjew · 4d ago · 35 comments

comment 4d ago · link · parent

sosumi

8.

LLMs Will Replace 8-Track Duplication Engineers(bbenchoff.github.io ↗)

50 points · by wanderingjew · 5mo ago · 13 comments

9.

SixForty – photo sharing for the Apple II(colino.net ↗)

2 points · by wanderingjew · 6mo ago · discuss

comment 7mo ago · link · parent

What a crime is is determined by the population. For a very long time, the population has given the idea of a "justice system" to... Well, the justice system.

Things have deteriorated lately, and the population does not see the justice system as effective.

It is completely expected that we see vigilantism, but it is in no way extrajudicial.

comment 10mo ago · link · parent

There is no documentation of what the LEDs were _actually_ doing. There are descriptions, like 'Random and Pleasing is an LFSR', but no actual information that maps to actual pixel coordinates spaced in time. Nearly zero code.

I'm saying this because I need this information, and the fastest way to get information is to state that it's impossible or doesn't exist.

comment 11mo ago · link · parent

gettin some real shit hacker news commentors say energy with this one

comment 1y ago · link · parent

you'd think so, man. you'd really fuckin think so.

comment 1y ago · link · parent

Author here – I did do the ‘think real hard and write Python’ part, but at the netlist level. I used simulated annealing on the 8196 nets to minimize total length / crossings before importing into KiCad.

Where the GPU router comes in is the geometric part: obeying layer stack, via rules, keepouts, blind-via constraints, etc. You can absolutely hand-encode one or two nice symmetric patterns in code; this board is ‘what if we made the search space big enough that you want Dijkstra + PathFinder + sparse GPU data structures to do it for you’.

comment 1y ago · link · parent

Hi, author here, for this project, the backplane is as much of the computer as the 'daughter cards'. Think of it like the wire-wrap boards of _really old_ minicomputers. I'm using the PDP straight-8 as an analogy here because that's the oldest computer I've been inside of, but the backplane connects the different daughter cards together in a way such that the backplane _is_ the computer.

As far as symmetry goes, there really isn't any. For example, Board 0 conects to 1, 2, 4, and 8. Board 1 connects to 0, 3, 5, and 9. Board 3 connections to 1, 2 , 7, and 11.

There's one way I can think of to make this routing easier. Of of the 16 daughter boards, make the pinout unique to each daughter board. If I was doing this as a product, for manufacturing, this is exactly what I would do. I'd rearrange the pins on each daughter card so it would be easier to route. The drawback of this technique is that there would be 16 different varieties of daughter cards; not economical if you're just building one of these things.

So, with those constraints the only real optimization I have left is ensuring that the existing net plan is optimal. I already did that when I generated the netlist; used simulated annealing to ensure the minimal net length for the board before I even imported it into KiCad.

And yeah, serializing the IO would be better, but even better than that would be to emulate the entire system in a giant black box of compute. But then I wouldn't have written a GPU autorouter. I'm trying not to, but there is some optimization for _cool_ here, you know?

comment 1y ago · link · parent

> On the technical side, somewhat more recent FPGA 'placement' algorithms used a simulated annealing algorithm, while what you didn't isn't about placement, that approach could posisbly help with 'net cross-over reduction' type of passes, and maybe help with designs where you can do port swap / pin swap.

Yeah, that was the first step in creating the netlist for the backplane. Simulated annealing on the 8196 nets. TO BE FAIR, this would be a lot easier to route if I didn't explicitly want each of the 16 cards to be identical, but I think that's the most cost-effective way to do it.

As far as an FPGA.... I don't know if I see the point. The nodes in the original CM-1 were basically _only_ ALUs. Very little processing power. The CM-5 was a little better, but this entire thing is batshit crazy. I might as well go for four thousand individually programmable cores. Like, what even is a MISD computer? I have no idea, so lets build one. See what it can actually do.

comment 1y ago · link · parent

Hey, guy who made this here. This probably deserves a little explanation. First off, I'd like to tell you I'm really, really unemployed, and have the freedom to do some cool stuff. So I came up with a project idea. This is only a small part of a project I'm working on, but you'll see where this is going.

I was inspired by this video: https://www.youtube.com/watch?v=HRfbQJ6FdF0 from bitluni that's a cluster of $0.10-0.20 RISC-V microcontrollers. For ten or twenty cents, these have a lot of GPIOs compared to other extremely low-cost microcontrollers. 18 GPIOs on the CH32V006F4U6. This got me thinking, what if I built a cluster of these chips. Basically re-doing bitluni's build.

But then I started thinking, at ten cents a chip, you could scale this to thousands. But how do you connect them? That problem was already solved in the 80s, with the Connection Machine. The basic idea here is to get 2^(whatever) chips, and connect them so each chip connects to (whatever) many other chips. The Connection Machine sold this as a hypercube, but it's better described as a hamming-distance-one graph or something.

So I started building that. I did the LEDs first, just to get a handle on thousands of parts: https://x.com/ViolenceWorks/status/1987596162954903808 and started laying out the 'cards' of this thing. With a 'hypecube topology' you can split up the cube into different parts, so this thing is made of sixteen cards (2^4), with 256 chips on each card (2^8), meaning 4096 (2^12) chips in total. This requires a backplane. A huge backplane with 8196 nets. Non-trivial stuff.

So the real stumbling block for this project is the backplane, and this is basically the only way I could figure out how to build it; write an autorouter. It's a fun project that really couldn't have been done before the launch of KiCad 9; the new IPC API was a necessity to make this a reality. After that it's just some CuPy because of sparse matrices and a few blockers trying to adapt PathFinder to circuit boards.

Last week I finished up the 'cloud routing' functionality and was able to run this on an A100 80GB instance on Vast.io; the board wouldn't fit in my 16GB 5080 I used for testing. That instance took 41 hours to route the board, and now I have the result back on my main battlestation ready for the bit of hand routing that's still needed. No, it's not perfect, but it's an autorouter. It's never going to be perfect.

This was a fun project but what I really should have been doing the past three months or so is grinding leetcode. It's hard out there, and given that I've been rejected from every technician job I've applied to, I don't think this project is going to help me. Either way, this project.... is not useful. There's probably a dozen engineers out there in the world that this _could_ help.

So, while it's working for my weird project, this is really not what hiring managers want to see.

18.

OrthoRoute – GPU-accelerated autorouting for KiCad(bbenchoff.github.io ↗)

220 points · by wanderingjew · 1y ago · 29 comments

comment 1y ago · link · parent

It's for a 4096-node cluster arranged in a 12-bit hamming-distance 1 graph. If you know what I'm talking about please don't spoil it for the others.

Yeah, it's a very expensive hobby project, but I can see some applications for similar pathological backplanes and BGA escape routing. Of course it doesn't do impedance control, length matching or differential pairs, but this could be useful on a _very small subset_ of _very complex boards_.

Basically I accidently stumbled into one of the hardest routing problems I've ever seen, and decided to build an autorouter. And that might be useful for other people.

comment 1y ago · link · parent

"fame"

21.

Show HN: GPU-Based Autorouting for KiCad(github.com ↗)

8 points · by wanderingjew · 1y ago · 6 comments

comment 1y ago · link · parent

> Another issue: art and philosophy have very limited or zero dependence on a material substrate. Computation has overwhelming dependence on the performance of its physical substrate

That's absolutely false. Do you know why MCM furniture is characterized by bent plywood? It's because we developed the glues that enabled this during world war II. In fashion you had a lot more colors beginning in the mid 1800s because of the development of synthetic dyes. Really odd that oil paints were really perfected around Holland (major place for flax and thus linseed oil), which is what the dutch masters _did_. Architectural mcmansions began because of the development of pre-fab roof trusses in the 70s and 80s.

How about philosophy? Well, the industrial revolution and it's consequences have been a disaster for the human race. I could go on.

The issue is that engineers think they're smart and can design things from first principles. The problem is that they're really not, and design things from first principles.

comment 1y ago · link · parent

I fixed that

https://bbenchoff.github.io/pages/MacSSL.html

24.

Finding Atari Games in Randomly Generated Data(bbenchoff.github.io ↗)

174 points · by wanderingjew · 1y ago · 37 comments

25.

Recreating Mac System 7 as a design portfolio(bbenchoff.github.io ↗)

2 points · by wanderingjew · 1y ago · discuss

comment 2y ago · link · parent

acktually, traditionally, 'batteries' referred to two or more cells. This keeps with the etymology of the word as an emplacement of cannon or guns. If OP meant a single cell, they should have written 'cell', not the singular 'battery'.

comment 2y ago · link · parent

https://bmsir.ytmnd.com/

comment 2y ago · link · parent

If you've ever wondered why it's ctrl+g:

https://twitter.com/ViolenceWorks/status/1335382435031252992...

comment 3y ago · link · parent

You are not owed a license. You are not owed neither software nor hardware. If you don't like it, re-create all the work, but don't plagiarize, and release it under whatever open source software you want.

comment 3y ago · link · parent

You're right. This was taken with a Quicktake 150:

https://640by480.com/posts/397/

12345