CE433 Embedded Systems
Tutorial Week 4: Data Storage Units
Name: Audra Benally
Email: albenally1@fortlewis.edu
1. Title: Data Storage Units
2. Introduction: This week in embedded systems, we revisited
storage units made from latches and flip flops. These units are used to
story memory. Then rom memory was created and simulated with several
different data sizes. Then a file was created to read a .coe file.
3. Materials and Methods:
Materials:
- Computer
- Vivado Software
- GVim Software
Methods:
For this homework assignment,
simulations for the flips flops were done first. There were several
flip flops including: SR flip flop, D flip flop, JK flip flop, and T
flip flop. The testbenches were provided for the first two but the last
two needed to be written up. Then rom files were made to simulate
reading from read-only memory. Several different sized data files were
created and simulated. The last task involved reading with the IP
blocks.
4. Results:
Task 1. Repeat the simulations in sections 1-3.
Figure 1. SR Flip Flop files and simulation results.
Figure 2. D Flip Flop triggered by the rising edge.
Task 2. Write the testbenches and run simulations for section 4 and section 5.
Figure 3. JK
Flip Flop files and simulation results. From section 4.
Figure 4. T Flip Flop files and simulation results. From section 5.
Task 3. Repeat all the work in section
8 and complete the task described in the end of section 8.
Figure 5. First simulation results from rom.v file.
Figure 6.
Simulation results from rom_hex.v and memory_hex.mem simulation.
Figure 7. rom_8bit simulation results.
Figure 8. rom_3bit simulation results.
5. Discussion
For
this week, different latches and flip flops were reviewed and
simulated. I rushed through section 8 which had to do with the rom
files because I'm almost alwasys behind on my assignments. I did not
get to finishing the last task. I loaded the ds_image.coe file into
vivado but wasn't sure how to code the module. I wasn't sure what to do
with read_en and ce. Plus, like I said, I just ran out of time again.