it's very simple.
instantiat the RAM instance ram_sp_sr_sw, provide clk, cs; then create a bus for address, a bus for write data and a bus for read data in your testbench. Hook them up and set the we, oe bits to write or read data.
Same time, at the clock event, check cs, we and oe signals. If they are valid, print the value of these address and data bus.
let me know if u need more help
Main Topics
Browse All Topics





by: d-glitchPosted on 2006-06-28 at 05:03:01ID: 17000269
Hello boardergirl,
ange.com/s earch.jsp? query=veri log
This is a great place to get help with computers and softwareand lots of other stuff,
but there doesn't seem to be much traffic or experience with Verilog or VHDL.
If you search the EE Archives for Verilog, you only come up with about 40 questions.
Three of them are yours. Only a few of the others are as technical as yours.
Only one or two of the technical questions were answered satisfactorally.
http://search.experts-exch
I have a lot of experience programming CPLD's with CUPL.
But I haven't done anything with FPGA's, ASIC's, or Verilog yet.
Sorry I can't be more help.