latest news

in this website, we will provide you all new latest news

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Wednesday, 28 January 2026

New top story on Hacker News: Show HN: SHDL – A minimal hardware description language built from logic gates

 Champ     11:21     Hacker News     No comments   

Show HN: SHDL – A minimal hardware description language built from logic gates
3 by rafa_rrayes | 0 comments on Hacker News.
Hi, everyone! I built SHDL (Simple Hardware Description Language) as an experiment in stripping hardware description down to its absolute fundamentals. In SHDL, there are no arithmetic operators, no implicit bit widths, and no high-level constructs. You build everything explicitly from logic gates and wires, and then compose larger components hierarchically. The goal is not synthesis or performance, but understanding: what digital systems actually look like when abstractions are removed. SHDL is accompanied by PySHDL, a Python interface that lets you load circuits, poke inputs, step the simulation, and observe outputs. Under the hood, SHDL compiles circuits to C for fast execution, but the language itself remains intentionally small and transparent. This is not meant to replace Verilog or VHDL. It’s aimed at: - learning digital logic from first principles - experimenting with HDL and language design - teaching or visualizing how complex hardware emerges from simple gates. I would especially appreciate feedback on: - the language design choices - what feels unnecessarily restrictive vs. educationally valuable - whether this kind of “anti-abstraction” HDL is useful to you. Repo: https://ift.tt/pbvB8o5 Python package: PySHDL on PyPI To make this concrete, here are a few small working examples written in SHDL: 1. Full Adder component FullAdder(A, B, Cin) -> (Sum, Cout) { x1: XOR; a1: AND; x2: XOR; a2: AND; o1: OR; connect { A -> x1.A; B -> x1.B; A -> a1.A; B -> a1.B; x1.O -> x2.A; Cin -> x2.B; x1.O -> a2.A; Cin -> a2.B; a1.O -> o1.A; a2.O -> o1.B; x2.O -> Sum; o1.O -> Cout; } } 2. 16 bit register # clk must be high for two cycles to store a value component Register16(In[16], clk) -> (Out[16]) { >i[16]{ a1{i}: AND; a2{i}: AND; not1{i}: NOT; nor1{i}: NOR; nor2{i}: NOR; } connect { >i[16]{ # Capture on clk In[{i}] -> a1{i}.A; In[{i}] -> not1{i}.A; not1{i}.O -> a2{i}.A; clk -> a1{i}.B; clk -> a2{i}.B; a1{i}.O -> nor1{i}.A; a2{i}.O -> nor2{i}.A; nor1{i}.O -> nor2{i}.B; nor2{i}.O -> nor1{i}.B; nor2{i}.O -> Out[{i}]; } } } 3. 16-bit Ripple-Carry Adder use fullAdder::{FullAdder}; component Adder16(A[16], B[16], Cin) -> (Sum[16], Cout) { >i[16]{ fa{i}: FullAdder; } connect { A[1] -> fa1.A; B[1] -> fa1.B; Cin -> fa1.Cin; fa1.Sum -> Sum[1]; >i[2,16]{ A[{i}] -> fa{i}.A; B[{i}] -> fa{i}.B; fa{i-1}.Cout -> fa{i}.Cin; fa{i}.Sum -> Sum[{i}]; } fa16.Cout -> Cout; } }

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • 简报:中美发表应对气候危机联合声明;医生称纳瓦尔尼病危
    By BY EMILY CHAN AND KONEY BAI from NYT World https://ift.tt/3dva1lP via IFTTT
  • New York Post Reporter Who Wrote False Kamala Harris Story Resigns
    By BY MICHAEL M. GRYNBAUM from NYT Business https://ift.tt/3aKd8Ex via IFTTT
  • New top story on Hacker News: Visa and Mastercard are getting overwhelmed by gamer fury over censorship
    Visa and Mastercard are getting overwhelmed by gamer fury over censorship 181 by mrzool | 134 comments on Hacker News.
  • New top story on Hacker News: The Power of Starting Again
    The Power of Starting Again 10 by memorable | 2 comments on Hacker News.
  • New top story on Hacker News: Organic Maps migrates to Forgejo due to GitHub account blocked by Microsoft
    Organic Maps migrates to Forgejo due to GitHub account blocked by Microsoft 30 by mraniki | 8 comments on Hacker News.
  • New top story on Hacker News: Ask HN: How to be productive with big existing code base
    Ask HN: How to be productive with big existing code base 134 by maheshs | 103 comments on Hacker News. I have just started working with o...
  • New top story on Hacker News: My Experience with Claude Code After 2 Weeks of Adventures
    My Experience with Claude Code After 2 Weeks of Adventures 3 by dejavucoder | 0 comments on Hacker News.
  • New top story on Hacker News: Ask HN: Who wants to be hired? (July 2025)
    Ask HN: Who wants to be hired? (July 2025) 13 by whoishiring | 82 comments on Hacker News. Share your information if you are looking for ...
  • New top story on Hacker News: Nuclear Waste Reprocessing Gains Momentum in the U.S.
    Nuclear Waste Reprocessing Gains Momentum in the U.S. 14 by rbanffy | 4 comments on Hacker News.
  • New top story on Hacker News: Instrumenting Next.js with runtime secret injection
    Instrumenting Next.js with runtime secret injection 6 by nimishk | 3 comments on Hacker News.

Recent Posts

Categories

  • BBC News
  • BBC News - Technology
  • BBC News - World
  • BOLLYWOOD Jagran Hindi News - entertainment:bollywood
  • CBNNews.com
  • CLASS 10 BEST BOOKS FOR BECOME A TOPPER
  • CRICKETJagran Hindi News - cricket:headlines
  • FOX NEWS
  • Hacker News
  • INDIAJagran Hindi News - news:national
  • NYT
  • Reuters: World News

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • ▼  2026 (59)
    • ►  February (2)
    • ▼  January (57)
      • US government partially shuts down despite last mi...
      • New top story on Hacker News: Guest Post from an I...
      • New top story on Hacker News: HTTP Cats
      • Mali lawmaker jailed in Ivory Coast for insulting ...
      • New top story on Hacker News: AI's Impact on Engin...
      • New top story on Hacker News: Show HN: SHDL – A mi...
      • Iran's internet is returning - but not for everyone
      • New top story on Hacker News: Doing the thing is d...
      • New top story on Hacker News: JuiceSSH – Give me m...
      • Winter storm grips US as millions face power outag...
      • How Soviet urban planning is helping Russia freeze...
      • New top story on Hacker News: Ask HN: Gmail spam f...
      • New top story on Hacker News: Waypoint-1: Real-Tim...
      • Alleged drug kingpin and ex-Olympian Ryan Wedding ...
      • What we know about Trump's 'framework of future d...
      • Taylor Swift makes history as she joins Songwriter...
      • New top story on Hacker News: The 26,000-Year Astr...
      • Shock and confusion as Spain struggles for answers...
      • New top story on Hacker News: Notes on Apple's Nan...
      • New top story on Hacker News: Fix Your Robots.txt ...
      • New top story on Hacker News: Echo Chess: The Ques...
      • Israel pushes back on Trump's picks for executives...
      • What a seventh term for 81-year-old leader means f...
      • New top story on Hacker News: Show HN: Minikv – Di...
      • New top story on Hacker News: OpenAI to test ads i...
      • New top story on Hacker News: Canada's deal with C...
      • New top story on Hacker News: Emoji Use in the Ele...
      • New top story on Hacker News: The Alignment Game
      • New top story on Hacker News: Supply Chain Vuln Co...
      • Large fire breaks out in Dutch city of Utrecht fol...
      • Tehran morgue videos show the brutality of Iran's ...
      • New top story on Hacker News: East coast. Verizon ...
      • New top story on Hacker News: We rolled our own do...
      • New top story on Hacker News: Unauthenticated remo...
      • Meta blocks 550,000 accounts under Australia's soc...
      • New top story on Hacker News: Show HN: Epstein IM ...
      • New top story on Hacker News: Are We ... Yet?
      • New top story on Hacker News: Rats caught on camer...
      • New top story on Hacker News: Side-by-side compari...
      • New top story on Hacker News: Scientists discover ...
      • Trump's warning looms over Iran protests response
      • New top story on Hacker News: Nvidia Kicks Off the...
      • Bowen: Trump risks pushing world back to age of em...
      • New top story on Hacker News: Polymarket refuses t...
      • Yemen separatist leader accused of treason as Saud...
      • Macron hosts Ukraine and allies to try to cement s...
      • New top story on Hacker News: Observability's past...
      • Trump's seizure of Maduro raises thorny legal ques...
      • Can Maduro's trusted lieutenant now work for Trump?
      • New top story on Hacker News: Venezuela's interim ...
      • Spies, drones and blowtorches: How the US captured...
      • New top story on Hacker News: Show HN: FP-pack – F...
      • Reporter in Caracas describes hearing loud bangs a...
      • New top story on Hacker News: The rsync algorithm ...
      • New top story on Hacker News: Fighting Fire with F...
      • New top story on Hacker News: Show HN: Feature det...
      • Two killed in clashes between protesters and secur...
  • ►  2025 (738)
    • ►  December (53)
    • ►  November (52)
    • ►  October (60)
    • ►  September (61)
    • ►  August (63)
    • ►  July (71)
    • ►  June (64)
    • ►  May (71)
    • ►  April (61)
    • ►  March (66)
    • ►  February (51)
    • ►  January (65)
  • ►  2024 (756)
    • ►  December (73)
    • ►  November (69)
    • ►  October (64)
    • ►  September (58)
    • ►  August (71)
    • ►  July (63)
    • ►  June (63)
    • ►  May (64)
    • ►  April (64)
    • ►  March (66)
    • ►  February (35)
    • ►  January (66)
  • ►  2023 (1593)
    • ►  December (64)
    • ►  November (69)
    • ►  October (80)
    • ►  September (112)
    • ►  August (111)
    • ►  July (129)
    • ►  June (135)
    • ►  May (181)
    • ►  April (173)
    • ►  March (189)
    • ►  February (166)
    • ►  January (184)
  • ►  2022 (2295)
    • ►  December (177)
    • ►  November (178)
    • ►  October (202)
    • ►  September (194)
    • ►  August (194)
    • ►  July (198)
    • ►  June (184)
    • ►  May (186)
    • ►  April (195)
    • ►  March (184)
    • ►  February (183)
    • ►  January (220)
  • ►  2021 (7845)
    • ►  December (335)
    • ►  November (635)
    • ►  October (656)
    • ►  September (636)
    • ►  August (713)
    • ►  July (713)
    • ►  June (690)
    • ►  May (707)
    • ►  April (690)
    • ►  March (713)
    • ►  February (644)
    • ►  January (713)
  • ►  2020 (8315)
    • ►  December (713)
    • ►  November (688)
    • ►  October (614)
    • ►  September (690)
    • ►  August (713)
    • ►  July (713)
    • ►  June (690)
    • ►  May (713)
    • ►  April (690)
    • ►  March (711)
    • ►  February (667)
    • ►  January (713)
  • ►  2019 (19506)
    • ►  December (712)
    • ►  November (689)
    • ►  October (712)
    • ►  September (681)
    • ►  August (712)
    • ►  July (713)
    • ►  June (689)
    • ►  May (2935)
    • ►  April (2907)
    • ►  March (3014)
    • ►  February (2731)
    • ►  January (3011)
  • ►  2018 (21108)
    • ►  December (3036)
    • ►  November (2927)
    • ►  October (3024)
    • ►  September (2931)
    • ►  August (3016)
    • ►  July (3033)
    • ►  June (2790)
    • ►  May (350)
    • ►  March (1)

About Me

Champ
View my complete profile
Powered by Blogger.

Sample Text

Copyright © latest news | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com