Kevin Hubbard

Kevin Hubbard

@khubbard.bsky.social

Electrical Engineer. ASICs, FPGAs, Python. Fan of convertibles and 6502 CPUs. Author of Mastering FPGA Chip Design : For Speed, Area, Power, and Reliability. Seattle,WA,US,Earth,Sol,MlkyWy https://blackmesalabs.wordpress.com/

1.1K followers263 following345 posts

Today I enhanced my Sump3 logic analyzer to let AI analyze millions of captured digital samples. A task far too time‑consuming for humans to tackle. In plain English, I asked "How many times does bsb_frm assert to logic-1 between the cursors". "10" It worked, first try, in spades. This is the way.

In grade-school, middle-school and even early high-school, I dreamt of attending MIT to get a degree in Electrical Engineering. It just wasn't in the cards and I attended University of Washington. So glad I did. Everything worked out smashingly in the end. Serendipity.

Today I purchased four copies of my book for four Electrical Engineering professors at the University of Washington. One was my professor way back in the early 1990s. The other three currently teach FPGA courses. Money well spent. Very gratifying. Giving back. www.elektor.com/products/mas...

elektor.comMastering FPGA Chip Design (E-book)This book teaches the fundamentals of FPGA operation, covering basic CMOS transistor theory to designing digital FPGA chips using LUTs, flip-flops, and embedded memories. Ideal for electrical engineer...

I’ve completed my year-long journey to becoming a published author in electrical engineering. Mastering FPGA Chip Design: For Speed, Area, Power, and Reliability is now part of the Elektor Academy Pro series and available in both print and eBook formats: www.elektor.com/products/mas...

elektor.comMastering FPGA Chip DesignThis book teaches the fundamentals of FPGA operation, covering basic CMOS transistor theory to designing digital FPGA chips using LUTs, flip-flops, and embedded memories. Ideal for electrical engineer...

Today I finished the last chapter on my manuscript. 28 chapters, 310 pages. It's been quite the year long journey. It's the one book that I have in me. I really hope it turns out well. Even if it doesn't, I know I gave it my best. It has been a personal and professional journey well worth taking.

Color text on my VGA graphics controller on a @digilent.bsky.social BASYS3 board! 1280x1024 with a 108 MHz dot clock. 4Kx18 RAM (72Kb, 2 BRAMs) for 80x32 text with 18 bits per text character. 8 bits for ASCII ROM. 5 bits each for Foreground and Background luminance(2) and color(3). Yay - It works!

Finally got my frame buffer working. Very RAM limited on this chip so it is 320x256 at 9 bits even though the hardware DACs are 1280x1024 12 bits. Side-by-side of my FPGA 9bit frame buffer versus original image at 24 bits RGB.

I call him "Sprite-Man" - yeah he's a bit creepy, I still love him. 16x32 pixels at RGB 3:3:3 color depth in a single FPGA RAM. He's part of my VGA graphics controller project. Instead of 512 CPU writes to draw "Sprite-Man", a single CPU write will relocate him anywhere on the 1280x1024 display.

This took all day. So frustrating. Backtracked a whole bunch trying to conserve BRAMs. Going to try and add some foreground color next with all the wasted BRAM bits. "Hello World!" digital style in 1280x1024 analog VGA.

Generating VGA video with nothing but logic gates, ASCII text on a 1280x1024 display with an Artix-7 FPGA ( @digilent.bsky.social BASYS3 board ). VGA is EXTREMELY forgiving. With a 100 MHz reference oscillator, 107.4627 MHz (900/8.375) is as close as I can get to a 108 MHz dot-clock. Not a problem.

Probably still my favorite computer. Got me through high school and the start of college. So much in such a little package ( for the time ). Even connected me to a VAX PDP-11. The Apple //c.

The more Python I write, the more I realize it is the most perfect and most likely the last computer programming language that I will ever learn after doing this for 45+ years now. Today was a very good day at BlackMesaLabs. I feel like that fictional "10x Engineer" bullshit.

I'll add some sort of history plotting feature later. For now, it's just a "how are my stocks doing today" tool. I miss the @yahoo-finance.bsky.social features of my.yahoo.com . I can't believe they killed it after I've been using it daily for decades ( like since late 1990's if I remember right ).

my.yahoo.comYahoo | Mail, Weather, Search, Politics, News, Finance, Sports & VideosLatest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!

So my "retirement plan" from designing digital chips for profit ( ASICs and FPGAs ) since the 1990s is to stop at age 70 (2040) and just start writing software and fill up my GitHub site with useful free and open source Python programs. That's my dream anyways. I very well might be hallucinating.

We lost power (along with 1/2 million other Seattle area Eastsiders) last week when the "Bomb Cyclone" with 74 mph winds came through. It was 5 days total. Thankfully not in the dark or cold. Gas fireplace still worked and my solar charged battery bank kept us in light. Upgrading to LiFePO4 next.

View full thread

We lost power (along with 1/2 million other Seattle area Eastsiders) last week when the "Bomb Cyclone" with 74 mph winds came through. It was 5 days total. Thankfully not in the dark or cold. Gas fireplace still worked and my solar charged battery bank kept us in light. Upgrading to LiFePO4 next.

View full thread

We lost fridge contents entirely. Cooked a lot of eggs over sterno. Gas fireplace kept house a toasty +24C and hot water worked as well. Having light in the family room and charging small USB devices was a welcome luxury. Internet was out too of course, but 5G never dropped, which I find amazing.

We lost power (along with 1/2 million other Seattle area Eastsiders) last week when the "Bomb Cyclone" with 74 mph winds came through. It was 5 days total. Thankfully not in the dark or cold. Gas fireplace still worked and my solar charged battery bank kept us in light. Upgrading to LiFePO4 next.

The trick to solar charging in the winter time is to have VERY mobile solar panels. I was chasing sun rays between the clouds and angling panels to be perpendicular to the beams all day long, every day. My lead-acid battery bank is mostly ten years old and needs replacing. LiFePO4 looks promising.

Starting "America Against America" by Wang Huning. "An outlook of why US is potentially heading toward a decline. Published in 1991, still widely read amongst high level Chinese political figures and bureaucrats. Any serious student of US-China relations will benefit greatly from reading this book."

Today I stayed off Twitter, and: No Tesla, drove my 1994 Honda. No WaPo, read The Guardian. No SpaceX into orbit, I never left Issaquah. No Starlink, just Xfinity ISP for me. No AWS, just a stack of old Linux laptops. I bought two books and 2lbs of coffee from Amazon. I wish I knew how to quit you.

I started something new: I am turning my FPGA blog series (link) into a book, "FPGA Chip Design for Speed, Area, Power, and Reliability." I even signed a contract with a publisher last month. I look forward to sharing with everyone when I am done in 2025. blackmesalabs.wordpress.com/2024/05/27/b...

blackmesalabs.wordpress.comBML FPGA Design Tutorial Part-IntroTable of Contents:Part-1 : So what is digital logic design exactly?Part-2 : Using structural Verilog to make a working FPGA design.Part-3 : Using RTL Verilog and HDL to infer a working FPGA design.…

My oldest daughter is 3rd generation UW Husky. She took me to the UW-USC game last night (26-21 Win!). I always enjoy going back on campus and seeing what is new and what hasn't changed. The Paul Allen Electrical Engineering building left of fountain is amazing. I love being back. Class of 1993.

I find it odd that we all don't have $500 sunglasses that act as 1080p displays for our iPhones and stream Roku TV shows direct to our eyes. People won't walk around wearing $1,000 ski goggles for this - Ray Bans though!. Is it only battery technology that is preventing this, or something else?

Kevin : Write a thriller novel starring Steamboat Willie as a secret agent that HALO jumps into Taiwan to stop a Chinese invasion. The novel should involve AI and TSMC and have a happy ending.

I'm on break for a week and decided to go down the AI rabbit hole and learn hands on about LLM with ChatGPT-3.5 ( chat.openai.com ) on my time off. Very impressed with its ability to generate example Python for solving problems. Definitely not sentient, more like the ship's computer on Star Trek.

You can ask it something like "Give me a Fourier analysis of the dataset [ 0,1,1,1,1,0,-1,-1,-1,-1 ] at 100 MSPS" and it will spit out some Python using appropriate modules (numpy and matplotlib) that does just that. It won't write entire apps, but it can send you down the right path with examples.

Being able to deposit a check at your bank by taking a picture of it with a telephone at home is one of those technology progression things I just never would have predicted. Remember "Back to the Future - Part II" where Fax machines in every room was the big tech prediction of the future?