Posted by Hanly on Oct 18, 2010 in Blog, Code, Sample Work | 0 comments
Behavioral Verilog is the most abstract style of Verilog code. The code looks very similar to C, but one has to remember that in hardware operations occur in parallel, and everything is running at once.
This sample register file will be a 16 entries by 8-bits per entry. It will have 2 synchronous write ports, and an asynchronous read port as well as an active low asynchronous reset.
...
read more
Posted by Hanly on Oct 16, 2010 in Blog, Code | 5 comments
Yesterday I had to complete a programming exercise as part of a research internship I will be starting Nov. 2nd. I had to create a simple C++ program which would take the mean, median, and mode of a set of numbers of unknown length. I was free to implement it any which way, with the exception of using arithmetic libraries to do my mean, median, and mode computations.
...
read more
Posted by Hanly on May 20, 2010 in Blog, Code | 1 comment
I was trying to add some sample Verilog code on my website, but the code syntax highlighter I use did not have a brush. I made my own Verilog brush for Alex Gorbatchev’s SyntaxHighlighter. Feel free to modify and improve the code. The only thing that I ask is that you share the modifications.
...
read more
Posted by Hanly on Jan 7, 2010 in Blog, Featured, Tutorials | 28 comments
This tutorial will demonstrate how to use the database adapter created in “Creating a SQLite Database in Android” to add and get data to and from the database to populate a ListView.
...
read more
Posted by Hanly on Dec 24, 2009 in Blog, Tutorials | 8 comments
There are several ways to send data across the internet to a server on the Android. I was recently working on a project and needed to send a JSON string to the server to add data to a database. Additionally in certain cases I wanted to receive data back from the server. The fastest and easiest way to do this was to use HTTP POST android library and capture the response from the server using a...
read more
Posted by Hanly on Dec 23, 2009 in Blog, Featured, Tutorials | 23 comments
This example will show you how to create a somewhat abstracted SQLite adapter on Android. This adapter can then be utilized by your program to do common database functions such as, querying and searching. I start by creating the class DBAdapter in my Android project and declaring the variable data necessary to create the database.
EDIT: The code has been modified since it originally assumed that...
read more