Move swing stuff into main test package

This commit is contained in:
Dolu1990 2018-08-29 14:55:25 +02:00
parent 0255f51cc5
commit 791608f655
3 changed files with 4 additions and 3 deletions

View File

@ -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))

View File

@ -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{

View File

@ -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