if the counter’s output is used as an input to a combinational network with its output value connected to another FF, which will in turn be latched at the next clock tick.īut there’s another use for a counter. In most cases, building a counter using this FF will work fine. Figure 1: Positive-edge-triggered D flip-flop used in the Register File circuit Figure 1 shows the positive edge triggered D flip flop I used in previous posts to create the register file. You have to create your own flip flop, out of basic logic gates, and use it to build your counter. If you ever tried to create a counter in a logic simulator, chances are that you have created a state machine using the build-in flip flop components offered by the simulator (most of them have dedicated components for D-type or JK flip flops). Here’s a list of games to keep you busy in the meantime (WARNING: I have no connection with those games or their developers and I haven’t played most of them) And more importantly, I’ll continue to take notes based on your feedback, hoping that it’ll push me to the right direction :) I’ll be fixing bugs and trying to make the UI more functional and easier to use. Having said the above, I will continue working on it in my spare time. But in its current state it’s missing the “interesting and fun” part I mentioned earlier. 2 seems like the best option right now, because I already have the base for it. If I decide to take this route there are a lot of things to change and add, and the final product will probably won’t have many things in common with the current version. There are many different kinds of logic simulators out there which do things faster and better than DLS. 1 isn’t much of an option because (as I’ve written in a previous post) I’m not qualified enough to build a better logic simulator. 3 but I don’t know where to begin and what the bigger picture will be. Create a completely different kind of game which will use the simulator as the primary way of achieving certain goals.Keep the same kinds of puzzles and try to make them better and more interesting.Abandon the game idea completely and focus on the sandbox/simulator.As far as I can tell, there are 3 different ways to go. It’s things like that that really bother me with the current state of the game and I need some time to think about them and decide how to move forward. The objective of the puzzle would stay (more or less) the same, but the output would have been a bit more interesting. In my opinion, it would be more interesting if the output of the circuit was some kind of ASCII message reconstruction shown on an LCD display. there’s a sequential level which requires the player to build a 4-bit Serial-in/Parallel-out circuit. Taking into account the fact that there’s no physical, real world, meaning to the objectives of each level, makes them even more complex. The problem with those (as I see it) is that they are either too simple or too complicated. By the way, I was planning on writing at least one blog post on it but I haven’t found the time yet.Īs you probably know, DLS already includes some puzzles for you to solve. most of the instruction decoding is implemented using ROMs instead of logic gates) and the simulation speed isn’t really great (only 1.3ms/sec with a 20MHz clock). The end result is a simulator capable enough to simulate a real CPU, although it’s microcoded (i.e. Unfortunately, I didn’t have a concrete plan on the game part from the beginning, so I ended up focusing on the simulator most of the time. My initial goal was to write a simple logic simulator and then build some kind of game around it (preferably interesting and fun :)). The reason for this is because I need to figure out where I’m going to take DLS from here.īefore writing anything else, I’d like to thank everyone who took the time to download and play with it, especially those who submitted feedback and those who spent their money on it. This will probably be the last update for a long time, at least in its current form. Two days ago I uploaded v0.14 of DLS on itch.io and GameJolt. TL DR: New version is out further development is paused for now (only bug fixes and small improvements) making games is hard and it’s really easy to loose focus if you don’t have a plan :)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |