Line 27... |
Line 27... |
/* */
|
/* */
|
/* Author(s): */
|
/* Author(s): */
|
/* - Olivier Girard, olgirard@gmail.com */
|
/* - Olivier Girard, olgirard@gmail.com */
|
/* */
|
/* */
|
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
/* $Rev: 111 $ */
|
/* $Rev: 134 $ */
|
/* $LastChangedBy: olivier.girard $ */
|
/* $LastChangedBy: olivier.girard $ */
|
/* $LastChangedDate: 2011-05-20 22:39:02 +0200 (Fri, 20 May 2011) $ */
|
/* $LastChangedDate: 2012-03-22 21:31:06 +0100 (Thu, 22 Mar 2012) $ */
|
/*===========================================================================*/
|
/*===========================================================================*/
|
|
|
initial
|
initial
|
begin
|
begin
|
$display(" ===============================================");
|
$display(" ===============================================");
|
Line 62... |
Line 62... |
|
|
// Make sure initialization worked fine
|
// Make sure initialization worked fine
|
//--------------------------------------------------------
|
//--------------------------------------------------------
|
@(r15==16'h1000);
|
@(r15==16'h1000);
|
|
|
if (r2 !==16'h0022) tb_error("R2 initialization");
|
if (r2 !==16'h0002) tb_error("R2 initialization");
|
if (r3 !==16'h3333) tb_error("R3 initialization");
|
if (r3 !==16'h3333) tb_error("R3 initialization");
|
if (r4 !==16'h4444) tb_error("R4 initialization");
|
if (r4 !==16'h4444) tb_error("R4 initialization");
|
if (r5 !==16'h5555) tb_error("R5 initialization");
|
if (r5 !==16'h5555) tb_error("R5 initialization");
|
if (r6 !==16'h6666) tb_error("R6 initialization");
|
if (r6 !==16'h6666) tb_error("R6 initialization");
|
if (r7 !==16'h7777) tb_error("R7 initialization");
|
if (r7 !==16'h7777) tb_error("R7 initialization");
|