Re: Understanding DFF behaviour
Posted by
cadet1620 on
Apr 19, 2016; 3:57pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Understanding-DFF-behaviour-tp4029740p4029823.html
jbloggz wrote
Can logism actually be used to build a working computer that can run software? At first glance I didn't realise how powerful it was...
Yes, it can run simple programs. You'll need to write a converter to translate .hack files into the format Logisim needs to load data into its ROMs. I added a '-ol' option to my assembler to directly output Logisim format.
My Hack computer runs about 500 instructions per second on my 6 year old laptop, which would be too slow to draw text on the graphical screen, but works OK writing text to Logisim's built in TTY component.
HackLogisim.zip (TTY-based no spoilers version)
(Another version which implements the CPU, ALU, etc. directly using Logisim components, rather than my library of "no spoilers" parts, runs about twice as fast.)
--Mark