projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224c6f8
)
No need to alocate more memory than used
author
Miodrag Milanovic
<mmicko@gmail.com>
Wed, 10 Nov 2021 09:50:44 +0000
(10:50 +0100)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Wed, 10 Nov 2021 09:50:44 +0000
(10:50 +0100)
frontends/verific/verific.cc
patch
|
blob
|
history
diff --git
a/frontends/verific/verific.cc
b/frontends/verific/verific.cc
index 5a75b52af837c5f879827073a189bd00068d213f..47020f1050e2209b11e1c046c5d7d081bdafd4a4 100644
(file)
--- a/
frontends/verific/verific.cc
+++ b/
frontends/verific/verific.cc
@@
-1143,7
+1143,6
@@
void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::se
module->memories[memory->name] = memory;
int number_of_bits = net->Size();
- number_of_bits = 1 << ceil_log2(number_of_bits);
int bits_in_word = number_of_bits;
FOREACH_PORTREF_OF_NET(net, si, pr) {
if (pr->GetInst()->Type() == OPER_READ_PORT) {