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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [or1ksim/] [cpu-config.c] - Diff between revs 19 and 100

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

Rev 19 Rev 100
Line 205... Line 205...
    }
    }
  else
  else
    config.cpu.sbuf_len = val.int_val;
    config.cpu.sbuf_len = val.int_val;
}
}
 
 
 
static void
 
cpu_hardfloat (union param_val val, void *dat)
 
{
 
  config.cpu.hardfloat = val.int_val;
 
}
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/*!Register the functions to handle a section cpu
/*!Register the functions to handle a section cpu
 
 
   This section does not allocate dynamically a data structure holding its
   This section does not allocate dynamically a data structure holding its
   config information. It's all in the global config.sim data
   config information. It's all in the global config.sim data
Line 229... Line 234...
  reg_config_param (sec, "sr",          paramt_int, cpu_sr);
  reg_config_param (sec, "sr",          paramt_int, cpu_sr);
  reg_config_param (sec, "superscalar", paramt_int, cpu_superscalar);
  reg_config_param (sec, "superscalar", paramt_int, cpu_superscalar);
  reg_config_param (sec, "hazards",     paramt_int, cpu_hazards);
  reg_config_param (sec, "hazards",     paramt_int, cpu_hazards);
  reg_config_param (sec, "dependstats", paramt_int, cpu_dependstats);
  reg_config_param (sec, "dependstats", paramt_int, cpu_dependstats);
  reg_config_param (sec, "sbuf_len",    paramt_int, cpu_sbuf_len);
  reg_config_param (sec, "sbuf_len",    paramt_int, cpu_sbuf_len);
 
  reg_config_param (sec, "hardfloat",   paramt_int, cpu_hardfloat);
 
 
}       /* reg_cpu_sec() */
}       /* reg_cpu_sec() */
 
 
 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.