r/ComputerEngineering • • 12d ago

[Software] A 16-bit computer made from ~900k NAND gates that runs its own OS with a file system, text editor and assembler

92 Upvotes

This is a computer built entirely from NAND gates in Gate Singular, a logic simulator game. In the video it assembles a Hello World on the machine itself, and then runs it.

Specs:

- 16-bit CPU with 24-bit instructions (8-bit opcode + 16-bit data)

- 30 instructions (206 if you count the variants of where operands come from and where the result goes)

- 1 KB of RAM and 24 KB of ROM in a shared address space, 2 registers, a 16-level stack, an 8-entry keyboard event queue, and a 64x64 screen with write-only VRAM

- Every instruction, including multiplication and division, runs in one clock

- Everything is made from 909191 NANDs. On top of that there are only buttons/toggles/LEDs and clock sources for temporal completeness. Nothing else is used.

The OS lives in the 24 KB ROM. It has a file system (in RAM), a text editor, memory management, an assembler to build new programs, and an OS API that those programs can use: text printing, memory allocation, file system access, keyboard input, etc.

By the way, I made the simulator game too (link in the comments).

I made it because I wanted one without the "1-tick delay per gate", and with full support for feedback between gates (e.g. so you can build proper D-latches from NANDs).

I'm happy to answer any questions about the CPU or the simulator.


r/ComputerEngineering • • Oct 22 '26

Fry my resume for a cookie

Post image
92 Upvotes

r/ComputerEngineering • • Mar 29 '24

Advice to those new to their EE/CE careers

91 Upvotes

I've been a VLSI design engineer for 25 years, and I was lucky to have an amazing manager on my first job, who gave me fantastic advice that might help others. First is the topic of anxiety from imposter syndrome: (timelines will vary)

  • The majority of what you need to know will be learned on the job, not from school, so imposter syndrome is standard.

  • More than anything else, you need to adjust your expectations. Find someone who can act as a mentor.

  • First 6 months to a year will be “I don’t know what I’m supposed to do. Can you point me to some documentation or training materials that I can use?

  • One to three years will be “this is what I think I should be doing, and this is how I think I should do it. Can you review my plan and provide feedback before I start?”

  • 3 to 5 years will be “here are the results you are looking for”

  • 5 to 10 years will be “here are the results you are looking for, but I have ideas on how we can do it better and faster”. Also you will be called upon as a mentor

  • 10+ years will be “here’s my team’s results that you are looking for”

Some of my advice on how to quickly become an effective engineer:

  • Find other star-performer engineers:

    • raid their bin directories and steal all their code

    • understand their choices in tools and workflows and emulate

    • don't be afraid to ask "How did you figure that out?" The good ones are always excited to explain

  • Build your network of contacts. For example I'm in physical design, but I have a list of go-to people if I have a question about architecture, RTL, technology, integration, silicon debug, phyv, packaging, stdcells, CAD, etc. They don't have to know the answer, they just need to help me find the right person to ask.

  • When you are starting... FOLLOW THE METHODOLOGY GUIDELINES. It will be tempting to squeeze a tiny bit of performance or area by doing some off-the-beaten path approach. What you may not be aware of, are the decades of institutional knowledge that goes into the provided correct-by-construction approach. For example, you may be tempted to design your own custom set-reset flop with an AOI22MUX2 built into the front, to save 5ps on a timing path. You might not be aware that you just signed up for weeks of learning how to perform writability, stability and variation analysis, not to mention that your job is on the line if your custom flop ends up being the reason that silicon doesn't yield. You could have saved that 5ps in less time with less risk, by optimizing something else in the path.

  • At the 3-5 year mark, when you are comfortable with your day job, find some aspect of your job to specialize in. I typically choose something where I see lots of inefficiency and opportunity for improvement. Learn why things are done the way they are, before suggesting improvements. Eventually you'll become the local team expert, and later maybe site expert, or even someday the company expert. This is a great way to attain visibility.

  • When I started, I was very apprehensive to suggest ideas or present to a team of experienced engineers. Not knowing what I didn't know, sets me up for surprise questions that I can't answer or even worse contradict my suggestions. The way I worked around this, was that prior to my official presentation, I would meet and present my material individually to the people who would be attending the larger presentation. It's much easier to collect feedback on a 1-on-1 environment than in a conference room. That way when I present to the larger team, I can see a lot of people nodding in agreement while I speak, which is a huge confidence booster.

If you've gotten good advice over the years, feel free to share. I'll try to answer questions if anyone has any.


r/ComputerEngineering • • Apr 24 '24

[Discussion] The culture divide between computer engineering and computer science is becoming quite noticeable

89 Upvotes

Slightly off topic from actual computer engineering (this question is genuine interest and I just wanna hear some ideas), but I think workplace/professional culture is a large part of talk in the “tech” industry today. Even in college it is incredibly noticeable, the divide between computer science and computer engineering.

From what I have seen on the internet and picked up from my classes in college, it seems those that lean into computer engineering (or computer science with concentration in hardware) tend to really be nerdy for the topic of computers. They might not have to give up all their time for it, but it seems that these types of people tend to enjoy learning about the stuff and genuinely enjoy their classes. I know me and my computer engineering pals either are really into programming or really into hardware and we like to mess around with little projects and are genuinely interested in the topic.

Meanwhile, I find computer science majors (specifically those going into software engineering/ software and systems degrees) and software engineers (career wise) to complain quite a bit about their coursework/jobs and tend to not really enjoy what they do. It is kind of strange to me why this occurs because it seems like a recent shift within the last 10 years has caused a major uptick in software engineers who are basically over glorified finance majors working in web dev who constantly talk about their “stack” and are really interested in shit like crypto and blockchain. Also there is a lot of people who get into it because they think it’s “easy” money and that it’s not as hard as engineering. The field is WILDLY oversaturated

I am not necessarily trying to shit on the computer science majors out there, I know some great guys. But I also know wayyy too many shitty people in my cs classes as compared to my computer engineering classes and I’m more of wondering what caused this divide? I don’t think computer science is that easy, but it seems like it’s because universities have began spoonfeeding cs majors because of the huge crowd piling into the cs classes that make sit easy to float by on Cs. Also it’s just kind of annoying when I’m trying to discuss programming with other people and they start talking about their tech stack and all this overly complex mumbo jumbo that doesn’t even make a difference. I like to call these guys “tech hipsters”

What do you think? Does it matter? Does it not matter? Do these people annoy you? Are you this person (if so I’m sorry)? Most importantly, what led to the state of cs that it is in right now.


r/ComputerEngineering • • Jun 05 '26

WTH is computer engineering

88 Upvotes

finished my degree and to this day i am confused what does CE actually do and mean can yall explain me.....

i am asking what kind of job CE are supposed to do because the job market i am in rn everywhere i go i see IT, CS , Bachelor in computer applications guys , freaking mechanical engineers who know coding, bachelor in information management people, random uncle who picked up python 1 year ago,

what is the CE specific degree we are supposed to do and where tf are they i dont see any CE specific jobs well at-least in the country where i am from...like which job specifically hires COMPUTER ENGINEERS ykwim.

Like yes this IT field everyone can enter so what is the job market or field where Computer Engineers are specifically selected......


r/ComputerEngineering • • May 11 '25

If CS students are snobby, and EE students are assholes. Does that mean we are snobby assholes?

88 Upvotes

r/ComputerEngineering • • Dec 21 '18

Maze solving robots my team made for our Computer Engineering senior capstone project.

88 Upvotes

r/ComputerEngineering • • Sep 13 '26

[Discussion] 21, 3rd-year Computer Engineering student. Is the future really this bad?

86 Upvotes

I’m 21 and currently in my 3rd year of Computer Engineering. I’ve applied to a lot of internships and have been rejected from every single one so far.

What worries me even more is that I’ve also been rejected from some minimum-wage jobs that have nothing to do with engineering. I've been working since the age of 18

With AI developing so quickly, I’m starting to wonder whether things will actually get better for engineering graduates, or whether the job market is only going to become more competitive.

Is it still worth finishing my degree and pursuing Computer Engineering, or am I wasting my time? I’d really appreciate some honest advice from people already working in the industry.


r/ComputerEngineering • • Aug 13 '24

Anyone else have their passion completely drained by engineering jobs?

86 Upvotes

I studied CpE because I've always been completely fascinated with computers. Taught myself Java in highschool, and wanted to learn more about what was going on under the hood. Absolutely fell in love with digital design and computer architecture in college. I knew immediately that it's what I wanted to do. I found myself studying it and practicing even outside of school assignments. Now, I've been doing it professionally for about 5 year, and I am completely miserable. I dread waking up and going to work every. single. day. It takes all of my time and completely drains me of all mental and physical energy. It's even sucked the fun out of all of my hobbies. For example, I used to love cars. I would read about them, work on them, talk about them, etc. Now I just.... don't care about anything. Have any of the more experienced engineers here gone through this?


r/ComputerEngineering • • May 29 '25

[Career] How do I break into the CPU design industry?

85 Upvotes

I quite literally made this account for the sole purpose of posting this. For context, I'm a third year undergraduate student from a t20 school, and my plan is to get my master's and bachelor's in ECE when I'm out in May 2027. I still haven't gotten a proper internship in my time as an undergraduate.

My project work mainly consists of our standard course project work in C and SystemVerilog (memory allocators, risc-v cores, network on chip) and some small hobby RTL projects like recreating Tetris on my FPGA. Over these coming months, I'm rounding up some friends so we can try to make a working Tomasulo machine. Are there any other projects or ideas I could be working on to make my portfolio stand out from the crowd?

Over my last year I flopped all of my first round interviews for various verification and digital design roles, and I'll be the first to admit that I'm pretty bad at doing on-the-spot design problems. Does anyone have any resources on how to crack these kinds of interviews? Is there a "LeetCode" for RTL and design?

I was also wondering what smaller companies should I be applying for, as I don't particularly know many companies which look for Computer Architecture roles other than Apple, Intel, AMD, and NVidia. What startups are up and coming?


r/ComputerEngineering • • Apr 17 '19

Clocking through parallel D- flip flops with a serial input

84 Upvotes

r/ComputerEngineering • • Mar 26 '19

Teaching my self the basics of computer engineering/electrical engineering , set up

Post image
84 Upvotes

r/ComputerEngineering • • Jun 13 '26 Bravo

Do you think its still worth to study Computer engineering when its seems so cooked with high unemployment?

83 Upvotes

I have looked at some stats and it seems that new grads in Computer engineering have 7.5% unemployment and it seems terryfying its worse than CS with 7%.

Do you think that its still worth it to study it if im passionate or I should rather look for something actually employable isnted of Computer engineering?


r/ComputerEngineering • • Feb 15 '21

A computer calculator built from the rawest level of electronics (WIP)

Thumbnail
youtube.com
81 Upvotes

r/ComputerEngineering • • Jan 26 '26

[Career] Is my resume Cooked?

Post image
79 Upvotes

I've only managed to get 3 interviews and flunked all of them due to the technical questions. But recently I havent even been able to land any interviews and I'm graduating this winter. I feel like I have too many projects but I don't have any internship exp to replace with and my gpa is subpar for the lack of exp, anyone manging to land jobs without internships ?


r/ComputerEngineering • • Sep 06 '25

[Project] Logic Circuit

Thumbnail
gallery
79 Upvotes

The best thing i could do in logic circuts ( 6 months ago) was flappybird [first picture]

Now i completed my 32-bit cpu [second picture]

-4khz -32x32bit rej.file -1kb inst.memory -2kb programm memory -16 instruction alu -32x32bit callstack

Good progress right?

*if you look at my cpu you might see a Duplicated circuts and sub-ic, that's because at some point i have to use the same memory circut


r/ComputerEngineering • • May 08 '25

What kind of jobs can a computer engineering major do?

79 Upvotes

I majored in Computer Engineering and I am about to graduate with a 2.8 GPA. I sent out about 200 resumes and willing to relocate and no jobs want me. After some deep thoughts and reflections I realize I am an average student and I am not that interested in coding really. When I am given a piece of code, I only understand some part of it and it takes a long time for me to figure out things. There was one class which required students to form groups and code an Android app. To be honest, I wasn't being lazy at all, I simply have no idea how my fellow classmates come up with the code from scratch and 'made it happen'. I tried to google how to code part of the app, as I was supposed to, and of course the information I got wasn't too useful. Sometimes Google didn't give me any answers. I failed to contribute and luckily I still got a C in the class.

To those who majored in Computer Science or Computer Engineering, what are your thoughts? Do you know how to code a website or an app entirely by yourself? What kind of projects have you done before you graduate/ land your first job? I wanna know how far behind I am. I looked at many entry level job description on Indeed and there are simply so many skills required that I haven't even heard of in school. To those who already have a job, what's your daily job duties look like? Have anyone been laid off?

I am a lost student and really could use some help!


r/ComputerEngineering • • Nov 03 '23

[Discussion] How did people discover all this stuff?

78 Upvotes

I am studying this stuff in college right now, and one question I keep having is how did someone just discover computer engineering. How did they know to figure logic gates, binary operations, and digital design and then using that to create computers. Then creating programming languages for those machines to control them. It just seems so complicated, and while I understand the concepts I don't see how people could just randomly figure it all out.

At least with Mechanical Engineering you could observe the motion of objects, and put theories together. This stuff is like black magic though.


r/ComputerEngineering • • Apr 05 '24

Is this program more hardware or software?

Post image
77 Upvotes

I am currently an Electrical engineering student (2nd semester) but am looking to switch to computer engineering because I like the job prospects and the software side a little more. Is this a good program?


r/ComputerEngineering • • Sep 19 '21

Do you regret going go computer engineering instead of computer science ?

77 Upvotes

Do you regret taking computer engineering degree while computer science is relatively easier and in both cases their is high chance that you will in up in a software engineering job ? In other words why didn't you choose computer science ?


r/ComputerEngineering • • Jul 31 '26

Started applying for jobs in December 2025, accepted my first offer in march 2026

Post image
76 Upvotes

r/ComputerEngineering • • Mar 07 '26

[Project] I built my own video game console from scratch!

76 Upvotes

Hello everyone, I am a freshman studying computer engineering, and I wanted to share with you guys a project I had been working on for these past couple of months. I built my own video game console from scratch that plays pong, tic-tac-toe, and snake

I designed a 32-bit 5-stage piplined cpu with my own RISC inspired ISA. It has proper hazard handling with forwarding, flushing, and stalling when necessary. It also has BTFNT branch prediction.

I designed my own assembler for the CPU in java for ease of coding, and I designed a VGA controller and pixel buffer so I could display pixels on my monitor.

Finally, using my assembler I programmed the three games that I mentioned earlier. If anyone is interested in looking at the design, or a showcase of the console, ill link the GitHub repo and the YouTube video below.

I am looking for another project to develop some skills to go into either embedded systems engineering or hardware design, does anyone have any suggestions? For now, I am just going to work on developing an AXI4 lite bus for my pixel buffer.

juniornoodles/Console-Project: A place to show my code that I write for making a video game console

https://www.youtube.com/watch?v=-UYqvH0gnEA&t=1s


r/ComputerEngineering • • Jul 29 '25

First computerized emoji was actually the heart from the early 1960's

Thumbnail
gallery
76 Upvotes

The first computerized emoji what's actually a heart. The design was in the computer and also put on the drum of the printer. But because there was only 96 keys on the keyboard, they couldn't access the row of hearts either on the screen or the printer. So for all this time this computerized. emoji has been hidden until now.


r/ComputerEngineering • • Sep 12 '23

Is A Computer Engineering Degree Worth It Now?

76 Upvotes

I am at my final year of high school and I am considering pursuing Computer Engineering for post-secondary education. I know that there has been a great demand for computer engineering in the past decade and there are a lot of career options to choose from. I tried to explain it to my parents and they're concerned that it won't be stable career in the future because of AI.

Are their concerns valid? Should I choose another career pathway if I am aiming for stability and long-time employment?