Archive for the ‘comp-e’ Category

Image Analysis Using Python

Posted on November 13th, 2009 by COMP-E

/* work inprogress ;p */
While I may be a fan of embedded systems, I have to admit that python has become my new love. Thought taking into account that you can do sweet Matlab style dsp with it, you can’t really blame me. Assuming you have raw data from an image, you can [...]

Verilog Examples For The Spartan 3 / Nexys 2 Boards

Posted on August 6th, 2009 by COMP-E

Well, I thought I’d be extra generous since I haven’t posted in so long, and have uploaded 4 verilog examples for your viewing pleasure.
I have been a bit busy to comment them but I hope that they may be useful still as just coding examples.
Enjoy
Verilog – 14-bit BCD ( Binary Converted to Decimal)
Verilog – 4 [...]

Pythons in the ‘C’ircus

Posted on August 6th, 2009 by COMP-E

Spiffy code that is.  Stubby has made a few contributions as of late, so check them out.  I will be ragging on him to put his battleship game up, but alas it seems it’s lacking comments so we’ll see how long that takes.
I on the other hand, appologize for not tossing up any new coding [...]

Creating Morse Code Using The HCS08 Microcontroller

Posted on March 22nd, 2009 by COMP-E

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’s and 0’s.   What took many [...]

Javascript Examples

Posted on March 15th, 2009 by COMP-E

In addition to fixing the forum today, I also decided to post a couple ‘fun’ javascript applications that I’ve made.  I’m not the best with java script and these two apps are my first attempts.  However, they are functional and kind of cool.  One is magnetic poetry and the other is a javascript scientific calculator [...]

Using SPI EEPROM 25AA512 On An HCS08 Microcontroller

Posted on March 13th, 2009 by COMP-E

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 [...]

Calculate Min Max and Average Using Assembly

Posted on March 12th, 2009 by COMP-E

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 [...]

Digital Design with Pipeline 6 Bit Registers

Posted on March 12th, 2009 by COMP-E

This SLSL / ’sudo verilog’ 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 [...]

Nexys 2 Spartan 3 FPGA Arrives

Posted on March 7th, 2009 by COMP-E

It took a week to get it from Washington state, but it’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’t have.  Digilent’s website also has a ton of cool addons [...]

Digital Design Implementing 8085

Posted on March 7th, 2009 by COMP-E

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 [...]