示例#1
0
 public TestHLS_FPU_Testbench()
 {
     _dut = new TestHLS_FPU()
     {
         Clk = _clk,
         A = _a,
         B = _b,
         Sum = _sum,
         Diff = _diff,
         Prod = _prod,
         Quot = _quot,
         Neg = _neg,
         Abs = _abs
     };
     _clkGen = new Clock(new Time(10.0, ETimeUnit.ns))
     {
         Clk = _clk
     };
 }
示例#2
0
 public TestHLS_FPU_Testbench()
 {
     _dut = new TestHLS_FPU()
     {
         Clk  = _clk,
         A    = _a,
         B    = _b,
         Sum  = _sum,
         Diff = _diff,
         Prod = _prod,
         Quot = _quot,
         Neg  = _neg,
         Abs  = _abs
     };
     _clkGen = new Clock(new Time(10.0, ETimeUnit.ns))
     {
         Clk = _clk
     };
 }