sync
This commit is contained in:
parent
caf1bde49b
commit
0530d22a1d
|
@ -10,7 +10,10 @@ trait Plugin[T <: Pipeline] extends Nameable{
|
||||||
var pipeline : T = null.asInstanceOf[T]
|
var pipeline : T = null.asInstanceOf[T]
|
||||||
setName(this.getClass.getSimpleName.replace("$",""))
|
setName(this.getClass.getSimpleName.replace("$",""))
|
||||||
|
|
||||||
|
// Used to setup things with other plugins
|
||||||
def setup(pipeline: T) : Unit = {}
|
def setup(pipeline: T) : Unit = {}
|
||||||
|
|
||||||
|
//Used to flush out the required hardware (called after setup)
|
||||||
def build(pipeline: T) : Unit
|
def build(pipeline: T) : Unit
|
||||||
|
|
||||||
implicit class implicitsStage(stage: Stage){
|
implicit class implicitsStage(stage: Stage){
|
||||||
|
|
|
@ -68,7 +68,6 @@ class FpuTest extends FunSuite{
|
||||||
dut.clockDomain.forkSimSpeedPrinter(5.0)
|
dut.clockDomain.forkSimSpeedPrinter(5.0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class TestCase(op : String){
|
class TestCase(op : String){
|
||||||
def build(arg : String) = new ProcessStream(s"testfloat_gen $arg -tininessafter -forever -$op"){
|
def build(arg : String) = new ProcessStream(s"testfloat_gen $arg -tininessafter -forever -$op"){
|
||||||
def f32_f32_f32 ={
|
def f32_f32_f32 ={
|
||||||
|
|
Loading…
Reference in New Issue