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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_61/] [or1ksim/] [sim-config.c] - Diff between revs 221 and 230

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

Rev 221 Rev 230
Line 21... Line 21...
 
 
#include <stdio.h>
#include <stdio.h>
#include "sim-config.h"
#include "sim-config.h"
#include "abstract.h"
#include "abstract.h"
#include "spr_defs.h"
#include "spr_defs.h"
 
#include "pic.h"
 
 
struct config config;
struct config config;
 
 
void init_defconfig()
void init_defconfig()
{
{
Line 39... Line 40...
        config.uarts[0].rxfile = "/tmp/uart0.rx";
        config.uarts[0].rxfile = "/tmp/uart0.rx";
        config.uarts[0].txfile = "/tmp/uart0.tx";
        config.uarts[0].txfile = "/tmp/uart0.tx";
        config.uarts[0].baseaddr = 0x80000000;
        config.uarts[0].baseaddr = 0x80000000;
        config.uarts[0].jitter = -1; /* Async behavior */
        config.uarts[0].jitter = -1; /* Async behavior */
        config.dmas[0].baseaddr = 0x90000000;
        config.dmas[0].baseaddr = 0x90000000;
 
        config.dmas[0].irq = INT_DMA;
        config.simdebug = 0;
        config.simdebug = 0;
        config.profile = 0;
        config.profile = 0;
        config.iprompt = 0;
        config.iprompt = 0;
        config.dependstats = 1;
        config.dependstats = 1;
        config.dependency = 1;
        config.dependency = 1;

powered by: WebSVN 2.1.0

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