1,053 karma · joined Apr 28, 2014 (12y ago) · 147 submissions
comment 3d ago · link · parent
"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
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
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.
6.
Salesforce: Turning a Freescale Dev Board into a Macintosh(bbenchoff.com ↗)
77 points · by wanderingjew · 4d ago · 35 comments
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
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
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 1y ago · link · parent
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
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
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
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
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.
21.
Show HN: GPU-Based Autorouting for KiCad(github.com ↗)
8 points · by wanderingjew · 1y ago · 6 comments
comment 1y ago · link · parent
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.
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
https://twitter.com/ViolenceWorks/status/1335382435031252992...