Better HN
topnewbestaskshowjobs
Log inSign up

scottapotamas

69 karma · joined Apr 23, 2023 (3y ago) · 42 submissions

github.com/Scottapotamas
Submissions

comment 1mo ago · link · parent

https://github.com/30hours/blah2

comment 2mo ago · link · parent

Depends on what you're wanting to do.

The OSS toolchains have matured a lot since then, with parts from Lattice being fairly well supported if you don't want to touch a vendor's tooling.

Gowin have some of the more interesting new parts which sit on a different part of the cost/feature curve. The Tang Nano boards seem fairly popular but I only have experience with far larger GW5 parts.

The newer parts from Intel/AMD have increasingly impressive hard-peripherals and internal features, but not that relevant unless you know what you want/need.

comment 4mo ago · link · parent

It's computer vision focused and might have been suggested previously, but I think Halide is a pretty good/mature demonstration of one way to approach this - writing the algorithm and the execution descriptions as separate passes with access to auto-optimisers and GPU runtimes.

comment 12mo ago · link · parent

Agreed. Tooling like this also needs far more careful structuring of the inputs than a thin wrapper like this.

It burnt a bunch of tokens and filled the context reading all datasheet files, whereas documentation should be queried to answer specific details connected to relevant netlist/sch nodes.

comment 12mo ago · link · parent

I'm your target market - averaging a few dozen board designs a year with complexity ranging from simple interposers to designs at density limits with large US+ FPGAs.

I'm always looking for workflow and automation improvements and the new wave of tooling has been useful for datasheet extraction/OCR, rubber-ducking calculations, or custom one-off scripts which interact with KiCAD's S-Expression file formats. However I've seen minimal improvements across my private suite of electronics reasoning/design tests since GPT4 so I'm very skeptical of review tooling actually achieving anything useful.

Testing with a prior version of a power board that had a few simple issues that were found and fixed during bringup. Uploaded the KiCAD netlist, PDFs for main IC's, and also included my internal design validation datasheet which _includes the answers to the problems I'm testing against_. There were three areas I'd expect easy identification and modelling on:

    - Resistor values for a non-inverting amplifier's gain were swapped leading to incorrect gain.
    - A voltage divider supplying a status/enable pin was drawing somewhat more current than it needed to.
    - The power rating of a current-sense shunt is marginal for some design conditions.
For the first test, the prompt was an intentionally naiive "Please validate enable turn on voltage conditions across the power input paths". The reasoning steps appeared to search datasheets, but on what I'd have considered the 'design review' step it seems like something got stuck/hung and no results after 10min. A second user input to get it to continue did get an output, and my comments:

    - Just this single test consumed 100% of the chat's 330k token limit and 85% of free tier capacity, so I can't even re-evaluate the capability with a more reasonable/detailed prompt, or even giving it the solution.
    - A mid-step section calculates the UV/OV behaviour of a input protection device correctly, but mis-states the range in the summary.
    - There were several structural errors in the analysis, including assuming that the external power supply and lithium battery share the same input path, even though the netlist and components obviously have the battery 'inside' the power management circuit. As a result most downstream analysis is completely invalid.
    - The inline footnotes for datasheets output `4 [blocked]` which is a bare-minimum UI bug that you must have known about?
    - The problem and solution were in the context and weren't found/used.
    - Summary was sycophantic and incorrect.
You're leaving a huge amount of useful context on the table by relying on netlist upload. The hierarchy in the schematic, comments/tables and inlined images are lost. A large chunk of useful information in datasheets is graphs/diagrams/equations which aren't ingested as text. Netlist don't include the comments describing the expected input voltage range on a net, an output load's behaviour, or why a particular switching frequency is chosen for example.

In contrast, GPT5.1 API with a single relevant screenshot of the schematic, with zero developer prompt and the same starting user message:

    - Worked through each leg of the design and compared it's output to my annotated comments (and was correct).
    - Added commentary about possible leakage through a TVS diode, calculated time-constants, part tolerance, and pin loadings which are the kinds of details that can get missed outside of exhaustive review.
    - Hallucinated a capacitor that doesn't exist in the design, likely due to OCR error. Including the raw netlist and an unrelated in-context learning example in the dev-message resolved that issue.
So from my perspective, the following would need to happen before I'd consider a tool like this:

    - Walk back your data collection terms, I don't feel they're viable for any commercial use in this space without changes.
    - An explicit listing of the downstream model provider(s) and any relevant terms that flow to my data.
    - I understand the technical side of "Some metadata or backup copies may persist for a limited period for security, audit, and operational continuity" but I want a specific timeline and what that metadata is. Do better and provide examples.
    - I'm not going to get into the strategy side of 'paying for tokens'. but your usage limits are too vague to know what I'm getting. If I'm paying for your value add, let me bring an API key (esp if you're not using frontier models).
    - My netlist includes PDF datasheet links for every part. You should be able to fetch datasheets as needed without upload.
    - Literally 5 minutes of thinking about how this tool is useful for fault-finding or review would have led you to a bare-minimum set of checklist items that I could choose to run on a design automatically.
    - Going further, a chat UX is horrible for this review use-case. Condensing it into a high level review of requirements and goals, with a list of review tasks per page/sub-circuit would make more sense. From there, then calculations and notes for each item can be grouped instead of spread randomly through the output summary. Output should be more like an annotated PDF.

comment 1y ago · link · parent

Enjoyed the paper, thanks.

While there was brief discussion about environmental influence due to temperature and environmental EMI, it would be nice to get an idea of how this approach compares with regards to radiated emissions.

Fast edges and their wide spectral content are one of the earliest things to minimise/eliminate as part of compliance testing - other approaches aren't as active of an aggressor so getting to production may not be as easy given the stated goals for low cost/effort implementation.

The frequency domain data from the MXA shows the output during edge measurement, but there's no discussion about measuring how much these tones leak...

comment 1y ago · link · parent

Mostly used for biological targets, laser induced ultrasound is pretty impressive.

comment 1y ago · link · parent

For two DRP (dual role) devices connected to each other, I believe in a default case the one that happens to advertise as a source first just becomes one.

The standard allows for a role swap at any point while connected, and if that’s triggered will be dependent on the firmware/config on one or both ends.

There’s probably more nuance hiding in the real world hardware too.

comment 1y ago · link · parent

There’s a lot more to it, but I attribute a lot of ‘better in some way’ to microcontrast followed by how the lens handles the transition to out of focus detail.

comment 1y ago · link · parent

Yep, variations have popped up in the DIY community over the years.

Slightly modifying/abusing the cheap DLP resin printers is more effective because they're essentially a controllable UV mask anyway.

comment 1y ago · link · parent

This is all fairly normal in robotics, under a subset of (slightly overloaded naming sorry) “impedance control”

comment 1y ago · link · parent

You might enjoy https://github.com/scottbez1/smartknob

The complexity of this approach (ignoring the display and flair) unfortunately means you won’t see this used too often due to cost.

comment 1y ago · link · parent

Their single board computers intended for robotics/edge have had a history of being poorly supported and stuck on old kernel versions.

comment 1y ago · link · parent

It’s less torturous with other brands of 2D printer.

Both my Brother laser and label printer have worked first time, every time with Linux, Windows and iOS AirPrint.

comment 1y ago · link · parent

Some people have different views on what’s an embedded system, but hardware serial, USB and Ethernet are tablestakes for interfacing with any most industrial hardware or for robotics uses.

comment 2y ago · link · parent

For some/smaller parts. Once you start going higher than Artix or the token Kintex parts you need to pay up.

comment 2y ago · link · parent

Have a look at this (and other repos/website) https://github.com/30hours/blah2

comment 2y ago · link · parent

That sound has a name - sibilance

comment 2y ago · link · parent

You just buy the microcontrollers and put them on your custom PCB.

The devkits aren’t suitable for resale but there’s no additional licence when you buy an ARM micro from pretty much any manufacturer.

comment 2y ago · link · parent

Just tacking some detail onto "promote open science".

CERN was/is a large early user and supporter of the open source KiCAD electronics CAD tooling. The downstream impact of improved accessibility to solid ECAD tooling has been a large contributing factor to the growing ecosystem of open electronics.

A lot of really impressive test and measurement equipment to support their research is developed in the open (see https://ohwr.org/project). People on HN are probably most likely to have heard of the White Rabbit timing project, but there's fantastic voltmeter designs, a lot of FPGA projects for carriers, gateware, fun RF designs.

comment 2y ago · link · parent

As CAD tools go SW is on the lower end of the scale. Though the price increases have been feeling pretty abusive in the recent years.

Creo has come down relative to it's ProE days and is priced similarly to SW(?), and I believe NX still starts at double to triple per seat.

ANSYS (specifically Fluent) and similar simulation tools have eyewatering per-seat prices, though I'm a little out of date to know if they're less horrible about multicore licences etc.

comment 2y ago · link · parent

Also in the more recent ‘Light and Magic’ ILM doc series.

comment 2y ago · link · parent

While it’s probably not perfect for everyone, I know hyprland exposes the events you’d need for this, accessible via IPC.

comment 2y ago · link · parent

I’ve been bitten before but the risk/reward is probably worth it for parts like that.

Thanks for your write-ups btw, been following glScope development for a while.

comment 2y ago · link · parent

That's low-end Zynq and Artix and I'm thinking more >676 Kintex, though I appreciate any discussion on sourcing.

In the way that that Aliexpress vendor lists the 7010 parts at 1/10th the price of LCSC, some of their $20-60 listings are also shockingly cheap in comparison.

comment 2y ago · link · parent

Will do. Not too worried about trying low cost parts to gain some minimal confidence in a possible source, they're compelling for weekend side-projects at least.

I've previously struggled to roll the dice for higher end parts as the cost difference isn't as extreme and had some obvious reballed parts a few years ago. If they're OK then their $20 XC7K325T will be at the top of my list...

comment 2y ago · link · parent

I was interested to see, or at least what state they're in so I grabbed a couple. Might try to compare them against some genuine ones with CT and destructive inspection.

On the chance they're half reasonable, thanks for the link.

comment 2y ago · link · parent

Bigger number better, obviously!

I am also annoyed by most modern tech marketing using percentages incorrectly and inconsistently. But 150% is a bigger number than 1.5x so I suppose their hands are tied.

comment 2y ago · link · parent

Great writeup. Always a treat to see more high quality FPGA project postmortems, even if they aren’t using accessible parts/toolchains.

comment 2y ago · link · parent

I only dabble with recreationally reverse engineering industrial/consumer grade HW and following blogs/conferences, so I can only provide a rough shotgun of search terms to try and hit something you're interested in:

- The Glasgow interface explorer is an example of a smaller FPGA making interface level RE tooling more accessible.

- The Chipwhisperer hardware has a focus on power supply glitching, side-channel attacks and general hardware security education/testing.

- There's a handful of FPGA-based implementations intended for high-speed protocol sniffing/MiTM (TCP/IP, USB and CANBus are both pretty common) on github etc, Cynthion is one example.

- Some recent projects have been trying to implement and improve the FOSS ARM Cortex programming and trace experience, Orbuculum ORBTrace probe is an example though the benefits aren't fully realised yet.

- In an odd use-case for an FPGA, I've personally seen hardware that enforces brutal/paranoid DRM/licencing via customised downloaded bitstreams to guards against reverse-engineering/copy efforts, all to most likely run a soft-CPU. I've read (unsubstantiated) that this approach appears on some military hardware.

- Slightly adjacent to specific FPGA projects, but the SDR tooing ecosystem has lots of cool stuff to play with for wireless signal identification/spoofing/re-implementation. HackRF, LimeSDR, GNUradio etc. If you want to get deep then there's lots of overlap with custom FPGA implementations.

12