Fix unused variable in VL_READMEM_N (#2274)

This commit is contained in:
Geza Lore 2020-04-22 22:25:35 +01:00 committed by GitHub
parent 77915f78db
commit c96a43b452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1901,7 +1901,6 @@ void VL_READMEM_N(bool hex, // Hex format, else binary
QData start, // First array row address to read
QData end // Last row address to read
) VL_MT_SAFE {
QData addr_max = array_lsb + depth - 1;
if (start < static_cast<QData>(array_lsb)) start = array_lsb;
VlReadMem rmem(hex, bits, filename, start, end);