Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bendy509

25
Posts
3
Topics
1
Following
A member registered Apr 21, 2025

Recent community posts

That's a 3-bit op ALU(add/sub, bitwise operation and shift) and three flags.

The more components you use, the slower the simulation became. You need to find the perfect steps per clock tick for your project. More component= More steps per clock tick.
You can try to simplify by using less component. Create your chip via nand. Use ROM for decoder, 7 seg disp, etc...That's an 8-bits reg faster than the old ways.

What do y'all think?

negative numbers - Digital Logic Sim community - itch.io

Digital Logic Sim community · Created a new topic STACK

What is the easiest way to build a Stack and implant it on CPU?

Diagram?

Try it now

(6 edits)

S= START/STOP
X=ONE STEP
C= CLEAR

The visualization is in HEX code. The steps per clock stick must be at least 7.
It has a multiplication (it also runs division) program on it (Multiplicand=0x000, Multiplier=0x002).
It's better when using HEX format to edit the ROM.
EX: LDX 5= 505 (Three digits. The 1st one is the instruction, and the rest is the data.



https://drive.google.com/file/d/1gX9fHKHZM2ACvy0F13JdNZ6kAkDKj9bM/view?usp=shari...

(1 edit)

It's better when buses are used for the outputs

Digital Logic Sim community · Created a new topic SAP-1

 

INST

Bin

Function

NOP

0000

No operation

LDA

0001

Load accumulator from memory

ADD

0010

Add memory to accumulator

SUB

0011

Subtract memory from accumulator

STA

0100

Store accumulator to memory

LDX

0101

Load external register

JMP

0110

Jump to specified address

JC

0111

Jump if Carry is set

JZ

1000

Jump if accumulator is zero

JNC

1001

Jump if Carry is not set

JNZ

1010

Jump if accumulator is not zero

SHL

1011

Shift accumulator left

SHR

1100

Shift accumulator right

AND

1101

Bitwise AND with memory

OUT

1110

Output accumulator contents

HLT

1111

Halt execution

 

 

What did you use? How is it possible to run the simulation unless you don't use logic gates as the main...?

https://itch.io/profile/ithurius

The better way is to use a RGD display. It has 8 bits address and 12 bits I/O data color. So, you can use the 8 bits address and 2 colors ( a nibble each) to get 8 bits I/O data line.

(1 edit)

Figure-1: J-K FLIP FLOP

Figure-2: D FLIP FLOP 

That's 💥💥🔥🔥🔥🔥🔥

Could you share the file, please?


I think it's because the clock and refresh are wired together. In write mode, if the clock and refresh are wired together (same signal), the RGB display only records the data it receives in real time and erases all received data.

I understand. I should have put an enable pin for the output data in each binary cell. Now, I use RGB display instead. The simulation is still smooth with 64KB RAM

It would be better to use  RGB display. By using two colors, you'll have 256 bytes each RGB  display. 

(1 edit)

Here's the new version of my 64KB RAM (8 data lines I/O width.
I'm all ears for any suggestion. The link file also includes a 256B & 4KB RAM.
https://drive.google.com/file/d/1Q2a-aOKt2muEutrpK58V-gP_3YwMc2Mr/view?usp=shari...
I used RGB display.   ...

(1 edit)

I'm trying to build a large RAM capacity but the simulation gets slower every time I enhance it. 
I'm stocked in 64KB because I need to pause the simulation for viewing or opening it.
N.B: I use logic gates. the binary cell has 3 inputs {select, data, read/write} 

Here is the file link: https://drive.google.com/file/d/1-1ifys702uznO3xJjQy0-F_d9KnuA7W_/view?usp=drive... 

Thanks for your help.

Hi guys,

I have constructed an SR latch, with its inputs (Set and Reset) connected to control signals and outputs as Q and Q̅. However, I am observing that upon using the chip, the latch does not initialize to a predictable state. Sometimes Q is high, and other times it is low, even though the inputs remain stable and no "illegal state" (S and R both high) is introduced. 

Any advice or guidance you could provide would be greatly appreciated. Please let me know if you need further details or screenshots of the circuit design.

Thank you for your time and support.