OpenCores
Issue List
Or1ksim does not set default config values #18
Closed jeremybennett opened this issue over 15 years ago
jeremybennett commented over 15 years ago

In many places, Or1ksim does not set default values for its configuration parameters.

In some cases, the parameter values are held in static variables, so the default value will be zero, but this may not be appropriate.

In particular many string parameters, end up with default values of 0 (i.e. a NULL pointer), and will cause Ork1sim to crash when that parameter is used without checking, e.g. for string checking or as the name of a file to open.

The following parameters have been spotted with particular issues:

section vapi: vapi_fn field section ethernet: txfile, rxfile section vga: filename section fb: filename section kbd: rxfile section ata: file

jeremybennett commented over 15 years ago

Fixed in Or1ksim 0.3.0rc1

jeremybennett was assigned over 15 years ago
jeremybennett closed this over 15 years ago

Assignee
jeremybennett
Labels
Bug