Search found 46 matches

by Alexander
Wed Mar 22, 2017 4:49 pm
Forum: Circuit Talk
Topic: Building a full featured text terminal/console
Replies: 5
Views: 15120

Building a full featured text terminal/console

I am building some kind of CPU (like many people here) and it was almost complete, but output was made into RAM, and it was very unhandy. So I've decided to build a text console to output characters. This project itself has become very complex! And I've decided to share it step by step. Here I'm sho...
by Alexander
Wed Mar 22, 2017 4:31 pm
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Re: Set default value for input

Hello Hans Cadans,
Of course, you and others can use an ideas and the libraries.
by Alexander
Thu Mar 16, 2017 12:11 pm
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Re: Set default value for input

I've figured out later, that this trick doesn't always help. I'm generating ROMs with the node.js script. But the complex circuits may be easily copied to ROM's. All you need is a counter. Plug counter output to your circuit and to the address of the RAM. The output of your circuit plug to the data ...
by Alexander
Thu Mar 16, 2017 7:19 am
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Re: Set default value for input

Of course, ROMs in most cases will be slower in real circuits. But here we talking about simulator's speed. I want to be able to simulate a huge circuits, like CPUs with graphics. It is something, that other people has created and sometimes it works very slow! And porting things to ROMs does help, b...
by Alexander
Fri Mar 10, 2017 12:13 pm
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Re: Set default value for input

This is a simplified version as suggested by Hans Cadans.
by Alexander
Fri Mar 10, 2017 12:03 pm
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Re: Set default value for input

I've build an adder/subtractor using ROMs. This must speed up complex circuits. This also shows the usecase for defalt values.
by Alexander
Fri Mar 10, 2017 11:04 am
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Re: Set default value for input

First I had different circuits for pull up and pull down. Pull up +---+ X-|& | | +-Q 1-| | +---+ Pull down +---+ X-|or | | +-Q 0-| | +---+ Then combined it by stupidly multiplexing them. Didn't think about simplifying it so much! So they works the same! My usecase is when using it for multifunct...
by Alexander
Tue Mar 07, 2017 12:35 am
Forum: Circuit Talk
Topic: Set default value for input
Replies: 11
Views: 29264

Set default value for input

In real electronic circuits it is called internal pull up or pull down resistor. In this program you may want to design multifunction circuits with more inputs and minimize wires count, leaving inputs unpluged (floating). There is no standard way to do it, so I've found how to make it using availabl...
by Alexander
Tue Apr 08, 2014 7:06 pm
Forum: Circuit Talk
Topic: Moving things to RAM (LUTs)
Replies: 7
Views: 13043

Re: Moving things to RAM (LUTs)

Thanks! I just thought, that RAM block have a built in D latch that will behave like a real D latch.
by Alexander
Mon Apr 07, 2014 10:24 am
Forum: Circuit Talk
Topic: Bidirectional circuit in LogicCircuit
Replies: 14
Views: 20957

Re: Bidirectional circuit in LogicCircuit

Z is not treated as 1. In Logiccircuit Z is treated like there was no pin at all. So the 3 input "And" gate with one of the inputs set to Z is treated like 2 input gate. And 2 input pins "And" gate will be like a repeater.