mirror of
https://github.com/SpinalHDL/VexRiscv.git
synced 2025-01-03 03:43:39 -05:00
SpinalHDL 0.11.4 update
This commit is contained in:
parent
586d3ed286
commit
e1b86ea511
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ scalaVersion := "2.11.8"
|
||||||
EclipseKeys.withSource := true
|
EclipseKeys.withSource := true
|
||||||
|
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "0.11.3",
|
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "0.11.4",
|
||||||
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "0.11.3",
|
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "0.11.4",
|
||||||
"org.yaml" % "snakeyaml" % "1.8"
|
"org.yaml" % "snakeyaml" % "1.8"
|
||||||
)
|
)
|
||||||
|
|
|
@ -14,7 +14,7 @@ object Riscv{
|
||||||
case class IMM(instruction : Bits) extends Area{
|
case class IMM(instruction : Bits) extends Area{
|
||||||
// immediates
|
// immediates
|
||||||
def i = instruction(31 downto 20)
|
def i = instruction(31 downto 20)
|
||||||
def s = instruction(31, 25) ## instruction(11, 7)
|
def s = instruction(31 downto 25) ## instruction(11 downto 7)
|
||||||
def b = instruction(31) ## instruction(7) ## instruction(30 downto 25) ## instruction(11 downto 8)
|
def b = instruction(31) ## instruction(7) ## instruction(30 downto 25) ## instruction(11 downto 8)
|
||||||
def u = instruction(31 downto 12) ## U"x000"
|
def u = instruction(31 downto 12) ## U"x000"
|
||||||
def j = instruction(31) ## instruction(19 downto 12) ## instruction(20) ## instruction(30 downto 21)
|
def j = instruction(31) ## instruction(19 downto 12) ## instruction(20) ## instruction(30 downto 21)
|
||||||
|
|
Loading…
Reference in a new issue