mirror of
https://github.com/marqs85/ossc
synced 2026-11-27 08:23:39 +03:00
use LEDs for debug in latency tester mode
This commit is contained in:
1 parent
a076c6d2db
commit
0c55cc03bb
3 files changed
+12
-5
No files matched your search
@@ -34,6 +34,7 @@ module lat_tester (
|
||||
output reg [2:0] mode_synced,
|
||||
output reg [15:0] lat_result,
|
||||
output reg [11:0] stb_result,
|
||||
output trig_waiting,
|
||||
output reg finished
|
||||
);
|
||||
|
||||
@@ -41,6 +42,8 @@ reg VSYNC_in_L, VSYNC_in_LL, trigger_L, trigger_LL;
|
||||
reg [8:0] clk27_ctr;
|
||||
reg [1:0] state;
|
||||
|
||||
assign trig_waiting = (state == `LT_STATE_LAT_MEAS);
|
||||
|
||||
always @(posedge pclk) begin
|
||||
VSYNC_in_L <= VSYNC_in;
|
||||
VSYNC_in_LL <= VSYNC_in_L;
|
||||
|
||||
Reference in new issue
Block a user