From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] auto-generated simulator working??
Date: Sun, 5 Apr 2020 21:19:59 +0100
Message-ID: <CAPweEDwxO+CcNyjUcdNsHiQu+pQrZ9vQ8TLpPKZEBi95v=14xg@mail.gmail.com> (raw)
moo? it's working? holy cow!
def test_load_store(self):
lst = ["addi 1, 0, 0x0010",
"addi 2, 0, 0x1234",
"stw 2, 0(1)",
"lwz 3, 0(1)"]
(SelectableInt(value=0x1234, bits=64),)
writing reg 3
reg 0 00000000 00000010 00001234 00001234 00000000 00000000 00000000 00000000
reg 8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
reg 16 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
reg 24 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
SelectableInt(value=0x10, bits=64)
.
----------------------------------------------------------------------
Ran 3 tests in 1.918s
OK
_______________________________________________
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: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 20:19 Luke Kenneth Casson Leighton [this message]
2020-04-05 21:44 ` Jacob Lifshay
2020-04-05 22:22 ` 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='CAPweEDwxO+CcNyjUcdNsHiQu+pQrZ9vQ8TLpPKZEBi95v=14xg@mail.gmail.com' \
--to=lkcl@lkcl.net \
--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