mirror of
https://github.com/verilator/verilator.git
synced 2025-01-03 21:27:35 +00:00
Update include/gtkwave from upstream
This commit is contained in:
parent
378800ee4a
commit
05e5f1955e
@ -130,6 +130,7 @@ void **JenkinsIns(void *base_i, const unsigned char *mem, uint32_t length, uint3
|
|||||||
#define FST_HDR_TIMEZERO_SIZE (8)
|
#define FST_HDR_TIMEZERO_SIZE (8)
|
||||||
#define FST_GZIO_LEN (32768)
|
#define FST_GZIO_LEN (32768)
|
||||||
#define FST_HDR_FOURPACK_DUO_SIZE (4*1024*1024)
|
#define FST_HDR_FOURPACK_DUO_SIZE (4*1024*1024)
|
||||||
|
#define FST_ZWRAPPER_HDR_SIZE (1+8+8)
|
||||||
|
|
||||||
#if defined(__APPLE__) && defined(__MACH__)
|
#if defined(__APPLE__) && defined(__MACH__)
|
||||||
#define FST_MACOSX
|
#define FST_MACOSX
|
||||||
@ -4633,9 +4634,14 @@ if(sectype == FST_BL_ZWRAPPER)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fstReaderFseeko(xc, xc->f, 1+8+8, SEEK_SET);
|
fstReaderFseeko(xc, xc->f, FST_ZWRAPPER_HDR_SIZE, SEEK_SET);
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
fflush(xc->f);
|
fflush(xc->f);
|
||||||
|
#else
|
||||||
|
/* Windows UCRT runtime library reads one byte ahead in the file
|
||||||
|
even with buffering disabled and does not synchronise the
|
||||||
|
file position after fseek. */
|
||||||
|
_lseek(fileno(xc->f), FST_ZWRAPPER_HDR_SIZE, SEEK_SET);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
zfd = dup(fileno(xc->f));
|
zfd = dup(fileno(xc->f));
|
||||||
@ -6185,7 +6191,9 @@ struct fstReaderContext *xc = (struct fstReaderContext *)ctx;
|
|||||||
fst_off_t blkpos = 0, prev_blkpos;
|
fst_off_t blkpos = 0, prev_blkpos;
|
||||||
uint64_t beg_tim, end_tim, beg_tim2, end_tim2;
|
uint64_t beg_tim, end_tim, beg_tim2, end_tim2;
|
||||||
int sectype;
|
int sectype;
|
||||||
|
#ifdef FST_DEBUG
|
||||||
unsigned int secnum = 0;
|
unsigned int secnum = 0;
|
||||||
|
#endif
|
||||||
uint64_t seclen;
|
uint64_t seclen;
|
||||||
uint64_t tsec_uclen = 0, tsec_clen = 0;
|
uint64_t tsec_uclen = 0, tsec_clen = 0;
|
||||||
uint64_t tsec_nitems;
|
uint64_t tsec_nitems;
|
||||||
@ -6277,7 +6285,9 @@ for(;;)
|
|||||||
}
|
}
|
||||||
|
|
||||||
blkpos += seclen;
|
blkpos += seclen;
|
||||||
|
#ifdef FST_DEBUG
|
||||||
secnum++;
|
secnum++;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
xc->rvat_beg_tim = beg_tim;
|
xc->rvat_beg_tim = beg_tim;
|
||||||
|
Loading…
Reference in New Issue
Block a user