示例#1
0
 public TestHLS_Cordic_Testbench()
 {
     _dut = new TestHLS_Cordic()
     {
         Clk = _clk,
         X = _x,
         Sin = _sin,
         Cos = _cos,
         Rdy = _rdy
     };
     _clkGen = new Clock(new Time(10.0, ETimeUnit.ns))
     {
         Clk = _clk
     };
 }
示例#2
0
 public TestHLS_Cordic_Testbench()
 {
     _dut = new TestHLS_Cordic()
     {
         Clk = _clk,
         X   = _x,
         Sin = _sin,
         Cos = _cos,
         Rdy = _rdy
     };
     _clkGen = new Clock(new Time(10.0, ETimeUnit.ns))
     {
         Clk = _clk
     };
 }