Guest User

Untitled

a guest
Apr 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. module test;
  2.  
  3. reg clk;
  4. wire out;
  5.  
  6. initial begin
  7. $display("newjam wave decoder");
  8. clk = 0;
  9. //$monitor("%s", out);
  10. end
  11.  
  12. // monitor the output of grom
  13. always @* begin
  14. $display("%d", out);
  15. end
  16.  
  17. // every 100 ticks tock the clock
  18. always #100 clk = !clk;
  19.  
  20. // run grom using our clock
  21. grom grom1(clk, out);
  22.  
  23. endmodule
Add Comment
Please, Sign In to add comment