diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-09-08 16:47:24 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-09-08 16:47:24 -0700 |
commit | 37aaf1d884ce8c0861861df483f83f887b3d9739 (patch) | |
tree | f0131b471ff7187ec0bdbbc8f7480b05421075b6 /parse-opcodes | |
parent | 17997b79bb9fc98a0d3465db4f883f3793725bbd (diff) |
Use BitPat instead of Bits for Chisel3
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-x | parse-opcodes | 2 |
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)) |