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

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [verilator/] [sw/] [support/] [tick.c] - Diff between revs 36 and 53

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 36 Rev 53
Line 1... Line 1...
#include "../support/spr_defs.h"
#include "../support/or1200.h"
#include "../support/support.h"
#include "../support/support.h"
#include "tick.h"
#include "tick.h"
 
 
int tick_int;
int tick_int;
 
 
Line 27... Line 27...
{
{
        tick_int++;
        tick_int++;
        mtspr(SPR_TTMR, mfspr(SPR_TTMR) & ~(SPR_TTMR_IP));    //clears interrupt
        mtspr(SPR_TTMR, mfspr(SPR_TTMR) & ~(SPR_TTMR_IP));    //clears interrupt
}
}
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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