Email: bknpk@hotmail.com Phone: +972-54-7649119


V

 

ASIC/FPGA Design and Verification Out Source Services

VPI memory model

model for synchronous write memory.

  1. I decided to use a sparse memory model to reduce memory consumption. The idea is that a memory of large address (18 bits) using a 16 bits data word, consumes only that much that is written, to the memory model, during simulation.

  2. In VHDL, capabilities such as mentioned above, are built in the language. For VERILOG one needs VPI. Simply write it in C.

  3. The memory is implemented as a system task. It receives address and data inputs, read and write strobes and it drives data on read.

  4. The system task is called from a simple memory model: it samples on positive clock the write inputs and drives the data output on read.

  5. The memory is the Design Under Test. It is checked in a small test-bench. The design is compiled using the free VERILOG simulator: icarus.

  6. The algorithm is explained in the following page: algorithm

  7. The code is described in the following page: code description

  8. The compilation script, using the free verilog simulator icarus is described in this page.


  9. The VERILOG files: test-bench and DUT as well as the c-code and the compilation script are available at: code

  10. You may want to share your thoughts and add your comments. Feedback This Site

Another project is an AHB VHDL project, made of two AHB masters, one arbiter, one AHB to APB bridge and one simple APB slave. If you are interested in this project as a graduate project, contact me via mail and put in the subject: non free AHB project.
  ...



Home

Download Area

SD slave with Samsung (k9f1208) flash (vhdl project).








Search This Site




new pages on this site