No need to alocate more memory than used

This commit is contained in:
Miodrag Milanovic 2021-11-10 10:50:44 +01:00
parent 224c6f8664
commit 15a35f5584
1 changed files with 0 additions and 1 deletions

View File

@ -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) {