Deleted Added
sdiff udiff text old ( 12119:e9ef3ee3171d ) new ( 12120:133620bfc43b )
full compact
1// -*- mode:c++ -*-
2
3// Copyright (c) 2015 RISC-V Foundation
4// Copyright (c) 2016 The University of Virginia
5// All rights reserved.
6//
7// Redistribution and use in source and binary forms, with or without
8// modification, are permitted provided that the following conditions are

--- 21 unchanged lines hidden (view full) ---

30// Authors: Maxwell Walter
31// Alec Roelke
32
33////////////////////////////////////////////////////////////////////
34//
35// Bitfield definitions.
36//
37
38def bitfield OPCODE <6:0>;
39def bitfield NONOPCODE <31:7>;
40
41// R-Type
42def bitfield ALL <31:0>;
43def bitfield RD <11:7>;
44def bitfield FUNCT3 <14:12>;
45def bitfield RS1 <19:15>;
46def bitfield RS2 <24:20>;
47def bitfield FUNCT7 <31:25>;

--- 16 unchanged lines hidden (view full) ---

64// SB-Type
65def bitfield BIMM12BIT11 <7>;
66def bitfield BIMM12BITS4TO1<11:8>;
67def bitfield IMMSIGN <31>;
68def bitfield BIMM12BITS10TO5 <30:25>;
69
70// UJ-Type
71def bitfield UJIMMBITS10TO1 <30:21>;
72def bitfield UJIMMBIT11 <20>;
73def bitfield UJIMMBITS19TO12 <19:12>;
74
75// System
76def bitfield FUNCT12 <31:20>;
77def bitfield CSRIMM <19:15>;
78
79// Floating point
80def bitfield FD <11:7>;

--- 4 unchanged lines hidden (view full) ---

85def bitfield ROUND_MODE <14:12>;
86def bitfield CONV_SGN <24:20>;
87def bitfield FUNCT2 <26:25>;
88
89// AMO
90def bitfield AMOFUNCT <31:27>;
91def bitfield AQ <26>;
92def bitfield RL <25>;