EE 308
Homework #9
Due Mar. 29, 1998

Complete the Altera code for Lab 8. Note that you have to replace a few broken blocks in the Altera files you are given. To do this make a block which works correctly. Then go to the File menu, and select Make Default Symbol. Open the file which needs the block, delete the existing broken block, and insert your correct block.

  1. Download the file memexp.gdf. Delete the broken block named memsel and replace it with one which works. CS_MEM_EVENn should be low on an access (read or write) to even memory locations from 0x1000 to 0x7FFF (with E high). CS_MEM_ODDn should be low on an access (read or write) to odd memory locations from 0x1000 to 0x7FFF (with E high). Make sure the program compiles. Turn in your gdf or tdf file for memsel.

  2. Download the file exp_ports.gdf. Delete the broken blocks named w401_eqn and w402_eqn and replace them with ones which works. Use the code from w400_eqn.tdf as a model. Make sure the program compiles. Turn in your gdf or tdf files.

  3. Download the file hc12_exp.gdf. Delete the broken blocks named r401_eqn and r402_eqn and replace them with ones which works. Use the code from r400_eqn.tdf as a model. Make sure the program compiles. Turn in your gdf or tdf files.

  4. Use the Assign menu to assign pins to match the schematic. In the Assign menu you should also make sure that JTAG is disabled. After you compile your program, look at the hc12_exp.rpt file and make sure the pinouts match those on the schematic. Turn in the pinout diagram from hc12_exp.rpt. (Do not print the whole report file, just select and print the pinout diagram).