quick.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

   

space.gif

   

space.gif

  ../images/main/bullet_green_ball.gif 'e' What To Learn ?

E language is a vast language, so learning everything in short time is not possible. But to get started or to get to a position where one can write testbench and checker, one really needs to learn limited part of 'e' language. Lets assume that you need to develop a testbench as in below figure.

   

space.gif

../images/specman/testbench_env.gif
   

space.gif

In e, we need to code the following components.

   

space.gif

  • Base Object
  • Transaction Generator
  • Driver
  • Input/Output Monitors
  • Checker/Scoreboard
   

space.gif

  ../images/main/bulllet_4dots_orange.gif Base Object

As seen in earlier section, base object is used across the testbench for communication of data in a standard structure format. Following things are needs to be write a base object in e

   

space.gif

  • data types
  • struct
  • sub-types
  • constrains
    • keep
    • gen before
    • soft and hard constrains
  • condition flow control
  • methods
  • printing routines
   

space.gif

   

space.gif

  ../images/main/bulllet_4dots_orange.gif Transaction Generator

Transaction generator is the the one which generates the transactions. To do this job one needs to know the following

   

space.gif

  • gen and gen keeping
  • don't gen and physical fields
  • events
  • methods and tcm
   

space.gif

  ../images/main/bulllet_4dots_orange.gif Driver

To model driver, one needs to know the following

   

space.gif

  • unit
  • packing
  • methods and tcm
  • Interfacing with simulator
   

space.gif

  ../images/main/bulllet_4dots_orange.gif Input/Output Monitors

Once one knows about base object, transaction generator and drive, then coding monitors are very simple.

   

space.gif

  • unpacking
   

space.gif

  ../images/main/bulllet_4dots_orange.gif Checker/Scoreboard

To model the checker or scoreboard one needs to know following e languages construct

   

space.gif

  • list and keyed list
   

space.gif

   

space.gif

   

space.gif

   

space.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

  

Copyright 1998-2014

Deepak Kumar Tala - All rights reserved

Do you have any Comment? mail me at:deepak@asic-world.com