HNHacker News
TopNewBestAskShowJobs

blackguardx

3,708 karma · joined September 28, 2008

Hardware, FPGA, Firmware, iOS
submissionscomments
blackguardx··on Why hardware development is hard, part 1: Verilog is weird (2013)
>> I wonder if Verilog is even appropriate for what you're talking about, except for legacy reasons.

Doing some work with HDL in a university research setting is different than shipping a working product with the associated constraints.

blackguardx··on Why hardware development is hard, part 1: Verilog is weird (2013)
Drawing a timing diagram is the same as thinking about how a CPU will execute instructions that you write or your compiler spits out.

Optimization is important in hardware due to cost, speed, and power implications of hardware design. These tradeoffs are there for software design as well, but to a much less extent.

blackguardx··on Why hardware development is hard, part 1: Verilog is weird (2013)
Instead of looking at the "assembly" or bistream, FPGA and ASIC designers use a graphical tool to look at the inferred hardware blocks. There are also tools to visualize how these blocks are placed on the die/FPGA.
blackguardx··on Why hardware development is hard, part 1: Verilog is weird (2013)
Knowing how to debug C won't help you. There is no state machine running your code. Stepping through instructions doesn't apply.

Debugging HDL involves looking at timing waveforms in a simulator.

blackguardx··on Why hardware development is hard, part 1: Verilog is weird (2013)
To look at it another way, what does one gain? Hardware is highly parallelizable and HDLs give you that capability by default. Verilog is a really easy language to learn. The hard part is learning how to do hardware design.
blackguardx··on Why hardware development is hard, part 1: Verilog is weird (2013)
I can't upvote this enough. It is imperative to make at least a block diagram before you start typing. Making some timing diagrams for critical sections will save even more headache.
blackguardx··on Build a Phased-Array Radar in Your Garage That Sees Through Walls (2015)
What does your company do?
blackguardx··on Build a Phased-Array Radar in Your Garage That Sees Through Walls (2015)
I've never met anyone who designs ASICs or FPGAs professionally that thought HDL was software. I'm not sure it is contentious.
blackguardx··on A Cloud-Scale Acceleration Architecture: FPGAs in Microsoft’s Datacenters
I think we are approaching this from opposite perspectives. I've been doing FPGA development for 10 years and am an EE. C was the first programming language that I learned over 20 years ago as a teenager. I've only very recently been learning high-level languages and associated abstractions.

A lot of the trouble with FPGA development in my opinion isn't the HDL, but the toolchains themselves. I haven't met anyone that likes FPGA toolchains. Things like PLL instantiation problems are likely to do with the tool and not the language.

A lot of people (I'm not saying this is you) coming from a software background tend to approach FPGAs as if it were a software problem. They seem very similar, after all. You write some code into a window, hit a button, and bam, you have some functionality. To some extent, I think it leads them to tend to shove a square peg in a round hole. Just like there are programming paradigms governing software design, there paradigms governing FPGA design as well. Trying to force certain abstractions can lead to headache.

Abstractions are very important in any design process, be it analog hardware, digital hardware, software, bridge design, etc. Software tends to favor abstractions because they are powerful, but also very cheap. One can afford to waste some CPU cycles if it reduces development time and the occurrence of bugs. In FPGA and ASIC design, abstractions are just as important but one can't afford to waste clock speed or chip area to get it. FPGAs are expensive and ASICs even more so. The design paradigms of HDL exist for that reason, as frustrating as they may be.

In a sense, I've just grown accustomed to Verilog's warts. I was appalled at the FPGA development process when I first started but at this point I just take it for granted. I think thing will get better but it will take time. Even so, I think that it is best to stick with Verilog/VHDL for the time being. Just like if one wanted to web development, one would have to learn javascript, which is also considered terrible.

blackguardx··on Mirai Botnet Client, Echo Loader and CNC source code
Misdirection? Maybe that is what we are meant to think.
blackguardx··on Colonizing Mars: A Critique of the SpaceX Interplanetary Transport System
Is there a natural limit to this? If you built a reusable rocket to hold a million people, would it be essentially free?
blackguardx··on Mirai Botnet Linked to Dyn DNS DDoS Attacks
Before filtering is implemented, it makes sense for ISPs to warn their customers that their hardware was involved in a ddos attack. Analyzing historical data is typically much easier than real-time.
blackguardx··on Colonizing Mars: A Critique of the SpaceX Interplanetary Transport System
Where is that price structure and timeline laid out?
blackguardx··on A Cloud-Scale Acceleration Architecture: FPGAs in Microsoft’s Datacenters
The key to learning HDL is to understand that it isn't software. There are no instructions to a state machine. You are describing the functionality of the state machine itself.
blackguardx··on A Cloud-Scale Acceleration Architecture: FPGAs in Microsoft’s Datacenters
I'm curious as to why you think Verilog a huge pain.

I would think that the toolchains would be the biggest complaint.

If one wanted to do web development, javascript knowledge is important. It is the same with FPGAs and HDL.

blackguardx··on Colonizing Mars: A Critique of the SpaceX Interplanetary Transport System
Because it wouldn't be as sensational if he said it cost $10 million to go vs $200k.
blackguardx··on Show HN: SnapEDA Plugins – Find parts inside your circuit board design software
My feedback as an EE with 10 years experience:

I think your InstaPart feature looks cool. Lots of big companies have CAD teams that just make component libraries for designers. It is nice to get a bit of that on the small side of the industry finally.

That being said, limiting it to 5/month is very constraining. Can you accrue InstaParts? I think most designers typically need more than that per project, but not necessarily each month.

blackguardx··on All Tesla Cars Being Produced Now Have Full Self-Driving Hardware
You don't get issued a learner's permit if you are over 18 in most states that I am aware of.
blackguardx··on Fusion – One-stop prototyping service for PCBs
It isn't just layer count. Look at the trace and space capabilities as well as smallest via hole size and annular ring size.
blackguardx··on Fusion – One-stop prototyping service for PCBs
pcbcart.com has always been my choice for chinese PCBs. They have really good capabilities compared to budget board houses.
blackguardx··on Amy Goodman Is Facing Prison for Reporting on the Dakota Access Pipeline
What about her stance on vaccines? Why should I support someone who is against the scientific method?
blackguardx··on KiCad: A commitment to freedom
This was over 10 years ago.
blackguardx··on Labeling fact-check articles in Google News
Do you have a reputable source for that?
blackguardx··on Labeling fact-check articles in Google News
The issue isn't the tactical implications of putting ABM launchers in Poland. The issue is the false claim (propaganda?) that the US put nuclear weapons in Poland.
blackguardx··on Labeling fact-check articles in Google News
The US put anti-ballistic missiles in Poland, not nuclear weapons. Or am I missing something?
blackguardx··on KiCad: A commitment to freedom
A long time ago, I used the GNU PCB tool to design a flex circuit. I ended up having to hand edit the gerber files to get the project done because it didn't support changing soldermask opening. I think they've changed it since then, but it was rough for awhile.
blackguardx··on Talos Secure Workstation
Yeah and unless the FPGA manufacturers start supporting open toolchains, it can end in an instant when the parts become EOL and Lattice (maker of the ICE40 series) starts obfuscating.

The problem with open toolchains from the manufacturer's point of view is that they have nothing to gain and everything to lose. They don't want to sell chips one at a time to hobbyists. They want to sell them millions at the time to GM and other companies. In their mind, open toolchains buy them nothing but leave them open to competitors stealing their designs. I'm not saying this view is accurate, it is just how chip vendors think.

blackguardx··on Maslow CNC
Why? They put a lot of work into this and are giving the plans away. They just don't want you to compete with them. It seems fair to me.
blackguardx··on What $50 buys you at the Huaqiangbei electronics market in Shenzhen, China
Adafruit buys most of their jellybean parts off of Alibaba and resells it. You are paying extra for them to stock this stuff in the US (NYC in particular). Real distributors like Digikey and Mouser have better deals because you can get name-brand stuff for the same price as the Alibaba stuff from Adafruit. By jellybean parts, I am mainly talking about pin headers and such. Most of the dev boards Adafruit offers are unique to them.
blackguardx··on CHIP Pro
Many companies. Almost too many to list. This is probably a dig at Broadcom who makes the chip in the Raspberry Pi and usually requires NDAs for their chips. Hell, Broadcom won't even let you buy many of their chips without their permission!
← PreviousPage 17 of 34Next →