You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or1ksim can be launched without a config file, in which case it uses built-in default values. The default value for RAM size is 8MB, but most apps are built for 32MB RAM, and Linux in particular will not work with less. We should change or1ksim to use 32MB as default to avoid having to always load a config file
The text was updated successfully, but these errors were encountered:
I started to work on this, but it seems it will require a bit of an overhaul of how peripheral defaults are configured.
During Startup peripherals all register config handlers (i.e. memory is a peripheral)
When config is parsed configured peripherals setup reset handlers + defaults for non configured parameters
The problem is that if there is to config file defaults are not set and reset handlers are not configured. To me it looks like right now the memory is not even initialized if there is no sim.cfg.
or1ksim can be launched without a config file, in which case it uses built-in default values. The default value for RAM size is 8MB, but most apps are built for 32MB RAM, and Linux in particular will not work with less. We should change or1ksim to use 32MB as default to avoid having to always load a config file
The text was updated successfully, but these errors were encountered: