aboutsummaryrefslogtreecommitdiff
path: root/spike_main
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2020-04-14 19:19:46 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2020-04-14 19:19:57 -0700
commit80b2e9002ae81001e34b2fb76a1e7e3bbf839e9d (patch)
tree816c26f108a6a7ab3901f80a1c8f9d84a82508d3 /spike_main
parentfa1adc845203413588aa07de776655c4bd64c1bb (diff)
downloadspike-80b2e9002ae81001e34b2fb76a1e7e3bbf839e9d.zip
spike-80b2e9002ae81001e34b2fb76a1e7e3bbf839e9d.tar.gz
spike-80b2e9002ae81001e34b2fb76a1e7e3bbf839e9d.tar.bz2
Revert "rvv: support simulations with mem size <4K"
This reverts commit 109aa23bbf8aba76b27629095688e86643eaf51f. There is new implementation
Diffstat (limited to 'spike_main')
-rw-r--r--spike_main/spike.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/spike_main/spike.cc b/spike_main/spike.cc
index 5949842..31c0cd7 100644
--- a/spike_main/spike.cc
+++ b/spike_main/spike.cc
@@ -113,7 +113,7 @@ static std::vector<std::pair<reg_t, mem_t*>> make_mems(const char* arg)
help();
auto size = strtoull(p + 1, &p, 0);
if ((size | base) % PGSIZE != 0)
- fprintf(stderr, "Warning: the memory size %llu at 0x%llX is not align to the page size (%ld)\n\n", size, base, PGSIZE);
+ help();
res.push_back(std::make_pair(reg_t(base), new mem_t(size)));
if (!*p)
break;