Move swing stuff into main test package
This commit is contained in:
parent
0255f51cc5
commit
791608f655
|
@ -218,7 +218,7 @@ class BranchPlugin(earlyBranch : Boolean,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
insert(BRANCH_DO) := input(PREDICTION_HAD_BRANCHED) =/= insert(BRANCH_COND_RESULT)
|
insert(BRANCH_DO) := input(PREDICTION_HAD_BRANCHED) =/= input(BRANCH_COND_RESULT)
|
||||||
|
|
||||||
//Calculation of the branch target / correction
|
//Calculation of the branch target / correction
|
||||||
val imm = IMM(input(INSTRUCTION))
|
val imm = IMM(input(INSTRUCTION))
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vexriscv
|
package vexriscv.test
|
||||||
|
|
||||||
import java.awt.{Color, Dimension, Graphics}
|
|
||||||
import java.awt.event.{MouseEvent, MouseListener}
|
import java.awt.event.{MouseEvent, MouseListener}
|
||||||
|
import java.awt.{Color, Dimension, Graphics}
|
||||||
import javax.swing.JPanel
|
import javax.swing.JPanel
|
||||||
|
|
||||||
abstract class JLedArray(ledCount : Int,ledDiameter : Int = 20, blackThickness : Int = 2) extends JPanel{
|
abstract class JLedArray(ledCount : Int,ledDiameter : Int = 20, blackThickness : Int = 2) extends JPanel{
|
|
@ -11,6 +11,7 @@ import javax.swing._
|
||||||
|
|
||||||
import spinal.lib.com.jtag.sim.JtagTcp
|
import spinal.lib.com.jtag.sim.JtagTcp
|
||||||
import spinal.lib.com.uart.sim.{UartDecoder, UartEncoder}
|
import spinal.lib.com.uart.sim.{UartDecoder, UartEncoder}
|
||||||
|
import vexriscv.test.{JLedArray, JSwitchArray}
|
||||||
|
|
||||||
import scala.collection.mutable
|
import scala.collection.mutable
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue