From: Jacob Lifshay <programmerjake@gmail.com>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] simulator get time API
Date: Sat, 25 Jul 2020 22:13:19 -0700
Message-ID: <CAC2bXD5qyQr3Xz5Qq=aT7BmYtg2SKWT8oH+ay62ES-bHU7KAjQ@mail.gmail.com> (raw)
# XXX sim._state is an internal variable
# and timeline does not exist
# AttributeError: '_SimulatorState' object
# has no attribute 'timeline'
# TODO: raise bugreport with whitequark
# requesting a public API to access this "officially"
# XXX print("time:", sim._state.timeline.now)
Feature request already submitted:
https://github.com/nmigen/nmigen/issues/443
Jacob
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next reply index
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-26 5:13 Jacob Lifshay [this message]
2020-07-26 8:30 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC2bXD5qyQr3Xz5Qq=aT7BmYtg2SKWT8oH+ay62ES-bHU7KAjQ@mail.gmail.com' \
--to=programmerjake@gmail.com \
--cc=libre-riscv-dev@lists.libre-riscv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git