<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>comp-e.com &#187; computer engineering</title>
	<atom:link href="http://comp-e.com/tag/computer-engineering/feed" rel="self" type="application/rss+xml" />
	<link>http://comp-e.com</link>
	<description>Computer Engineering</description>
	<lastBuildDate>Fri, 13 Nov 2009 06:57:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Morse Code Using The HCS08 Microcontroller</title>
		<link>http://comp-e.com/creating-morse-code-using-the-hcs08-microcontroller</link>
		<comments>http://comp-e.com/creating-morse-code-using-the-hcs08-microcontroller#comments</comments>
		<pubDate>Sun, 22 Mar 2009 15:21:51 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[Freescale]]></category>
		<category><![CDATA[microcontroller]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=125</guid>
		<description><![CDATA[Recently I was faced with the task of sending data out of a HCS08 microcontroller wirelessly.  I had only one pin available to me and decided to effectively create Morse Code so that my receiver could decode the signal without having some sort of reference clock to distinguish the 1&#8217;s and 0&#8217;s.   What took many [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was faced with the task of sending data out of a HCS08 microcontroller wirelessly.  I had only one pin available to me and decided to effectively create Morse Code so that my receiver could decode the signal without having some sort of reference clock to distinguish the 1&#8217;s and 0&#8217;s.   What took many hours to conceptualize and diagram out on the blackboard, turned out to be a very small bit of code.</p>
<p>On the sender side is a simple function written in C that takes a byte and loops through masking each bit.  This masking is done inside an if / else block and the result determines whether or not you are getting a dit or a dash.</p>
<p>Tied to the RF receiver is another MC9S08QG8 which takes in the signal via interrupts and assembles eight interrupts into eight bytes.  It then does a series of bitwise operations on each of the eight bytes in order to reconstruct the original byte.  You will find that a few parts of the code are subject to change (the time for 0&#8217;s and 1&#8217;s can be adjusted and must be adjusted if you plan on implementing PLL or have a different desired data rate).  That byte is then sent to a PC vie RS232 serial port and stored using a free program called RS232 Data Logger from Eltima Software.  The code will be posted shortly under the microcontroller section on the COMP-E forum for you to use and <a title="Wireless Morse Code HCS08" href="http://comp-e.com/forum/viewtopic.php?f=40&amp;t=30">enjoy</a>.</p>
<p>- COMP-E</p>
<p>~ ALERT: This post does not return to main !!!</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/creating-morse-code-using-the-hcs08-microcontroller/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using SPI EEPROM 25AA512 On An HCS08 Microcontroller</title>
		<link>http://comp-e.com/using-spi-eeprom-25aa512-on-an-hcs08-microcontroller</link>
		<comments>http://comp-e.com/using-spi-eeprom-25aa512-on-an-hcs08-microcontroller#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:23:21 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[Freescale]]></category>
		<category><![CDATA[microcontroller]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=102</guid>
		<description><![CDATA[This post will go to the forum eventually.  I need to fight with my hosting people first and get them to bump the limit on the amount of memory PHP can use.  So, for now, you can get all the good stuff here!
EDIT: I fixed the issue.  You can now view this topic on the [...]]]></description>
			<content:encoded><![CDATA[<p>This post will go to the forum eventually.  I need to fight with my hosting people first and get them to bump the limit on the amount of memory PHP can use.  So, for now, you can get all the good stuff here!</p>
<p>EDIT: I fixed the issue.  You can now view this topic on the forum.  Please post your comments there as well. <a title="Using External EEPROM on a HCS08" href="http://comp-e.com/forum/viewtopic.php?f=40&amp;t=25"> &gt;&gt;&gt;&gt;</a></p>
<p>-/-</p>
<p>Most things that use SPI are rather straight forward, a simple MISO, MOSI, and Slave Select and you&#8217;re good to go.  That was not the case in my pursuit to get this EEPROM to work.  It is incredibly finicky and took about a month hooked up to a logic analyzer and multiple revisions to the way instructions interact, before I was finally able to get it up in running.  I hope this code works for you.  The particular chip came from Microchip and you can find the data sheet easily enough by searching 25AA512.  I am including the .c and .h files here.  You will be able to view the entire project along with the .mcp file for which I used the memory end such.  I&#8217;m not ready to post that project yet but it will have &#8216;SWIM&#8217; somewhere in the topic title.</p>
<p>As a side note, make sure that Vcc on the EEPROM is tied to the Vcc of the microcontroller otherwise you will find as I did, that odd bits and data come back on reads instead of what you want!!</p>
<p>You will notice that slave select pin is not used.  Because I only used this one chip, I tied the SS, WP, and HOLD pins to hi/low as per my needs.</p>
<p>- COMP-E</p>
<p>~ XOR would be pleased</p>
<p>The following code was used in SPI1.c</p>
<p><span style="color: #888888;">[code]</span></p>
<pre><span style="color: #ff9900;">**     Settings  :
**          Bean name                                      : SPI1
**          Device                                         : SPI
**          Settings
**            Clock settings
**              Value of Preselection                      : 5
**              Value of Selection                         : 64
**              Frequency                                  : 12.5 kHz
**            Mode Select                                  : Master
**            Clock Polarity                               : active-high
**            Clock Phase                                  : First edge
**            Data shift order                             : MSB first
**            Bidirectional mode                           : Disabled
**            Output enable in Bidirect.                   : no
**            Stop in Wait Mode                            : Disabled
**          Pins
**            SCK pin                                      : PTB2_KBIP6_SPSCK_ADP6
**            SCK pin signal                               :
**            MISO pin allocation                          : Enabled
**            MISO pin                                     : PTB4_MISO
**            MISO pin signal                              :
**            MOSI pin allocation                          : Enabled
**            MOSI pin                                     : PTB3_KBIP7_MOSI_ADP7
**            MOSI pin signal                              :
**            SS pin allocation                            : Disabled
**          Interrupts
**            Interrupt                                    : Vspi
**            Receive and fault interrupt                  : Disabled
**            Transmit Interrupt                           : Disabled
**            ISR name                                     :
**          Initialization
**            Call Init in CPU init. code                  : yes
**            Enable SPI system                            : yes
**     Contents  :
**         Init - void SPI1_Init(void);
**

/* MODULE SPI1. */

#include "SPI1.h"

void SPI1_Init(void)
{
  /* SPIC1: SPIE=0,SPE=1,SPTIE=0,MSTR=1,CPOL=0,CPHA=0,SSOE=0,LSBFE=0 */
  setReg8(SPIC1, 0x50);
  /* SPIC2: ??=0,??=0,??=0,MODFEN=0,BIDIROE=0,??=0,SPISWAI=0,SPC0=0 */
  setReg8(SPIC2, 0x00);
  /* SPIBR: ??=0,SPPR2=1,SPPR1=0,SPPR0=0,??=0,SPR2=1,SPR1=0,SPR0=1 */
  setReg8(SPIBR, 0x45);  // note that specific baud rates were not functional
}                        // I believe I had success with 0x45 and 0x00

<span style="color: #888888;">[/code]</span></span></pre>
<p>This EEPROM specific initialization was key to getting things working.  It was a function in my main file, but probably belongs in the SPI1.c file.</p>
<pre><span style="color: #ff9900;">void powerUpEEprom(void) {

    CS_OFF;
    delay(2);
    SPI1_Init();
    delay(2);

    delay(2);
    CS_OFF;
    delay(1);
    CS_ON;
    delay(1);

    SPI_WREN();
    SPI_WRSR(0x00);

    /* A small bit of test code */
    SPI_WRITE(0x00, 0x00, 0x11);
    delay(10);
    SPI_WRITE(0x00, 0x01, 0x22);
    delay(10);
    SPI_WRITE(0x00, 0x02, 0x33);
    delay(10);
    SPI_WRITE(0x00, 0x03, 0x44);
    delay(10);
    SPI_WRITE(0x00, 0x04, 0x55);
    delay(10);
    testArray[1] = SPI_READ(0x00,0x00);
    delay(10);
    testArray[2] = SPI_READ(0x00,0x01);
    delay(10);
    testArray[3] = SPI_READ(0x00,0x02);
    delay(10);
    testArray[4] = SPI_READ(0x00,0x03);
    delay(10);
    testArray[5] = SPI_READ(0x00,0x04);
    delay(10);
}</span>

EEPROM.h</pre>
<pre>[code]</pre>
<pre><span style="color: #ff9900;">#ifndef __EEPROM_H
#define __EEPROM_H</span></pre>
<pre><span style="color: #ff9900;">#include "Events.h"</span></pre>
<pre><span style="color: #ff9900;">/* EEPROM OP-CODES */</span></pre>
<pre><span style="color: #ff9900;">#define READ    0x03          // Read  from mem array beg. at selected address
#define WRITE   0x02          // Write to mem array beg. at selected address
#define WREN    0x06          // Set   the latch (enable write operations)
#define WRDI    0x04          // Reset the latch (disable write operations)
#define RDSR    0x05          // Read         – STATUS register
#define WRSR    0x01          // Write        – STATUS register
#define PE      0x42          // Page Erase   – erase one page in mem array
#define SE      0xD8          // Sector Erase – erase one sector in mem array
#define CE      0xC7          // Chip Erase   – erase all sectors in mem array
#define RDID    0xAB          //
#define DPD     0xB9          //</span></pre>
<pre><span style="color: #ff9900;">/* Program Constants */</span></pre>
<pre><span style="color: #ff9900;">#define CS_ON     PTBD_PTBD6 = 0
#define CS_OFF    PTBD_PTBD6 = 1
#define DUMMY     0x00</span></pre>
<pre><span style="color: #ff9900;">/* MODULE EEPROM */</span></pre>
<pre><span style="color: #ff9900;">void delay(int);</span></pre>
<pre><span style="color: #ff9900;">/* Set the write enable latch on the chip */
void SPI_WREN(void);</span></pre>
<pre><span style="color: #ff9900;">/* Perform the read status register sequence */
byte SPI_RDSR(void);</span></pre>
<pre><span style="color: #ff9900;">/* Write to status register
*
* Pre: User sends 8 bit value
*
* Post: Status register written to
*/
void SPI_WRSR(byte val);</span></pre>
<pre><span style="color: #ff9900;">/* Generic transmit of single op code in
*   which chip select is toggled
*/
void SPI_trans(byte val);</span></pre>
<pre><span style="color: #ff9900;">/* Perform Read sequence
*
* Pre:  User sends upper and lower address bytes
*
* Post: User recieves value stored at given address
*/
byte SPI_READ(byte upAddr, byte lwAddr);
void Dummy_Read(byte upAddr, byte lwAddr);
/* Perform Write sequence
*
* Pre:   User sends upper and lower address bytes
*        User sends data byte he wishes to have
*             written to the EEPROM
* Post:  Data is written and clocked out of SPID reg
*/
void SPI_WRITE(byte upAddr, byte lwAddr, byte val);</span></pre>
<pre><span style="color: #ff9900;">/* END EEPROM */</span></pre>
<pre><span style="color: #ff9900;">#endif
[/code]</span></pre>
<pre><span style="color: #ff9900;"><span style="color: #888888;">~ Computer Engineering is going to the laundromat and saying, "yeah, i can so pipeline this"

EEPROM.c</span>
[code]</span></pre>
<pre><span style="color: #ff9900;">/* MODULE EEPROM */</span></pre>
<pre><span style="color: #ff9900;">#include "EEPROM.h"
unsigned char readin;
unsigned char garbage;</span></pre>
<pre><span style="color: #ff9900;">/*****************************************************************************+
*                        DELAY FUNCTIONS
*****************************************************************************/</span></pre>
<pre><span style="color: #ff9900;">void delay(int count)
{
int cnt;</span></pre>
<pre><span style="color: #ff9900;">for(cnt = 0; cnt &lt; count; cnt++)
{
int delay1 = 100;         // coarse adjustment
int delay2 = 100;         //  fine adjustment
while(delay1 &gt; 1)
{
--delay1;
while(delay2 &gt;= 1)
{
--delay2;
}
}
}
}</span></pre>
<pre><span style="color: #ff9900;">/*****************************************************************************+
*                        WRITE FUNCTIONS
*****************************************************************************/</span></pre>
<pre><span style="color: #ff9900;">void SPI_trans(byte val)
{
CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));  // Wait until ready to send
SPID = val;           // Send byte value</span></pre>
<pre><span style="color: #ff9900;">delay(2);
CS_OFF;
delay(1);
}</span></pre>
<pre><span style="color: #ff9900;">void SPI_WREN(void)
{
CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = WREN;               // Send byte value</span></pre>
<pre><span style="color: #ff9900;">delay(1);
CS_OFF;
delay(1);
}</span></pre>
<pre><span style="color: #ff9900;">void SPI_WRSR(byte val)
{
CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = WRSR;               // Send byte value</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = val;                // Send byte value</span></pre>
<pre><span style="color: #ff9900;">delay(2);
CS_OFF;
delay(1);
}</span></pre>
<pre><span style="color: #ff9900;">void SPI_WRITE(byte upAddr, byte lwAddr, byte val)
{
SPI_WREN();</span></pre>
<pre><span style="color: #ff9900;">CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = WRITE;              // Send write command</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = upAddr;             // Send upper address</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = lwAddr;             // Send lower address</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = val;                // Send data value</span></pre>
<pre><span style="color: #ff9900;">delay(4);
CS_OFF;
delay(1);
}</span></pre>
<pre><span style="color: #ff9900;">/*****************************************************************************+
*                        READ FUNCTIONS
*****************************************************************************/</span></pre>
<pre><span style="color: #ff9900;">byte SPI_RDSR(void)
{
CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = RDSR;               // Send byte value</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = DUMMY;              // Send byte value
delay(1);
while (!(SPIS &amp; 0x80));    // Wait until ready to send</span></pre>
<pre><span style="color: #ff9900;">delay(4);
CS_OFF;
delay(1);
return SPID;
}</span></pre>
<pre><span style="color: #ff9900;">byte SPI_READ(byte upAddr, byte lwAddr)
{
Dummy_Read(upAddr,lwAddr);
CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = READ;               // Send write command</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = upAddr;             // Send upper address</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = lwAddr;             // Send lower address</span></pre>
<pre><span style="color: #ff9900;">delay(1);
while (!(SPIS &amp; 0x80));    // Wait until ready to send
readin = SPID;             // Dummy read</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = DUMMY;              // Send dummy value</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x80));    // Wait until ready to send
readin = SPID;             // Contains data from memory
delay(5);
CS_OFF;
delay(1);</span></pre>
<pre><span style="color: #ff9900;">return readin;
}</span></pre>
<pre><span style="color: #ff9900;">void Dummy_Read(byte upAddr, byte lwAddr)
{
CS_ON;
delay(2);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = READ;               // Send write command</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = upAddr;             // Send upper address</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = lwAddr;             // Send lower address</span></pre>
<pre><span style="color: #ff9900;">delay(1);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x80));    // Wait until ready to send
garbage = SPID;            // Dummy read</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = DUMMY;              // Send dummy value</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x80));    // Wait until ready to send
garbage = SPID;            // Dummy read</span></pre>
<pre><span style="color: #ff9900;">delay(1);</span></pre>
<pre><span style="color: #ff9900;">while (!(SPIS &amp; 0x20));    // Wait until ready to send
SPID = DUMMY;</span></pre>
<pre><span style="color: #ff9900;">delay(5);
CS_OFF;
delay(1);</span></pre>
<pre><span style="color: #ff9900;">}</span></pre>
<pre><span style="color: #ff9900;">/* END EEPROM */</span></pre>
<pre>[/code]</pre>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/using-spi-eeprom-25aa512-on-an-hcs08-microcontroller/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate Min Max and Average Using Assembly</title>
		<link>http://comp-e.com/calculate-min-max-and-average-using-assembly</link>
		<comments>http://comp-e.com/calculate-min-max-and-average-using-assembly#comments</comments>
		<pubDate>Thu, 12 Mar 2009 22:41:41 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[Assembly]]></category>
		<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[CE]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[FPGA]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=94</guid>
		<description><![CDATA[This assembly program reads in 8, 8-bit numbers and is able to calculate the min, max, and average of those numbers.  The code has been optimized for speed, but if compact code is what you want, by all means use a looping structure.  I should mention that this program is an introduction to assembly and [...]]]></description>
			<content:encoded><![CDATA[<p>This assembly program reads in 8, 8-bit numbers and is able to calculate the min, max, and average of those numbers.  The code has been optimized for speed, but if compact code is what you want, by all means use a looping structure.  I should mention that this program is an introduction to assembly and runs on the 8085 simulator.  I will however, be posting Verilog code that effectively creates the Intel 8085 and which, will also accept a precompiled hex file via RS232!  That will be in a couple months however (time permitting).  For now, enjoy your nice and easy Assembly <a title="COMP-E Forum: Assembly Examples" href="http://comp-e.com/forum/viewtopic.php?f=25&amp;t=3">example</a>.</p>
<p>COMP-E</p>
<p>~ we do it with NAND gates</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/calculate-min-max-and-average-using-assembly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Design with Pipeline 6 Bit Registers</title>
		<link>http://comp-e.com/digital-design-with-pipeline-6-bit-registers</link>
		<comments>http://comp-e.com/digital-design-with-pipeline-6-bit-registers#comments</comments>
		<pubDate>Thu, 12 Mar 2009 22:33:55 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[Verilog]]></category>
		<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[CE]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[FPGA]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=91</guid>
		<description><![CDATA[This SLSL / &#8217;sudo verilog&#8217; program implements the digital design of a pipeline having multiple registers, an adder, and multiplication architecture.  The program can easily be re-implemented in Verilog at your discretion.  SLSL is a wonderful language that allows for rapid development of digital designs, which is why many of my programs are [...]]]></description>
			<content:encoded><![CDATA[<p>This SLSL / &#8217;sudo verilog&#8217; program implements the digital design of a pipeline having multiple registers, an adder, and multiplication architecture.  The program can easily be re-implemented in Verilog at your discretion.  SLSL is a wonderful language that allows for rapid development of digital designs, which is why many of my programs are done in it.  Conceptually, you can code from a block diagram to an HDL with it.  Unfortunately SLSL is not available to the public, but it should be quite easy for anyone with a couple Verilog or VHDL programs under their belt to understand.  The code can be found <a title="Digital Design with Pipelined 6 Bit Registers" href="http://comp-e.com/forum/viewtopic.php?f=8&amp;t=18">here</a>.</p>
<p>COMP-E<br />
~a place where computer engineers can play</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/digital-design-with-pipeline-6-bit-registers/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nexys 2 Spartan 3 FPGA Arrives</title>
		<link>http://comp-e.com/nexys-2-spartan-3-fpga-arrives</link>
		<comments>http://comp-e.com/nexys-2-spartan-3-fpga-arrives#comments</comments>
		<pubDate>Sat, 07 Mar 2009 19:40:22 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[Verilog]]></category>
		<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[CE]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[ece]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Nexys 2]]></category>
		<category><![CDATA[Spartan3]]></category>
		<category><![CDATA[Xilinx]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=80</guid>
		<description><![CDATA[It took a week to get it from Washington state, but it&#8217;s finally here.  My gorgeous Nexys 2 board I ordered from Digilent.  It uses the Xilinx Spartan 3-e chip and has a lot of nice extra features that the one that Xilinx makes didn&#8217;t have.  Digilent&#8217;s website also has a ton of cool addons [...]]]></description>
			<content:encoded><![CDATA[<p>It took a week to get it from Washington state, but it&#8217;s finally here.  My gorgeous Nexys 2 board I ordered from Digilent.  It uses the Xilinx Spartan 3-e chip and has a lot of nice extra features that the one that Xilinx makes didn&#8217;t have.  Digilent&#8217;s website also has a ton of cool addons for the board which I hope to get when there&#8217;s some money to spare.   I&#8217;m going to start out slow and try and reacquaint myself a bit with verilog.   My intent is to make a simple calculator and then perhaps move to converting my SLSL code for the 8085 over to verilog.  The Nexys 2 board does come with some cool peripherals such as a ps2 port so I may get sidetracked and see what I can do if I hook up an old ball mouse too it.  I&#8217;ll try to keep you all posted here so the RSS grabs it, but check the forum for code postings and photos.  I&#8217;ll try to include links as things crop up.</p>
<p>- COMP-E</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/nexys-2-spartan-3-fpga-arrives/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Digital Design Implementing 8085</title>
		<link>http://comp-e.com/digital-design-implementing-8085</link>
		<comments>http://comp-e.com/digital-design-implementing-8085#comments</comments>
		<pubDate>Sat, 07 Mar 2009 19:30:37 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[Verilog]]></category>
		<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[CE]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[ece]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=78</guid>
		<description><![CDATA[All op codes are not represented / implemented in this design however adding them should be very straight forward. This digital design utilizes a bus in order to achieve high efficiency and throughput.  The design is scaled back a bit and uses less registers than the actual 8085.  This can be easily modified though.  Additional [...]]]></description>
			<content:encoded><![CDATA[<p>All op codes are not represented / implemented in this design however adding them should be very straight forward. This digital design utilizes a bus in order to achieve high efficiency and throughput.  The design is scaled back a bit and uses less registers than the actual 8085.  This can be easily modified though.  Additional op-codes can also be added. Included in this post is are the .src (source) .fmt (format/debug) files. Note that the &#8216;cpu&#8217; is reading op codes from memory not a .in file!</p>
<p>Click <a title="Creating the 8085 using SLSL" href="http://comp-e.com/forum/viewtopic.php?f=8&amp;t=19">here</a> for the full post including SLSL code.</p>
<p>- COMP-E</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/digital-design-implementing-8085/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Robots /o_O\</title>
		<link>http://comp-e.com/robots-o_o</link>
		<comments>http://comp-e.com/robots-o_o#comments</comments>
		<pubDate>Tue, 03 Mar 2009 17:11:31 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Robots]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=72</guid>
		<description><![CDATA[Robots are fun, robots are cool, robots will defeat the zombies that are coming!  Well, not quite, but robots are coming to the comp-e.com forum.  I will be posting Matlab code dealing with kinematics and perception ( robot movement and robot vision).    The code on robot vision shows how one can utilize gaussian kernels and [...]]]></description>
			<content:encoded><![CDATA[<p>Robots are fun, robots are cool, robots will defeat the zombies that are coming!  Well, not quite, but robots are coming to the comp-e.com forum.  I will be posting Matlab code dealing with <span class="label"><span style="color: #000000;">kinematics and perception ( robot movement and robot vision).    The code on robot vision shows how one can utilize gaussian kernels and some special vectors and masks to easily allow oneself to implement robot vision in about 40 lines of code.  Stay tuned, all will be posted after some commenting, cleanup, and formatting.</span></span></p>
<p><span class="label"><span style="color: #000000;"> \\: COMP-E<br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/robots-o_o/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COMP-E Forum</title>
		<link>http://comp-e.com/comp-e-forum</link>
		<comments>http://comp-e.com/comp-e-forum#comments</comments>
		<pubDate>Mon, 16 Feb 2009 23:05:00 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[CE]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=63</guid>
		<description><![CDATA[Hey all,
The COMP-E forum is starting to grow as I add and encourage others to add usefull new content.  Here is a list and quick link guide to all the current topics on the forum.
Signals &#38; Systems
Digital Design Implementing 8085 in SLSL / Verilog
Digital Design with Pipeline 6 Bit Registers (Add &#38; Mult)
Digital Design with [...]]]></description>
			<content:encoded><![CDATA[<p>Hey all,</p>
<p>The COMP-E forum is starting to grow as I add and encourage others to add usefull new content.  Here is a list and quick link guide to all the current topics on the forum.</p>
<p><a class="topictitle" title="Posted: Tue Jan 27, 2009 1:45 am" href="../forum/viewtopic.php?f=53&amp;t=16">Signals &amp; Systems</a></p>
<p><a class="topictitle" title="Posted: Sun Feb 01, 2009 8:42 pm" href="../forum/viewtopic.php?f=8&amp;t=19">Digital Design Implementing 8085 in SLSL / Verilog</a></p>
<p><a class="topictitle" title="Posted: Sun Feb 01, 2009 8:35 pm" href="../forum/viewtopic.php?f=8&amp;t=18">Digital Design with Pipeline 6 Bit Registers (Add &amp; Mult)</a></p>
<p><a class="topictitle" title="Posted: Sat Jan 24, 2009 10:49 pm" href="../forum/viewtopic.php?f=8&amp;t=2">Digital Design with Handshakes and the Use of an Arbiter</a></p>
<p><a class="topictitle" title="Posted: Tue Feb 03, 2009 7:12 pm" href="../forum/viewtopic.php?f=13&amp;t=22">C &#8211; Example Using Realloc And Pointers</a></p>
<p><a class="topictitle" title="Posted: Tue Jan 27, 2009 6:38 pm" href="../forum/viewtopic.php?f=13&amp;t=17">Fun With Pointers == Obfuscated Code</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:38 pm" href="../forum/viewtopic.php?f=13&amp;t=13">UNIX / LINUX / SOLARIS : Implementing the cat Command in C</a></p>
<p><a class="topictitle" title="Posted: Sun Feb 01, 2009 9:28 pm" href="../forum/viewtopic.php?f=22&amp;t=21">C++ Linked List : Hash Table : Template Class</a></p>
<p><a class="topictitle" title="Posted: Sun Feb 01, 2009 9:17 pm" href="../forum/viewtopic.php?f=22&amp;t=20">C++ Linked List Utilizing A Hash Table &#8211; Includes Makefile</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:32 pm" href="../forum/viewtopic.php?f=22&amp;t=12">C++ Example :: Find Prime Numbers</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:30 pm" href="../forum/viewtopic.php?f=22&amp;t=11">OS: C++ Using UNIX Commands fork() execv() execev() pipe()</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:20 pm" href="../forum/viewtopic.php?f=22&amp;t=10">OS: Crack a UNIX Password Using A Dictionary Attack</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:11 pm" href="../forum/viewtopic.php?f=22&amp;t=9">Operating Systems: Simulate / Create &#8216; thrashing &#8216;</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:09 pm" href="../forum/viewtopic.php?f=22&amp;t=8">Operating Systems: Create the UNIX ls Command In C++</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 11:08 pm" href="../forum/viewtopic.php?f=25&amp;t=15">Assembly 8085 :: Read In Numbers and Create a Histogram</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 10:54 pm" href="../forum/viewtopic.php?f=25&amp;t=14">Assembly 8085 :: Read In Characters and CAPS Letters</a></p>
<p><a class="topictitle" title="Posted: Sat Jan 24, 2009 11:13 pm" href="../forum/viewtopic.php?f=25&amp;t=3">Calculate MIN MAX and AVG of 8 Numbers Using Assembly</a></p>
<p><a class="topictitle" title="Posted: Tue Feb 03, 2009 8:29 pm" href="../forum/viewtopic.php?f=33&amp;t=23">Building a 2-1 MUX and 4-1 MUX Using NAND Gates</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 3:28 am" href="../forum/viewtopic.php?f=46&amp;t=6">An Introduction To IRC</a></p>
<p><a class="topictitle" title="Posted: Mon Jan 26, 2009 3:58 am" href="../forum/viewtopic.php?f=47&amp;t=7">Tweaking and Cleaning Windows + Some Antivirus Tools</a></p>
<p>All in all, please add to and enjoy the thuroughness of these posts.  Remember&#8230; if you are stuck on mars and all you have are nand gates, you&#8217;ll be all set, for you can build anything with nand gates <img src='http://comp-e.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>- COMP-E</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/comp-e-forum/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Engineering Hell</title>
		<link>http://comp-e.com/engineering-hell</link>
		<comments>http://comp-e.com/engineering-hell#comments</comments>
		<pubDate>Mon, 26 Jan 2009 03:37:51 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[comp-e]]></category>
		<category><![CDATA[computer engineering]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=29</guid>
		<description><![CDATA[What&#8217;s a website for computer engineers without a little bit of humor?  While comp-e.com is here to give you a place to talk tech, we also find it important to give you the utmost in daily delights.  After all, we have to live every day knowing that there are 10 kinds of people [...]]]></description>
			<content:encoded><![CDATA[<div class="entry-author">What&#8217;s a website for computer engineers without a little bit of humor?  While comp-e.com is here to give you a place to talk tech, we also find it important to give you the utmost in daily delights.  After all, we have to live every day knowing that there are 10 kinds of people in the world: Those who understand us, and those who think verilog is something burnable and vlsi &#8230;. well, we won&#8217;t even go there.  That being said, here is an oldy that popped into my rss a few months back, but one still worth sharing with all the compe&#8217;s out there.</div>
<div class="entry-author">&#8211;from joke of the day.</div>
<div class="entry-body">
<div>
<div class="item-body">
<div>An engineer dies and reports to the pearly gates. St. Peter checks his dossier and says, “Ah, you’re an engineer — you’re in the wrong place.”So, the engineer reports to the gates of hell and is let in. Pretty soon, the engineer gets dissatisfied with the level of comfort in hell, and starts designing and building improvements. After awhile, they’ve got air conditioning and flush toilets and escalators, and the engineer is a pretty popular guy.One day, God calls Satan up on the telephone and says with a sneer, “So, how’s it going down there in hell?”</p>
<p>Satan replies, “Hey, things are going great. We’ve got air conditioning and flush toilets and escalators, and there’s no telling what this engineer is going to come up with next.”</p>
<p>God replies, “What??? You’ve got an engineer? That’s a mistake — he should never have gotten down there; send him up here.”</p>
<p>Satan says, “No way. I like having an engineer on the staff, and I’m keeping him.”</p>
<p>God says, “Send him back up here or I’ll sue.”</p>
<p>Satan laughs uproariously and answers, “Yeah, right. And just where are YOU going to get a lawyer?”</p>
<p>- comp-e</p>
<h6>&#8220;&#8230;johnny, stop leaving your pointers all over the place, your bound to make someone trip and seg fault&#8221;</h6>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/engineering-hell/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Welcome To COMP-E.COM</title>
		<link>http://comp-e.com/comp-e-welcome</link>
		<comments>http://comp-e.com/comp-e-welcome#comments</comments>
		<pubDate>Fri, 23 Jan 2009 05:04:21 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[comp-e]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[ece]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=1</guid>
		<description><![CDATA[Welcome to COMP-E.COM, a website geared towards those with a computer engineering, computer science, or electrical engineering background.  With a focus on low level programming languages like C, C++, Verilog, and VHDL, along with topic specifics like microcontrollers, robotics, and hardware design / digital system design; we hope the forum will become a treasure [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to COMP-E.COM, a website geared towards those with a computer engineering, computer science, or electrical engineering background.  With a focus on low level programming languages like C, C++, Verilog, and VHDL, along with topic specifics like microcontrollers, robotics, and hardware design / digital system design; we hope the forum will become a treasure trove of collected information useful to students and professionals alike.  Enjoy!</p>
<p>- comp-e</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/comp-e-welcome/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
