![]() |
|
|
|||||||
![]() |
VHDL - Advice in testing a simple RAM code. |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi,
I have written a simple RAM code in VHDL. It is just a simple code that Reads from the "Data" pin or writes to the "Data" pin. Because in VHDL, we are not able to see the info contains in the variable, I assign the info inside the variable "MEM_s" to output pin "DataOut" so that I can see its contents. The code looks OK but when I tried to test it in Vector Waveform simulation, it doesn't seem to work.. Attached is the waveform before and after the simulation. From the waveform, it can be seen that whenever the "R_Wbar" pin is low (indicating reading from RAM), the "Data" pin is in high impedance state.. What I hope to be able to do is to first write something into Address "0000" of the RAM and after that read from the same location. Below is the code.. Please advice how I can test it.. Thanks.. Code:
Before Simulation ![]() The waveform before and after simulation shows the same thing. mrnobody |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advice for testing Cisco 7200 and 3600 series routers | sdtom | Hardware | 3 | 10-29-2007 03:30 PM |
| Simple region code question... simple answer?? | joseph.greer@gmail.com | DVD Video | 7 | 01-26-2007 09:07 PM |
| Testing locations | Christopher Range | A+ Certification | 0 | 06-27-2005 10:28 AM |
| Re: isp advice..should i switch to adelphia from sprint dsl | chris | A+ Certification | 0 | 05-17-2004 08:07 PM |
| Re: How to find testing offices? | Karkucus | A+ Certification | 0 | 01-27-2004 05:21 PM |