Better HN
topnewbestaskshowjobs
Log inSign up

FPGAhacker

2,646 karma · joined Jan 14, 2018 (8y ago) · 725 submissions

Submissions

comment 2y ago · link · parent

Every time I see one of these pop up, the thought that software engineers are forever trying to avoid knowledge, understanding, and wisdom with another layer of abstraction comes to mind.

I’m all in favor of a better HDL. Verizon/SystemVerilog is loaded with completely non-obvious landmines. I’ve been doing this so long I forget they are there, but it’s pretty painful seeing someone new to the language step on them. But the alternative, VHDL has largely fallen out of favor in the US.

You would be hard pressed to find a more strongly typed language than VHDL, but damn is it verbose. None of the footguns, but you might get an RSA before you finish typing the code in. If you have ever given Ada a try, VHDL will look pretty familiar.

I know this may be a weird thing for software folks to think about, but writing HDL is a tiny part of digital design. In digital design, if done with discipline, writing the HDL is an almost mechanical process of translating the design. In a design that might take a year, writing the code might be 3 weeks.

Done without discipline you will spend all your time debugging. Wondering why it worked in the lab an hour ago, but after lunch nothing works and you won’t be able to make sense of it.

Understanding basic combinational logic, then sequential logic, followed by state machines (which are the bread and butter of digital design), followed by understanding IO timing and timing constraints (a brain damaged “language” to itself) will take you far.

Domain crossing isn’t so bad if you have those fundamentals.

Then you can spend time learning algorithms other more interesting things. Writing low power software accelerators for neural nets and signal processing.

You can go through all the gyrations of language design in the world, but the language isn’t the hard part. There is a huge amount of improvement to be done, no doubt. But digital design is not the language.

If you want to make the world of digital design a better place, more open, easier to break into, work on tools, not languages. I’d give a kidney for an open source timing diagrammer that could do simple setup and hold checks, create derived signals through Boolean combinations of other signals, and emulate a flop.

I’d do it, but I’ve tried and programming a gui is about the most painful thing I’ve done on a computer. So much work for so little payoff.

comment 2y ago · link · parent

And yet, you create more noise.

comment 2y ago · link · parent

It used to be MHz and GHz, then when that stalled, advertising nm became a thing. It can change.

Angstrom is kind of a fun word, so I’m sure a few nodes will be named after that.

comment 2y ago · link · parent

Exactly what he said.

It’s a marketing number and has been for many years.

comment 2y ago · link · parent

What is a DC transformer?

comment 2y ago · link · parent

I remember when it came out because a friend was excited about it. As I recall it’s a pretty large book.

Edit: just under 1200 pages on Amazon. I never got into it because I couldn’t figure out what the big revelation was supposed to be. It would take some serious dedication to go through such a large book for the sake of an unfavorable review.

I take wolfram’s words at face value.

comment 2y ago · link · parent

Is there something wrong there? I’m sorry if I’m being dense.

comment 2y ago · link · parent

Did he really say that? My quick search didn’t turn anything up.

comment 2y ago · link · parent

I don’t find him insufferable but I also haven’t paid much attention to him.

From what I gather of other people’s comments, they are often bothered by his apparently pervasive discussion of himself and his life.

I’ve never met the man, but the few interviews I’ve see or read about him I thought were pretty interesting.

comment 2y ago · link · parent

The worst part is q: is a different command. so if you are trying to :q and miss the colon and try again, you run some other damn f*cking command.

comment 2y ago · link · parent

I've been using vi variants for decades and didn't know ZZ or ZQ. This solves a major pain point for me (mis-typing :q, trying again, now I'm off in the weeds).

comment 2y ago · link · parent

This looks like some kind of joke from the Simpsons.

comment 2y ago · link · parent

I think this is not a great name for a product that isn’t developing silicon.

comment 2y ago · link · parent

It was Microsoft’s strategy for several decades (outsiders called it embrace, extend, extinguish, only partially in jest). It can work for some companies.

comment 2y ago · link · parent

wait, Memoji is still a thing?

comment 2y ago · link · parent

So what would a bit pattern be in this case? I ask because I’m probably being too simple, but from a certain point of view, it’s all bits.

comment 2y ago · link · parent

What’s the difference between a bit pattern and a bytecode?

comment 2y ago · link · parent

Get people to write the docs first. Not many people like writing docs after the fact, and much of the value of working documentation is lost if you do it after the implementation.

Assuming we’re not taking about user guide kind of docs, then a major benefit of writing docs first is to clarify your thinking. Being able to explain your intent in the written word is valuable because you will often uncover gaps in your thinking. This applies to a specification, or to acknowledging problem reports and updating with theories on what the cause of said problem is and an approach to confirming or fixing it. You can even reference that problem report in commits and merge requests. It pretty beneficial all around.

And docs don’t have to me masterpiece works of art. Just getting people to clarify intent is a huge win. Peer reviewers don’t have time to do a super deep dive into code. If they know what you intended code to do, that’s something many reviewers can check pretty quickly without having to know much context.

It’s selfish and naive to disregard basic documentation of intent.

comment 2y ago · link · parent

> One of the things that separates ordinary people from smarter people is the topic of this article, the ability to imagine new concepts, questions, ideas. Colloquially we call this creativity, and it stems from a large degree of playfulness and enjoyment of the subject at hand.

Pretty sure we call that imagination. Creativity, shockingly enough, involves creation, not just imagination.

comment 2y ago · link · parent

It's a typical corporate effect. Management, with no expertise or even competency, creates absurd schedules and goals and thinks that somehow, just by fiat and edict, they can bend physics and make it so.

comment 2y ago · link · parent

It’s an application that can run on Mac, Linux, or Windows.

comment 2y ago · link · parent

A cropped 28mm is indistinguishable from a 50mm or any other larger size, relative photo site receptor size notwithstanding.

23.

Horizon is a free EDA package(github.com ↗)

3 points · by FPGAhacker · 2y ago · discuss

24.

Clang now makes binaries an original Pi B+ can't run(rachelbythebay.com ↗)

375 points · by FPGAhacker · 2y ago · 137 comments

comment 3y ago · link · parent

times like this make it really frustrating to be red-green colorblind.

comment 3y ago · link · parent

Squash is our git given right.

comment 3y ago · link · parent

When I used to do nanowrimo, I would turn off my screen to stop my various means of self sabotage.

Worked well enough that I could meet my writing goals.

28.

The Darién Gap(en.wikipedia.org ↗)

122 points · by FPGAhacker · 3y ago · 88 comments

29.

Io_uring basics: Writing a file to disk(notes.eatonphil.com ↗)

7 points · by FPGAhacker · 3y ago · discuss

12345
25