BranchPlugin do not use casez anymore
This commit is contained in:
parent
13061b8b2e
commit
0aa8cb11e0
|
@ -190,7 +190,8 @@ class BranchPlugin(earlyBranch : Boolean,
|
||||||
BranchCtrlEnum.B -> input(INSTRUCTION)(14 downto 12).mux(
|
BranchCtrlEnum.B -> input(INSTRUCTION)(14 downto 12).mux(
|
||||||
B"000" -> eq ,
|
B"000" -> eq ,
|
||||||
B"001" -> !eq ,
|
B"001" -> !eq ,
|
||||||
M"1-1" -> !less,
|
B"101" -> !less,
|
||||||
|
B"111" -> !less,
|
||||||
default -> less
|
default -> less
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -251,7 +252,8 @@ class BranchPlugin(earlyBranch : Boolean,
|
||||||
BranchCtrlEnum.B -> input(INSTRUCTION)(14 downto 12).mux(
|
BranchCtrlEnum.B -> input(INSTRUCTION)(14 downto 12).mux(
|
||||||
B"000" -> eq ,
|
B"000" -> eq ,
|
||||||
B"001" -> !eq ,
|
B"001" -> !eq ,
|
||||||
M"1-1" -> !less,
|
B"101" -> !less,
|
||||||
|
B"111" -> !less,
|
||||||
default -> less
|
default -> less
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -333,7 +335,8 @@ class BranchPlugin(earlyBranch : Boolean,
|
||||||
BranchCtrlEnum.B -> input(INSTRUCTION)(14 downto 12).mux(
|
BranchCtrlEnum.B -> input(INSTRUCTION)(14 downto 12).mux(
|
||||||
B"000" -> eq ,
|
B"000" -> eq ,
|
||||||
B"001" -> !eq ,
|
B"001" -> !eq ,
|
||||||
M"1-1" -> !less,
|
B"101" -> !less,
|
||||||
|
B"111" -> !less,
|
||||||
default -> less
|
default -> less
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue