Zip CPU @zipcpu
FPGA design engineer and blogger, placing particular emphasis on test and formal verification zipcpu.com Gisselquist Technology, LLC, Joined January 2017-
Tweets8K
-
Followers9K
-
Following238
-
Likes8K
@Burito_Joe I needed to make certain the IP wasn't in one of the two states listed. The proper boolean expression would've required &&, not ||. As written with ||, the condition will always pass--the FSM state can never equal both of the states its being checked against at once.
I can't say I've never made this mistake before Note that TFR_WRITE != TFR_TXPARITY ... otherwise this might've worked accidentally ...
Just for context, r_transfer is the name of the state variable -- although the bug would still be a bug either way.
Further, because this is intended to be an ASIC design, all cache accesses--both tag and memory--will be single port only, for area reduction purposes. That's just a sample of some sticky details.
One subtle reality, is that the two streams (read/write) of such a cache cannot be independent. If nothing else, they will need arbitration to access tag memory. This is in contrast to most of my AXI work, where I try to keep the read/write FSMs as independent as possible.
This weeks design puzzle has been to build an AXI cache: AXI in, AXI out with all WSTRB bits set. I've been a bit surprised at the requirements of such a controller, and the more I've dug into it, the more challenging and complex it becomes.
This stack exchange post has a good description of the problems with using AES-CTR for memory encryption. I love the included pictures. They tell the story well. crypto.stackexchange.com/questions/59/t…
@TheRetroHQ ROMs take space, but they can be placed on ASICs. It depends on your technology. ROMs that are small enough can be built out of logic. Yes, you can reset an internal RAM from a ROM. You can also use an external flash if necessary.
One of the differences between ASIC and FPGA design is the initial statement. ASICs don't support them. To build IP that works across technologies, I've had to be very careful where, when, and how I use such statements. In many cases, I've had to remove them over time when my FPGA designs later become ASIC designs.
@zipcpu They don't, as long as you define their initial state in register declaration to avoid X's in simulation, and of course to get the initial state that you want, whether 0 or 1.
@bradipao @samsoniuk @ASiDesigner Three examples where memory reset is needed: 1) Security applications, where you have to guarantee no memory leakage, 2) Histogram accumulators, 3) GPS correlation accumulators. These aren't common examples, but they do happen.
@samsoniuk @ASiDesigner It takes work--often a small FSM, coupled with a controller that holds READY low while running. I had to do this with my histogram generator.
Whoever thought AES-CTR could be used to secure memory ... is offering an expensive encryption that looks good but offers zero security.
Sure, I get it. There is one other issue to be aware of: If you get rid of the all internal reset, in favor of an initial statement, then the only way to reset the design will be a full reconfiguring of the FPGA. That's a design choice. Is it what you want? Practically, that's what I used to do. I argued for it often. Then I came across issues with hardware that required resets. (The CPU hit a bug and needs to be reset, but I don't want to reset the whole system, the I2C system locked up, etc.) Resets within the design, even partial ones, can be quite valuable.
In the end, I just had to swallow my pride, say, "Yes, sir! That's a good catch. I'll fix it right away," and then go on with generating a new release. Yes, I knew the first release would've worked, but no one wanted to take that chance on simple trust.
Arguably, the impact of any initial statements within a design on tainting any simulation results is a very real and valid threat to verifying any would-be ASIC IP, so I get their point.
Here's the kicker. In one ASIC project, I was trying to cross from the JTAG clock domain to the system clock and back again. The two domains had separate and independent resets. To be useful, I had to AND the two negative edge resets together, then synchronize their release to get the CDC module to meet its formal assumptions. Crossing reset domains like that breaks timing. I could no longer guarantee setup and hold timing on any of two individual reset paths, I could only accept the violation, accept that it would yield uncertain results for a clock cycle or two, and then go on. It's not ideal, and the hand-waiving stinks. If you can think of a better solution, let me know and I'll try it.
I love the technique. I use it often. It's become a go-to approach for moving everything across clock domains slowly. As a result, the logic quietly moves from one project to another. It's now been in a couple ASIC projects as well. Here's the post for reference: zipcpu.com/blog/2020/10/0…
Some time ago, I posted an article on how to move values and strobes across clock domains. The module was powerful, very versatile, and easy to work with. It had one flaw: it required a reset that would active in both clock domains at the same time, then synchronously release.
One of the challenges I've had with longer resets is that system reset control tends to be at the top level. Hence, when using a longer reset, you can no longer verify low level modules independently. (i.e., you have to assume the longer reset.) So ... this can work ... for some IPs. In this case, you'd need to make sure the input to the 2FF was reset, and then that the longer reset lasted at least 2 clocks in each domain--perhaps longer.
The issue is the missing reset. 2FF synchronizers need asynchronous reset. The reset must have a source, common to both clock domains, and it needs to have a synchronized release in each domain.
What do you think, anyone see a bug here? It's a basic 2FF CDC crossing, from one clock to another ...
Adam Taylor @ATaylorFPGA
24K Followers 9K Following FPGA and Embedded Systems expert, Experienced System, Hardware, FPGA designer. Views My Own https://t.co/0PeuyxIVdA https://t.co/PpXTKLHtcS
logic destroyer @splinedrive
21K Followers 367 Following Life’s too short for someone else’s silicon.
Lukas Henkel @QVHenkel
26K Followers 267 Following All things 3D | Rendering | Simulation | Electronics | StartUp | CEO engineering services company - views are my own
Hans Baier @hansfbaie... @hansfbaier
4K Followers 771 Following Computer and electronics and FPGA nerd, session musician (saxophones, EWI, flute), enthusiast photographer. See profile link
Marcelo Samsoniuk @samsoniuk
4K Followers 460 Following An ancient wizard from the 68000 era, maintainer of legacy open-source projects and “true full-stack” developer!
Ian Hanschen @furan
6K Followers 685 Following wrote code you run. punishing hardware. microsoft, intel. dry humor.
Embedded Systems @embedsys
31K Followers 8K Following The embedded systems newsletter. Subscribe here https://t.co/MttQM3M7kU. Weekly selection of embedded software and hardware articles. Hand-made, on Friday
Jon Masters 🏴�... @jonmasters
17K Followers 7K Following Troublemaker | Computer Architect | @Arm Servers Architect @Google | Previously @RedHat, @Nuvia_Inc | Runner | Author | All views my own | #ArmServers
RegYMM レジム @regymm0
3K Followers 726 Following Post-undergrad, FPGA, hardware, osdev. https://t.co/iTO6Xq1QDB :Take my boards home! Delightful in darkness, delicious in dungeon @[email protected]
Weston Braun @WestonBraun
4K Followers 614 Following Power Electronics , Embedded Systems, and ⚡Tesla Coils⚡
Jeff Geerling @geerlingguy
97K Followers 5K Following Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #ansible #k8s #raspberrypi #crohns #ostomy
Claude Schwarz @Claude1079
5K Followers 481 Following 4.5V block battery enthusiast. https://t.co/ucIQ2sR36j
Pieter Ibelings @ibelings
19K Followers 11K Following Physicist, N4IP, Antennas, Space Systems, SDR, RF, RADAR , Phased Arrays, Satellites, Solar Power, PCB Design, AI - Build, baby, build! 🇺🇸🇪🇸
Aaronia AG @Aaronia_AG
18K Followers 16K Following Manufacturer of RF monitoring, direction finding, real-time spectrum analyzer, SDR, CUAS, IQ vector signal generator, network-analyzer, antennas, software & OEM
Victor Suarez Rovere @suarezvictor
2K Followers 849 Following Software, Electronics, DSP. Ready for consulting work. [email protected] / @[email protected]
Jeremy KD8TUO 🇺�... @ElectronicsbyJH
16K Followers 2K Following Metastable Developer 🇺🇸 Ham Radio 📡 I love FPGAs, SDR, & RF/MW. Full-time RF HW Engineer in Aerospace/Defense. EE Ph.D student at Wright State. ㎓ Life.
Mahesh Venkitachalam @mkvenkit
4K Followers 2K Following Author, Consultant. Computer Graphics, Embedded Systems, Photography. Founded @electronutLabs Currently writing a book on WebGPU.
Leo @leob4rd0
1 Followers 39 Following All things AI and Hardware FPGA Lover Founder at @bard0_design https://t.co/Cs7WBwy4hg
2ndView @s3kka_0xFE
5 Followers 332 Following making stuff. :p interested in embedded C and systems programming
JohnBagshaw @JohnBagshaw007
227 Followers 490 Following Space Systems Engineer, Tech Enthusiast, SW|HW Engineer
Harish B @harishb7377
2 Followers 45 Following
mohammad mosleh @MMosleh1370
4 Followers 98 Following Hope is never lost, if you have a dream to fight for.
dhruva aklekar @AklekarDhruva
1 Followers 118 Following
Foura @foura0001
17 Followers 37 Following
Dave @AkihitoKurusu
41 Followers 560 Following
Fsbonetto @reasoningTokens
235 Followers 420 Following Teaching LLMs to think ahead; Learning about ML since 2017
Charles Kinyua @MC_Kinyua
1 Followers 53 Following
Madmax @Maxxam1969
3 Followers 154 Following
Nando @Nando3717557764
0 Followers 37 Following
Fernando @FerchoT555
5 Followers 219 Following
koalazub @elcokoali
161 Followers 3K Following neuromorphic engineering postgrad student | games/web/app developer | constantly questioning the computing architectures of today | never knowing shit
Viktor Váczi @the_vviktor
35 Followers 265 Following Solo-building https://t.co/u8w0FbVlUV: improve your vertical jumps with an AI trainer Founder of Emergence Engineering interested in business, tech, people & arts
Ruben TORNEY @RubenTorney
139 Followers 204 Following 🚀 Entrepreneur · Data, Cloud & AI Architect Building scalable data platforms, AI agents & web products. Azure · Fabric · Databricks · Terraform · Scaleway ···
tamseel @tamseel7799
2K Followers 2K Following Just a soul with stories to tell. 🌙 Words • Feelings • Poetry 🖋️ Choosing peace, always. 🤍
Chimbuchi @_Chimbuchi
30 Followers 346 Following An Irregular || I enjoy teaching rocks to dream electric sheep! || EEE @UniIbadan
Reet Sinha @ReetSinha186675
0 Followers 6 Following
Leeeee @zipleeeeee
71 Followers 55 Following
Rajeshwar Reddy Vemul... @RajeshwarV20625
2 Followers 14 Following
Prosper Dellah Allo�... @DelaProsper
183 Followers 1K Following PhD @queensu Photonics • AI • Neuromorphic Computing
Vishwas Paliwal @vviszard
15 Followers 122 Following a young sensitive aristocrat of soul who writes.
airtl @yuairtl
0 Followers 36 Following
Ahmadhj @Ahmadhjgh
5 Followers 885 Following
vinn @vinn1938828
0 Followers 11 Following
OhmsLawd @ohmslawd
4 Followers 37 Following
shbo @ShboCurious
3 Followers 172 Following Electrical Engineer. Curious to know about Emerging fields. Love to go on long road trips.
AmericanS0N @UsernameAndStuf
348 Followers 542 Following Variation in process = Variation in outcome
Sattwic Setty🏳️�... @sathviksat
82 Followers 1K Following Engineering and life rant. Master's in MSCE TU, Munich. Getting my shit together. I need a man. He/Him.
Shashank Tumuluri @ShashankT_17
53 Followers 79 Following ai research @copperheadhq researching ai for electronics and chip design
Aharon Chetrit @ChetritAharon
1 Followers 16 Following
Learn Circuits @LearnCircuits32
10 Followers 223 Following Learn electronics one small project at a time. Build circuits, write Python, and experiment safely in your browser.
12:00 @gu605cr
8 Followers 337 Following
Adam Taylor @ATaylorFPGA
24K Followers 9K Following FPGA and Embedded Systems expert, Experienced System, Hardware, FPGA designer. Views My Own https://t.co/0PeuyxIVdA https://t.co/PpXTKLHtcS
logic destroyer @splinedrive
21K Followers 367 Following Life’s too short for someone else’s silicon.
hackaday @hackaday
274K Followers 2K Following 🔥 Read: https://t.co/KG4TpCzO7H ☠️ Contribute: tips at hackaday dot com 👉 Projects: @hackadayio #Fediverse: @[email protected] 📒 Learn: https://t.co/p1jaCktSDt
Olof Kindgren @OlofKindgren
7K Followers 59 Following No longer active here. Moved to other similar platforms
Edmund Humenberger @ico_TC
10K Followers 798 Following mostly about open source FPGA tools and chip design tools
Enjoy Digital @enjoy_digital
11K Followers 604 Following Playing/Experimenting with FPGAs, trying to do something useful but also sharing the useless things done in the process :)
Jan Gray @jangray
5K Followers 3 Following
Lukas Henkel @QVHenkel
26K Followers 267 Following All things 3D | Rendering | Simulation | Electronics | StartUp | CEO engineering services company - views are my own
PULP Platform @pulp_platform
8K Followers 1K Following A joint effort of @ETH_en, University of Bologna @Unibo + partners for Parallel Ultra-Low Power computing. Boldly designing open hardware since '13.
Hans Baier @hansfbaie... @hansfbaier
4K Followers 771 Following Computer and electronics and FPGA nerd, session musician (saxophones, EWI, flute), enthusiast photographer. See profile link
Ian Hanschen @furan
6K Followers 685 Following wrote code you run. punishing hardware. microsoft, intel. dry humor.
RegYMM レジム @regymm0
3K Followers 726 Following Post-undergrad, FPGA, hardware, osdev. https://t.co/iTO6Xq1QDB :Take my boards home! Delightful in darkness, delicious in dungeon @[email protected]
Arduino @arduino
499K Followers 380 Following Arduino is a global leader in open-source hardware and software, with over 30 million developers worldwide.
Katie Zacharia @KatieZacharia
327K Followers 2K Following
Sara Gonzales @SaraGonzalesTX
519K Followers 3K Following Host of Sara Gonzales Unfiltered 7 pm ET on @BlazeTV and @TexasScorecard’s Come & Take It | VP of @FamilyProjectTX
FBI Director Kash Pat... @FBIDirectorKash
2.0M Followers 313 Following Director of the Federal Bureau of Investigation, #9
OS Dev @OSdev_
5K Followers 1K Following Senior Engineer @Qualcomm What makes a system well-engineered?
U.S. Navy @USNavy
2.0M Followers 1K Following Official X account of the #USNavy. (Following, reposts and links ≠ endorsement)
FBI @FBI
4.0M Followers 2K Following Official FBI X account. Submit tips at https://t.co/tGqFRcJykB. Public info may be used for authorized purposes: https://t.co/x6bfDUEYeJ.
U.S. Marines @USMC
1.8M Followers 296 Following The official Twitter account of the United States Marine Corps. The appearance of links does not constitute endorsement.
Rapid Response 47 @RapidResponse47
2.3M Followers 69 Following Official White House Rapid Response account. Supporting President Trump’s America First agenda and holding the Fake News accountable. MAGA!
FonTamSOC @fontamsoc
237 Followers 76 Following RISC-V RTOS-enabled multi-core SoC using Wishbone4 Interconnect.
Department of War �... @DeptofWar
7.6M Followers 642 Following Official U.S. Department of War X account.
Department of State @StateDept
6.8M Followers 410 Following Leading U.S. foreign policy and American diplomacy since 1789. For all Department accounts: https://t.co/VpbtF1M8HK
U.S. Air Force @usairforce
1.8M Followers 627 Following Official U.S. Air Force X: The appearance of hyperlinks does not = endorsement. Comment moderation & endorsement disclaimer: https://t.co/ueEIVwJZNh
Fairfax GOP @FairfaxGOP
10K Followers 3K Following The official @GOP committee in #FairfaxCounty, Virginia.
U.S. Central Command @CENTCOM
1.8M Followers 121 Following The official account of U.S. Central Command.
Breccan F. Thies @BreccanFThies
14K Followers 748 Following White House Correspondent @FDRLST | fmr @dcexaminer, @BreitbartNews | Publius Fellow @ClaremontInst | Sic semper tyrannis | Wahoowa | [email protected]
Senate Republicans @SenateGOP
1.7M Followers 148 Following Updates from Senate Republicans and the Senate Republican Conference, led by @SenTomCotton.
Office of the DNI @ODNIgov
371K Followers 144 Following The Office of the DNI oversees the U.S. Intelligence Community & serves as principal adviser to the President of the United States on intelligence issues.
Shahriq Khan @RealShahriqKhan
33K Followers 28 Following I Prayed To Allah. Jesus Answered. Founder of Christ Underground, the largest global community and grassroots movement equipping the church to reach Muslims. 👇
DNI Pulte @DNIPulte
160K Followers 2 Following This is an archived account of Acting Director of National Intelligence Bill Pulte.
Oversight Project @ItsYourGov
149K Followers 0 Following We fight for you and everyday Americans for an accountable government that serves your interests. We do it because It's Your Government.
FAFO Farms @FAFOFarmsTX
36K Followers 2K Following Micro Raw Dairy Farm in the heart of Texas. Pastured dairy & eggs. Faith Abundant & Food Overcome. We're farming around & finding out. ✝️🐓🐑🐄🇺🇲
MOMof DataRepublican @data_republican
115K Followers 10K Following Conservative, Christian, Navy (retired) wife, Grandma to 4, love Florida! Follow my daughter @DataRepublican ! A "like" doesn't mean I agree!
ταῦ @taustw
864 Followers 3K Following EE | Prev. @ Stanford | Tricking rocks into thinking | ex-CERN | ex-🛰️ founder
Julie Kelly 🇺🇸 @julie_kelly2
911K Followers 2K Following Declassified with Julie Kelly https://t.co/n1QSmxxLPz Wife of https://t.co/Ott1obQ9Se
Senator Ron Johnson @SenRonJohnson
709K Followers 1K Following Proud to serve Wisconsin in the U.S. Senate.
National Fraud Enforc... @DOJFraudDiv
173K Followers 10 Following Official account for the National Fraud Enforcement Division at @TheJusticeDept. Privacy Policy: https://t.co/3drAMNXUIX
Susie Wiles @SusieWiles47
373K Followers 66 Following Chief of Staff to 47th President Donald J. Trump. Personal: @SusieWiles
Hung Cao @HungCao_VA
235K Followers 272 Following Christian | Husband | Father | Retired Navy Captain | Former Trump-Endorsed U.S. Senate Candidate for Virginia | *** my views are my own ***
Acting Secretary of t... @SECNAV
86K Followers 2 Following Official X account of the Acting Secretary of the Navy Hung Cao. Following, RTs and links ≠ endorsement.
Tina Peters🇺🇸 W... @realtinapeters
119K Followers 994 Following Fmr Election Official Whistleblower with 7 Felonies and 5 misdemeanors for exposing the traitors of our country S-elections. Gold Star Mom of fallen Navy SEAL
Virginia Project @ProjectVirginia
48K Followers 909 Following History-making PAC from Nov 2019-Jan 2025 Beware of the Leopard
DOJ Rapid Response @DOJRR47
42K Followers 76 Following Official Justice Department rapid response account. 🇺🇸 DOJ’s privacy policy: https://t.co/JZtXf6G4x9
Open Source Intel @Osint613
1.8M Followers 1K Following Monitoring real time news and open source intelligence. Some analysis and comments. Inquiries & Business: [email protected] YouTube: https://t.co/5aMabAgjcm
Traditionalist Wife @TraditionalistW
17K Followers 164 Following Faith · Family · Home ✝️ Wife & mama
Kari Lake @KariLake
3.1M Followers 1K Following Follower of Christ. Jeff’s Wife. Ruby & Leo’s Mom. Trump Administrator leading @USAGM
Stefan Sobkowiak @PermaculOrchard
2K Followers 41 Following Having Fun Restoring Garden Earth. Starting with The Permaculture Orchard. Farmer, YouTuber, content creator, wildlife fan.
0HOUR1 @ZEER0HOUR
367K Followers 973 Following American Crime Watch Digital Forensics Skip Trace https://t.co/ZdcVI73y0x https://t.co/OH8IHAHzgb BLzCkNPGJvLKgVvU393VuQxW7wr2YjPq3YBQWjyLKBTo
Treasury Secretary Sc... @SecScottBessent
1,000K Followers 25 Following 79th United States Secretary of the Treasury
Carissa @njoyzgrl81
72K Followers 6K Following Grateful Wife, Mom, American. Angus rancher. Horse and Mini Donkey Momma, from-scratch cooking with recipes and homesteading helpful hints.
James O'Keefe @JamesOKeefeIII
3.6M Followers 2K Following Guerrilla Journalist. CEO of @Okeefemedia Group, Founder, Project Veritas (CEO ‘09-‘22) SIGNAL: 9144919395 Attend the 2nd Annual Citizen Journalist Gala👇
























