Skip to content

Quick Start

getvictor edited this page Sep 24, 2013 · 3 revisions

This page is stale.

This Quick Start is intended for users of http://www.edaplayground.com. Users of private deployments should search their internal web for "EDA Playground".

  1. In a separate web browser window, log in to EDA Playground at: http://www.edaplayground.com

  2. In either the Design or Testbench window pane, type in the following code:
module test;
  initial
    $display("Hello World!");
endmodule

(Note: The code in the right Design pane is compiled first, followed by code in the left Testbench pane.)

  1. Click
    Run

    Yes, running a sim is as simple as that!

  2. In the bottom pane, you should see real-time results as your code is being compiled and then run. A run typically takes 1-5 seconds, depending on network traffic and simulator. Near the bottom of result output, you should see:
Hello World!



  1. Now, let's save our good work. Type in a descriptive name in the Details area on the left.
    Details-Name

    and click
    Save

  2. The browser page will reload and the browser address bar will change. This is a persistent link to your saved code. You can send the link by email, post it on a web page, post it on Stack Overflow forums, etc.
    Here is what the link looks like for one user's Hello World! playground: http://www.edaplayground.com/s/3/12

  3. Now, let's try modifying existing code. Load the following example: RAM

  4. On the left editor pane, before the end of initial block, add the following:
    write_enable = 1;
    data_write = 8'h2C;
    toggle_clk_write;
    toggle_clk_read;
    $display("data[%0h]: %0h",
      address_read, data_read);

The above code will write new data and read it out again. ( address_read and address_write should be the same).

  1. Run the sim. In the results you should see this new message:
data[1b]: 2c



  1. Optional. Click Copy to save a personal version of the modified RAM code, including the simulation results.
Clone this wiki locally