Skip to content

Commit

Permalink
XX
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
  • Loading branch information
mballance committed Sep 6, 2024
1 parent 63dbb75 commit 2875d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pytest_fv/tool/hdl/sim/sim_xcelium.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ async def build(self):
for top in self.top:
cmd.append(top)

cmd.extend(['-snapshot', 'top', '-timescale', '1ns/1ps'])
cmd.extend(['-snapshot', 'top:snap', '-timescale', '1ns/1ps'])
# if self.debug:
# cmd.extend(['-debug', 'all'])

print("cmd: %s" % str(cmd))
with open(logfile, "a") as log:
log.write("** Elab\n")
log.write("** Elab %s\n" % str(cmd))
log.flush()
res = subprocess.run(
cmd,
Expand Down Expand Up @@ -157,7 +157,7 @@ async def run(self, args : HdlSim.RunArgs):

# fp.write("exit\n")

cmd.append('top')
cmd.append('top:snap')

for pa in args.plusargs:
cmd.append('+%s' % pa)
Expand Down

0 comments on commit 2875d5f

Please sign in to comment.