<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>The Moxie Blog - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-c50946a9" type="application/json"/><link>http://moxieblog.disqus.com/</link><description></description><atom:link href="http://moxieblog.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 27 Apr 2012 09:52:23 -0000</lastBuildDate><item><title>Re: Notes on a novel in-game CPU: the dcpu-16</title><link>http://moxielogic.org/blog/?p=574#comment-511690497</link><description>&lt;p&gt;Congratulations!&lt;a href="http://www.youtube.com/watch?v=Q6DMxEUdbzI" rel="nofollow"&gt;http://www.youtube.com/watch?v...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FT</dc:creator><pubDate>Fri, 27 Apr 2012 09:52:23 -0000</pubDate></item><item><title>Re: Notes on a novel in-game CPU: the dcpu-16</title><link>http://moxielogic.org/blog/?p=574#comment-492678628</link><description>&lt;p&gt;[thanks for proof reading - edits made] &lt;/p&gt;

&lt;p&gt;Even if the GNU compilers are never ported, binutils may be of value.  Introducing a linker, with proper link-time relocations and optimizations (instruction shortening)  would enable separate compilation in way that may be of value to  developers.   With a little bit of work, GDB can be made to do reverse debugging as well, which is pretty cool.&lt;/p&gt;

&lt;p&gt;If ever a GCC port is produced, I think it would be fun to port the RTEMS RTOS.  Not only is easy to port, but it can operate using cooperative multithreading, and is embedded in real space missions today.&lt;/p&gt;

&lt;p&gt;And, FWIW, I've seen full GNU tools ports to targets with less memory!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Mon, 09 Apr 2012 20:37:50 -0000</pubDate></item><item><title>Re: Notes on a novel in-game CPU: the dcpu-16</title><link>http://moxielogic.org/blog/?p=574#comment-492434868</link><description>&lt;p&gt;Not to be the grammar police or anything, but you've got some hyphen issues in your bit counts.  Wherever "bit" is plural, there should be no hyphen.  Example: the parenthetical toward the beginning of the second paragraph should be "16 to 48 bits long."  Also, there's a typo: "comform zone."&lt;/p&gt;

&lt;p&gt;With that out of the way, thank you for writing this insightful article.  There are some significant issues with writing a C compiler for DCPU-16, so we (the community) may have to come up with a different, very C-like language and port GNU to it.  And then there's the question of GNU's usability in a 128KB machine.  Time will tell, I suppose.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Muchmoxie</dc:creator><pubDate>Mon, 09 Apr 2012 15:55:01 -0000</pubDate></item><item><title>Re: Using the Altera USB-Blaster on Fedora</title><link>http://moxielogic.org/blog/?p=568#comment-481607606</link><description>&lt;p&gt;FYI, urJTAG worked perfectly for me. fedora 16, 64bit, altera usb blaster rev 3.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jad Younan</dc:creator><pubDate>Sat, 31 Mar 2012 03:03:10 -0000</pubDate></item><item><title>Re: Using the Altera USB-Blaster on Fedora</title><link>http://moxielogic.org/blog/?p=568#comment-415543234</link><description>&lt;p&gt;Thank you very much, you saved the day!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kvapka Kvapla</dc:creator><pubDate>Thu, 19 Jan 2012 14:25:51 -0000</pubDate></item><item><title>Re: Branch delays</title><link>http://moxielogic.org/blog/?p=530#comment-370358605</link><description>&lt;p&gt;True enough.  And I've been thinking recently that a multithreaded core would be a better way to take advantage of idle logic anyways.  I'm going to eliminate exposed delay slots for now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Tue, 22 Nov 2011 16:38:31 -0000</pubDate></item><item><title>Re: Branch delays</title><link>http://moxielogic.org/blog/?p=530#comment-370289131</link><description>&lt;p&gt;Delay slots are going to really hurt if anybody ever tries to implement the architecture with a fancier pipeline situation. When you have delay slots, you're letting an internal revision-specific detail leak out into the ABI, forever forcing you to emulate the behavior of the original core.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Albert</dc:creator><pubDate>Tue, 22 Nov 2011 14:56:05 -0000</pubDate></item><item><title>Re: GTKWave Tip #2: Translate Filter Files</title><link>http://moxielogic.org/blog/?p=547#comment-353390981</link><description>&lt;p&gt;atgreen  I have one more question can you help me with this ...&lt;/p&gt;

&lt;p&gt;I want different coloring for the wave form as shown in the figure &lt;br&gt;displayed in the following image taken from &lt;br&gt;&lt;a href="http://gtkwave.sourceforge.net/" rel="nofollow"&gt;http://gtkwave.sourceforge.net...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can we have colors in similar way as shown in val[7:0]&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tarun</dc:creator><pubDate>Wed, 02 Nov 2011 01:16:46 -0000</pubDate></item><item><title>Re: GTKWave Tip #2: Translate Filter Files</title><link>http://moxielogic.org/blog/?p=547#comment-353322336</link><description>&lt;p&gt;atgreen  Thanks :).... That solved my problem .....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tarun</dc:creator><pubDate>Tue, 01 Nov 2011 22:30:56 -0000</pubDate></item><item><title>Re: GTKWave Tip #2: Translate Filter Files</title><link>http://moxielogic.org/blog/?p=547#comment-347581143</link><description>&lt;p&gt;Hi.  You just need a text file that has a mapping on every line, like this:&lt;/p&gt;

&lt;p&gt;1F Hello&lt;br&gt;20 Goodbye&lt;/p&gt;

&lt;p&gt;Then, once you've added your signal to the wave display in gtkwave, simply right click on the signal name and go to "Data Format" &amp;gt; "Translate Filter File" &amp;gt; "Enable and Select".  Then click on "Add Filter to List", select the text file we created above, and you're pretty much done.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Thu, 27 Oct 2011 22:04:53 -0000</pubDate></item><item><title>Re: GTKWave Tip #2: Translate Filter Files</title><link>http://moxielogic.org/blog/?p=547#comment-346611474</link><description>&lt;p&gt;I'm a newbie and i want to diplay text for a give hexa number &lt;br&gt;for eg: 1F must mean Hello and must be displayed in gtkwave &lt;br&gt;Can i know how its done&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tarun_flashkicker</dc:creator><pubDate>Thu, 27 Oct 2011 03:50:53 -0000</pubDate></item><item><title>Re: A simulation milestone for the Muskoka SoC!</title><link>http://moxielogic.org/blog/?p=511#comment-335522076</link><description>&lt;p&gt;I have only one bus master (Moxie), and the slave device (bootrom) notice.Remember now that Moxie has both 16 - and 48-bit instructions.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">r4 card 3ds</dc:creator><pubDate>Sat, 15 Oct 2011 15:14:56 -0000</pubDate></item><item><title>Re: A simulation milestone for the Muskoka SoC!</title><link>http://moxielogic.org/blog/?p=511#comment-325323384</link><description>&lt;p&gt;Thanks for the tips!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Sun, 02 Oct 2011 22:33:23 -0000</pubDate></item><item><title>Re: A simulation milestone for the Muskoka SoC!</title><link>http://moxielogic.org/blog/?p=511#comment-324616434</link><description>&lt;p&gt;As an FYI, something that makes debug a lot easier is if you start using the process filter feature in gtkwave.   I used it for two things for the one set of instruction unit logic I wrote: (1) disassembly, and (2) color coding.  Color coding is very handy for example for dispatch logic as you can say for example, all integer pipe ops are blue, all loads/stores are purple, etc.  So if you zoom out real far--much farther than values being visible as hex/bin characters, you can simply look at splotches of color to determine if your dispatch logic is sending ops to the wrong pipe.  The transaction filter is extremely powerful for decoding things like bus ops but takes a fair amount of work to develop however is very much worth it. Good luck on your project.  -Tony Bybell (the gtkwave guy)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bybell</dc:creator><pubDate>Sat, 01 Oct 2011 16:55:34 -0000</pubDate></item><item><title>Re: Branch delays</title><link>http://moxielogic.org/blog/?p=530#comment-324009520</link><description>&lt;p&gt;Hmm - both interesting ideas.&lt;/p&gt;

&lt;p&gt;One thing I realized is that I don't actually need delay slots for jmp and jmpa, just the branch instructions.  I should have had my coffee before making that post.  The jmp instructions are really "call to subroutine" (I will be renaming them to call and calla soon).  They do more than change the PC - they also push some data items onto the stack (return address, etc).  So when the decode stage comes across a call/calla instructions, it will enter into a little state machine that sends push instructions down the pipeline.  The fetch unit can go ahead and start filling the instruction fifo buffer right away, because the rest of the pipeline will appear to be stalled until the call instruction is finished.  So it's all good.&lt;/p&gt;

&lt;p&gt;Branches, on the other hand, will have delay slots.&lt;/p&gt;

&lt;p&gt;I'm working on a bus arbiter right now to manage memory access requests for both instruction and data memory on the single bus.  Then I'll add a RAM bus slave, implement load/store/push/pop, then finally the call/ret state machines.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Fri, 30 Sep 2011 15:23:11 -0000</pubDate></item><item><title>Re: Branch delays</title><link>http://moxielogic.org/blog/?p=530#comment-322927261</link><description>&lt;p&gt;You could enforce that instructions in delay slots must be X bytes in size.  Or you could have separate jump instructions for short and long instructions in the delay slots.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan</dc:creator><pubDate>Thu, 29 Sep 2011 10:10:19 -0000</pubDate></item><item><title>Re: Qemu says Hello, World!</title><link>http://moxielogic.org/blog/?p=23#comment-290096829</link><description>&lt;p&gt;Hi..I am facing similar problem but not able to figure out the issue..&lt;/p&gt;

&lt;p&gt;qemu: fatal: Trying to execute code outside RAM or ROM at 0xfffffff0Segmentation fault&lt;/p&gt;

&lt;p&gt;Could you point out something?&lt;/p&gt;

&lt;p&gt;OS  - OSX 10.6.8&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ashish</dc:creator><pubDate>Thu, 18 Aug 2011 11:02:12 -0000</pubDate></item><item><title>Re: A Tiny Computer</title><link>http://moxielogic.org/blog/?p=80#comment-258513399</link><description>&lt;p&gt;I need a Tiny Computer,it is useful for my work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qfqs720</dc:creator><pubDate>Wed, 20 Jul 2011 07:39:16 -0000</pubDate></item><item><title>Re: On-chip communications</title><link>http://moxielogic.org/blog/?p=474#comment-212602024</link><description>&lt;p&gt;The inspiration is there -- time is the problem...  Let me see what I can do this week.  It looks like GCC is broken.  I'll start with that...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Fri, 27 May 2011 00:15:33 -0000</pubDate></item><item><title>Re: On-chip communications</title><link>http://moxielogic.org/blog/?p=474#comment-197030434</link><description>&lt;p&gt;Given infinite time and energy/inspiration, where would moxie go?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Curious</dc:creator><pubDate>Wed, 04 May 2011 14:37:49 -0000</pubDate></item><item><title>Re: On-chip communications</title><link>http://moxielogic.org/blog/?p=474#comment-167292537</link><description>&lt;p&gt;ping?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Curious</dc:creator><pubDate>Thu, 17 Mar 2011 16:03:11 -0000</pubDate></item><item><title>Re: Pipeline hazards</title><link>http://moxielogic.org/blog/?p=456#comment-161366868</link><description>&lt;p&gt;Hi, when checking through your ISA and the simulator implementation. I came across that you are actually missing a means to load and store the condition code register, so there is a concurrency hazard.&lt;/p&gt;

&lt;p&gt;If you have the following code (the branch would never be taken without interrupt):&lt;/p&gt;

&lt;p&gt;cmp $r5, $r5&lt;br&gt;bne .Ljmp_somewhere_else&lt;/p&gt;

&lt;p&gt;However, if an interrupt occurs directly after cmp executing:&lt;br&gt;cmp $r5, $r4 as last instruction with r4 = 4 and r5 = 5&lt;br&gt;the branch will actually be taken even though it would not be done without interrupt.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">S_bormann</dc:creator><pubDate>Sun, 06 Mar 2011 13:46:08 -0000</pubDate></item><item><title>Re: Quartus II and the Cloud: Not There Yet&amp;#8230;</title><link>http://moxielogic.org/blog/?p=450#comment-138487007</link><description>&lt;p&gt;In the past, I have created a dummy interface and then set the MAC with ifconfig. Unfortunately, I don't recall if it fooled Quartus (I think it did)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Timhoppen</dc:creator><pubDate>Tue, 01 Feb 2011 18:36:31 -0000</pubDate></item><item><title>Re: On-chip communications</title><link>http://moxielogic.org/blog/?p=474#comment-117494575</link><description>&lt;p&gt;Moxie is on hold 'til Jan 1, as I have another urgent project to get out the door by then.  Thanks for your patience!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">atgreen</dc:creator><pubDate>Wed, 22 Dec 2010 23:17:32 -0000</pubDate></item><item><title>Re: On-chip communications</title><link>http://moxielogic.org/blog/?p=474#comment-116438630</link><description>&lt;p&gt;Any updates?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Curious</dc:creator><pubDate>Tue, 21 Dec 2010 17:09:13 -0000</pubDate></item></channel></rss>
