OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [actel_m1a3pl_dev_kit/] [sim/] [rtl_sim/] [src/] [spacewar.v] - Blame information for rev 203

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 80 olivier.gi
/*===========================================================================*/
2
/*                                 DIGITAL I/O                               */
3
/*---------------------------------------------------------------------------*/
4
/* Test the Digital I/O interface.                                           */
5
/*===========================================================================*/
6
 
7
initial
8
   begin
9
      $display(" ===============================================");
10
      $display("|                 START SIMULATION              |");
11
      $display(" ===============================================");
12
      repeat(5) @(posedge oscclk);
13
      stimulus_done = 0;
14
 
15 107 olivier.gi
      repeat(50) @(posedge mclk);
16 80 olivier.gi
 
17 107 olivier.gi
      // Send uart synchronization frame
18 136 olivier.gi
      dbg_uart_sync;
19 80 olivier.gi
 
20 107 olivier.gi
      // Let the CPU run
21
      dbg_uart_wr(CPU_CTL,  16'h0002);
22 80 olivier.gi
 
23
      stimulus_done = 1;
24
   end
25
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.