LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Mon Apr 28 22:30:24 CEST 2008
    Subject: [cvs-checkins] MODIFIED: aemb ...
    Top
    Date: 00/08/04 28:22:30

    Modified: aemb/sw/cc corefunc.hh
    Log:
    Changed to new headers.




    Revision Changes Path
    1.2 aemb/sw/cc/corefunc.hh

    http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/corefunc.hh.diff?r1=1.1&r2=1.2

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: corefunc.hh
    ===================================================================
    RCS file: /cvsroot/sybreon/aemb/sw/cc/corefunc.hh,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- corefunc.hh 27 Apr 2008 16:04:42 -0000 1.1
    +++ corefunc.hh 28 Apr 2008 20:30:24 -0000 1.2
    @@ -1,4 +1,4 @@
    -/* $Id: corefunc.hh,v 1.1 2008/04/27 16:04:42 sybreon Exp $
    +/* $Id: corefunc.hh,v 1.2 2008/04/28 20:30:24 sybreon Exp $
    **
    ** AEMB Function Verification C++ Testbench
    ** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@a...>
    @@ -29,7 +29,7 @@
    #ifndef COREFUNC_HH
    #define COREFUNC_HH

    -#define MAGIC 0xAE63AE63 // magic number
    +#define MAGIC 0xAE62AE62 // magic number

    volatile int intr = -1;

    @@ -38,12 +38,16 @@
    intr = 0; // flag the interrupt service routine
    }

    +/**
    +INTERRUPT TEST ROUTINE
    +*/
    +
    int interruptTest(int timeout)
    {
    - enableInterrupts();
    + aembEnableInterrupts();
    int timer;
    for (timer=0; (timer < timeout * 100) && (intr == -1); ++timer); // delay loop
    - disableInterrupts();
    + aembDisableInterrupts();
    return (intr == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
    }

    @@ -94,6 +98,9 @@

    /*
    $Log: corefunc.hh,v $
    +Revision 1.2 2008/04/28 20:30:24 sybreon
    +Changed to new headers.
    +
    Revision 1.1 2008/04/27 16:04:42 sybreon
    Minor cosmetic changes.




     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.