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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_avnet_lx9microbard/] [sim/] [rtl_sim/] [src/] [leds.v] - Blame information for rev 213

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

Line No. Rev Author Line
1 157 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 CLK_40MHz);
13
      stimulus_done = 0;
14
 
15
      repeat(100) @(posedge CLK_40MHz);
16 162 olivier.gi
 //     PMOD1_P8 = 1;
17 157 olivier.gi
      repeat(500) @(posedge CLK_40MHz);
18 162 olivier.gi
 //     PMOD1_P8 = 0;
19 157 olivier.gi
      repeat(100) @(posedge CLK_40MHz);
20 162 olivier.gi
 //     PMOD1_P8 = 1;
21 157 olivier.gi
 
22
 
23
      repeat(500) @(posedge CLK_40MHz);
24
      PMOD1_P4 = 0;
25
      repeat(100) @(posedge CLK_40MHz);
26
      PMOD1_P4 = 1;
27
 
28
      repeat(500) @(posedge CLK_40MHz);
29
 
30
 
31
 
32
      stimulus_done = 1;
33
   end
34
 

powered by: WebSVN 2.1.0

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