aboutsummaryrefslogtreecommitdiff
path: root/parse-opcodes
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-09-08 16:47:24 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-09-08 16:47:24 -0700
commit37aaf1d884ce8c0861861df483f83f887b3d9739 (patch)
treef0131b471ff7187ec0bdbbc8f7480b05421075b6 /parse-opcodes
parent17997b79bb9fc98a0d3465db4f883f3793725bbd (diff)
downloadriscv-opcodes-37aaf1d884ce8c0861861df483f83f887b3d9739.zip
riscv-opcodes-37aaf1d884ce8c0861861df483f83f887b3d9739.tar.gz
riscv-opcodes-37aaf1d884ce8c0861861df483f83f887b3d9739.tar.bz2
Use BitPat instead of Bits for Chisel3
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-xparse-opcodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-opcodes b/parse-opcodes
index 790b9e4..6159bd1 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -725,7 +725,7 @@ def make_latex_table():
print_footer('\\caption{Instruction listing for RISC-V}')
def print_chisel_insn(name):
- s = " def %-18s = Bits(\"b" % name.replace('.', '_').upper()
+ s = " def %-18s = BitPat(\"b" % name.replace('.', '_').upper()
for i in range(31, -1, -1):
if yank(mask[name], i, 1):
s = '%s%d' % (s, yank(match[name], i, 1))