Giter Site home page Giter Site logo

saadia-hassan / types-of-verification-using-sram Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 8 KB

This repo contains golden vector and randomization testbenches for SRAM module.

Verilog 100.00%
verilog-hdl verilog-project verification-methodologies sram testbenches vlsi-design

types-of-verification-using-sram's Introduction

Importance of Functional Verification Techniques

Often times, we hear the importance of Verification while designing a module. The design can be done, but before starting the physical manufacturing process, there are a number of factors that have to be taken care of. One of the critical factors is Verification. Because your design may work well and good under specified conditions, but what if, without your knowledge, your design is behaving in an undesirable way under unspecified conditions too? Confused? Okay, consider a simple example of a counter module. This counter is supposed to increment the count at every positive edge once you reset it. But unfortunately, while testing it, you find that it is staying at one value for an extra pulse, odd, isn't it? But you wouldn't have known this if you wouldn't have tested it. Your counter counts until 9, where actually it has counted 18 in the process. Maybe this example isn't very reliable but I hope you understand the importance of testing and verification now. These simple mistakes can cause irrevocable damage in the long run.

To test the designs, we have 2 important types of testbenches we write for verification while using Verilog HDL:

  1. Golden Vector testbench
  2. Randomization testbench

You can check out the important terms here.

To show it practically, I've taken a simple example of a 4x16 SRAM and written the code for both types of testbenches.

Hope you found it inisghtful!

types-of-verification-using-sram's People

Contributors

saadia-hassan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.