I have been communicating to XEM using C# for a while, and everything works fine, but I never tried trigger in before.
I added a trigger in to the code, but cannot observe any response.
Wire in, however, is working properly.
wire [15:0] ep10wire;
wire [15:0] ep40wire;
okWireIn Conf_Addr_10 ( .ok1 (ok1), .ep_addr (8’h10), .ep_dataout (ep10wire));
okTriggerIn Conf_Addr_40 ( .ok1 (ok1), .ep_addr (8’h40), .ep_clk (clk_PLL), .ep_trigger (ep40wire));
Note that the ep_clk or trigger in (clk_PLL) is always running at 2MHz, which is verified by scope.
Both ep10wire and ep40wire are assigned to test pin and observed by scope.
Does anyone has any suggestion?