I've been trying to utilize some of my tools in my daily studies just to help me keep familiarity with them as I tend to forget things that I don't use on a daily basis. Here is a simple, though incomplete example of approaching my most recent linear systems homework with the assistance of Matlab.
This program is being updated as I complete the assignment.
%{ Author: Matthew B. Pare Course: EE 3303 - Linear System Analysis Assignment: Worksheet 3?, Due February 24, 2009 Copyright 2009 Matthew B. Pare
So here is my first Verilog program. Please be nice but I welcome your comments. The code is designed for the Digilent Spartan 3E Xilinx development board. The code was written in Xilinx ISE version 9.x but can easily be ported to ISE version 10.x by suppressing four warnings in regards to the button triggers.
My good fried Ryan (RHO) had this MacBook that he toted with him to Alaska where before his return to Texas essentially died. The symptoms were simple but seemingly terminal. When trying to start the computer all you got was a black screen, a noisy cd drive, and a solid white power light. No chime, no nothing...
Used for talking to devices like SD card on board, over short distances at high speeds. You have to have an interface fast enough for a "Real Time Interface." So for MP3 player you need a speed factor of about 10x.
Due: Oct. 28, 2008
Write a program to take single byte input data in the range of $00…$0F and print the corresponding character on the serial port. Print only one character from 0….F. In order to accomplish this, you have to include a routine to convert the input byte into the corresponding ASCII code.
Include that routine into the keypad scan routine such that (the ASCII code representing) the key that is pressed get’s printed on the serial port.
I've reactivated anonymous on the site again, my apologies for taking so long. I've implemented the simple image captcha using a pretty simple font with little distortion. The policies are rather light in general. Once you meet the requirements of one captcha they should disappear off all pages. I'll let things be relaxed like this until those pesky bots penetrate it. I was thinking I should have some indefinite integrals or something but still pretty simple. But we may never have comments again if I do that. ;-)
Cheers,
-mpare
Unfortunately I've had to temporarily disable anonymous comments for all content types on this site. I'll add a CAPTCHA or something this weekend and restore anonymous commenting.
Thanks for understanding,
-Matt
The RTI can be used to generate a hardware interrupt at a fixed periodic rate. If enabled (by setting RTIE=1), this interrupt will occur at the rate selected by the RTICTL register. The RTI timer runs with OSCCLK. See Figure 40. The RTIF bit is set to one at the end of the RTI time-out period.
For your homework, modify the “Display_Speed.asm” program by incorporating the timing routines from the “Ping_Pong Precise Timing.asm” program and show another character on the 4-digit display every 4 ms at a constant rate. (Do not speed up the display sequence).
Then, for your Project credit, run the program on the boards in the Computer lab and demonstrate to the TA. Then increase the time delay between characters by 1 ms at a time and note when the display starts noticeably flickering.
Write a subroutine that creates a 1ms delay by decrementing the X register in a loop for a processor frequencies of 8MHz, 16MHz & 24MHz. Since the program uses the X register, save it to the stack at the beginning of the routine and restore it from the stack at the end of the routine.
Recent comments
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
2 weeks 19 hours ago
2 weeks 6 days ago
3 weeks 7 hours ago
3 weeks 8 hours ago
9 weeks 12 hours ago
12 weeks 6 days ago
13 weeks 5 days ago