diff options
author | Rupert Swarbrick <rswarbrick@gmail.com> | 2022-04-11 11:07:08 +0100 |
---|---|---|
committer | Rupert Swarbrick <rswarbrick@lowrisc.org> | 2022-04-12 11:10:46 +0100 |
commit | 9f0cf3437051b1ff0da9f087d001f768c2242870 (patch) | |
tree | bb0767afe4ea19067db35aea4732018f6f05d766 /riscv/sim.cc | |
parent | 61b4f61a857de65d1a341f55597bfceeb7b7690d (diff) | |
download | spike-9f0cf3437051b1ff0da9f087d001f768c2242870.zip spike-9f0cf3437051b1ff0da9f087d001f768c2242870.tar.gz spike-9f0cf3437051b1ff0da9f087d001f768c2242870.tar.bz2 |
Remove nprocs from cfg_t
Now we have hartids, we can remove nprocs so that we have a single
source of truth.
Diffstat (limited to 'riscv/sim.cc')
-rw-r--r-- | riscv/sim.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc index d7585ca..6945c64 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -62,8 +62,6 @@ sim_t::sim_t(const cfg_t *cfg, const char* varch, bool halted, bool real_time_cl remote_bitbang(NULL), debug_module(this, dm_config) { - assert(cfg->hartids().size() == cfg->nprocs()); - signal(SIGINT, &handle_signal); sout_.rdbuf(std::cerr.rdbuf()); // debug output goes to stderr by default |