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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_avnet_lx9microbard/] [sim/] [rtl_sim/] [src/] [leds.v] - Rev 162

Compare with Previous | Blame | View Log

/*===========================================================================*/
/*                                 DIGITAL I/O                               */
/*---------------------------------------------------------------------------*/
/* Test the Digital I/O interface.                                           */
/*===========================================================================*/
 
initial
   begin
      $display(" ===============================================");
      $display("|                 START SIMULATION              |");
      $display(" ===============================================");
      repeat(5) @(posedge CLK_40MHz);
      stimulus_done = 0;
 
      repeat(100) @(posedge CLK_40MHz);
 //     PMOD1_P8 = 1;
      repeat(500) @(posedge CLK_40MHz);
 //     PMOD1_P8 = 0;
      repeat(100) @(posedge CLK_40MHz);
 //     PMOD1_P8 = 1;
 
 
      repeat(500) @(posedge CLK_40MHz);
      PMOD1_P4 = 0;
      repeat(100) @(posedge CLK_40MHz);
      PMOD1_P4 = 1;
 
      repeat(500) @(posedge CLK_40MHz);
 
 
 
      stimulus_done = 1;
   end
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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