'잡동사니'에 해당되는 글 13454건
- 2018.06.09 체력 방전
- 2018.06.08 vga 타이밍
- 2018.06.08 vga 출력 Hsync, Vsync 파형
- 2018.06.07 지방출장? 2
- 2018.06.06 체력 오링..
- 2018.06.05 color bar (BT.471-1)
- 2018.06.05 티스토리 관리자 페이지 개편계획 없음이라.. 6
- 2018.06.05 먼가 이상하지만 640x480x60 되는 소스 발견
- 2018.06.05 vga 640x480 실패중 그리고 800x600x60
- 2018.06.05 HDMI de0-nano
The different modes that Advanced Timing allows end users to select are:
|
[링크 : http://www.nvidia.com/object/advanced_timings.html]
[링크 : https://forums.geforce.com/default/topic/379915/timing-standard-what-is-it-/]
The standard was adopted in 2002 and superseded the Generalized Timing Formula. |
[링크 : https://en.wikipedia.org/wiki/Coordinated_Video_Timings]
+
2018.06.11
제목대로 DMT 타이밍에 대한 VESA 문서
[링크 : http://caxapa.ru/thumbs/361638/DMTv1r11.pdf]
+
타이밍 모드 |
표준 |
CEA/EIA-861B |
??? |
GTF |
1999 |
DMT |
2007 (Version 1.0 Rev 0.11) |
CVT |
2002 (Version 1.0 Rev 0.9) |
CVT-RB |
2007 (Version 1.0 Rev 0.11) |
EDID |
1996 (Version 1.0 Rev 0.4) |
he standard was adopted in 1999, and was superseded by the Coordinated Video Timings specification in 2002. |
[링크 : https://en.wikipedia.org/wiki/Generalized_Timing_Formula]
+
라즈베리 파이에서 HDMI 모드 중에 CEA / DMT가 있던게 생각남..
'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글
MNIST 데이터베이스 (0) | 2018.06.22 |
---|---|
VGA DMT 스펙 (0) | 2018.06.11 |
vga porch (4) | 2018.06.01 |
VGA(RGB) 파형 측정 (0) | 2018.05.30 |
VGA Pattern Generator 관련 검색 (0) | 2018.05.30 |
요건.. 내가 640x480을 기준으로 작성해서 출력 안되던 녀석의 파형
Hsync 31.45kHz
Vsync 59.95Hz
다만 Vsync이전의 마지막 Hsync 간격이 이상한게 보이고
계산을 잘못했는지 Hsync 2개가 Vsync 안에 들어가야 하는데 정상적으로 들어가지 않은 듯?
여기는 되는 녀석 찾아서 찍은거
640x480
Hsync 31.21kHz 음.. 조금 낮네?
Vsycn 59.91Hz
눈에 띄는건.. Vsync 동안 두번의 Hsync가 지나가고
Vsync의 끝과 동시에 세번째 Hsync가 시작되어야 한다.
800x600@72
Vsync 72.19Hz(72Hz)
Hsync 48.08kHz
리셋 누르고 있어야 하는 소스라 대충 찍어서 무리무리 ㅠㅠ
아무튼 예상한거랑은 또 다르게 나오네.. 해상도가 달라서 그런거 치고는 sync의 위치가 다른데?
'이론 관련 > 전기 전자' 카테고리의 다른 글
pdm - Pulse Width Modulation (0) | 2019.03.29 |
---|---|
setup, hold, slack? (0) | 2018.06.28 |
color bar (BT.471-1) (0) | 2018.06.05 |
자이로 드리프트 (0) | 2018.05.15 |
balanced unbalanced (0) | 2018.05.14 |
당일치기 빡심...
왕복하면 한 470km 나오는데 빡세다..
가기 싫다 ㅠㅠ
'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글
이른(?) 여름휴가 (0) | 2018.06.23 |
---|---|
오랫만에 똥차 세대를 보네 (0) | 2018.06.22 |
피곤함.. (0) | 2018.05.31 |
kb 파인테크 신용카드.. (2) | 2018.05.11 |
멘탈 와사삭 (2) | 2018.05.03 |
빨간날이라 쉬니 좋은건가..
아무튼 이래저래 하얗게 불태우고 체력 완전 방전
'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글
피곤피곤... (0) | 2018.06.16 |
---|---|
체력 방전 (0) | 2018.06.09 |
피곤피곤.. (0) | 2018.06.02 |
월차, 아내님 병원 그리고 드론 (8) | 2018.05.28 |
주말이 머했는데 끝나냐... (0) | 2018.05.27 |
자주 보는(?) 컬러바차트는 아래와 같은데
ITU-R BT.471-1을 따르는 데
RGB의 출력 패턴을 아래와 같이 (a) 100/0/100/0 의 내용대로 하면 나오는 듯?
[링크 : https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.471-1-198607-I!!PDF-E.pdf]
'이론 관련 > 전기 전자' 카테고리의 다른 글
setup, hold, slack? (0) | 2018.06.28 |
---|---|
vga 출력 Hsync, Vsync 파형 (0) | 2018.06.08 |
자이로 드리프트 (0) | 2018.05.15 |
balanced unbalanced (0) | 2018.05.14 |
MFCCs - Mel-frequency cepstral coefficients (0) | 2018.05.02 |
득도할 수 없으면.. 즐겨야 하나!?
어제 1500 대 까지 회복했으니.. 열심히 달리면.... (응?)
|
'개소리 왈왈 > 블로그' 카테고리의 다른 글
읭? 티스토리 글 쓰기 개편인가? (4) | 2018.07.10 |
---|---|
부랴부랴 도메인 연장 (4) | 2018.06.11 |
블로그 방문자도 훅 줄어드네 (0) | 2018.06.03 |
블로그 주기적으로 공개 안했더니... (2) | 2018.05.30 |
잠시나마 행복했군? (2) | 2018.05.04 |
DE0-nano에 LemonLite RGB 보드 사용
모니터 마다 해상도 출력이 좀 다른데 머가 문제일까..
일단 눈을 띄우는데는 성공했으니 뭐가 문제인지는 좀 찾아 봐야 할 듯..
vga640x480 vga( CLOCK_50, KEY[0], LED, GP0[6], GP0[5], {GP0[16],GP0[19],GP0[18],GP0[21]}, {GP0[12],GP0[15],GP0[14],GP0[17]}, {GP0[8],GP0[9],GP0[10],GP0[13]} ); |
module vga640x480( input clk, input rst, output [7:0] LED, output reg hsync, output reg vsync, output [3:0] r, output [3:0] g, output [3:0] b ); reg clk25; reg [9:0] horizontal_counter; reg [9:0] vertical_counter; reg [9:0] X; reg [9:0] Y; wire [7:0] red; wire [7:0] green; wire [7:0] blue; assign r[3:0] = ((horizontal_counter >= 144) && (horizontal_counter < 784) && (vertical_counter >=39) && (vertical_counter < 519)) ? red : 4'b000;
assign g[3:0] = ((horizontal_counter >= 144) && (horizontal_counter < 784) && (vertical_counter >=39) && (vertical_counter < 519)) ? green : 4'b000;
assign b[3:0] = ((horizontal_counter >= 144) && (horizontal_counter < 784) && (vertical_counter >=39) && (vertical_counter < 519)) ? blue : 4'b000;
assign red = ((horizontal_counter >= 144)&&(horizontal_counter < 344) ) ? 4'b1111 : 4'b0000; assign green = ((horizontal_counter >= 344)&&(horizontal_counter < 544) ) ? 4'b1111 : 4'b0000; assign blue = ((horizontal_counter >= 544)&&(horizontal_counter < 784) ) ? 4'b1111 : 4'b0000; always @(posedge clk) begin if (clk25 == 0) begin clk25 <= 1; end else begin clk25 <= 0; end end always @(posedge clk25) begin
if ((horizontal_counter > 0) && (horizontal_counter < 97))// -- 96+1 begin hsync <= 0; end else begin hsync <= 1; end
if ((vertical_counter > 0 ) && (vertical_counter < 3 )) //-- 2+1 begin vsync <= 0; end else begin vsync <= 1; end
horizontal_counter <= horizontal_counter+1;
if (horizontal_counter == 800) begin vertical_counter <= vertical_counter+1; horizontal_counter <= 0; end
if (vertical_counter == 521) begin vertical_counter <= 0; end
end endmodule |
[링크 : https://github.com/pmezydlo/DE0-Nano-SOC-VGA/blob/master/vgaram.v]
'모종의 음모 > DE0-Nano VGA' 카테고리의 다른 글
de0-nano에 vga 내 코드... ㅠㅠ (0) | 2018.06.27 |
---|---|
어라.. 스펙을 잘못봤나? (0) | 2018.06.15 |
vga 640x480 실패중 그리고 800x600x60 (0) | 2018.06.05 |
800x600 72hz vga 출력 예제 (0) | 2018.06.05 |
vga 출력 해보기.. 시도중 (2) | 2018.06.03 |
소스 코드 수정중인데 안나오네
vga640x480 vga( CLOCK_50, KEY[0], LED, GP0[6], GP0[5], {GP0[16],GP0[19],GP0[18],GP0[21]}, {GP0[12],GP0[15],GP0[14],GP0[17]}, {GP0[8],GP0[9],GP0[10],GP0[13]} ); |
module vga640x480( input clk, input rst, output [7:0] LED, output hsync, output vsync, output [3:0] r, output [3:0] g, output [3:0] b ); parameter HSYNC = 189; parameter HBP = (HSYNC + 95); parameter HVID = (HBP + 1260); parameter HFP = (HVID + 47); parameter VSYNC = 3000; parameter VBP = (VSYNC + 51000); parameter VVID = (VBP + 762500); parameter VFP = (VVID + 17500); reg [19:0] cnt; always @ (posedge clk or negedge rst) begin if (!rst) begin cnt <= 0; end else begin cnt <= cnt + 1; if(cnt > 834000) cnt <= 0; end end assign hsync = ((cnt % 1590) < 189) ? 0 : 1; assign vsync = (cnt < 3000) ? 0 : 1; assign r = ((hsync & vsync) == 1 ? 4'b1111 : 4'b0000); assign g = ((hsync & vsync) == 1 ? 4'b1111 : 4'b0000); assign b = ((hsync & vsync) == 1 ? 4'b1111 : 4'b0000); assign LED[0] = ~vsync; assign LED[1] = ~hsync; endmodule |
V sync는 59.95
H sync는 31.31kHz 이고
sync 길이도 파형도 맞는거 같은데..
Vsync 60us 근처
Hsync 4us 근처
왜 안될까...
+
module vga800x600x60( input clk, input rst, output [7:0] LED, output hsync, output vsync, output [3:0] r, output [3:0] g, output [3:0] b ); parameter HSYNC = 160; parameter HBP = (HSYNC + 95); parameter HVID = (HBP + 1260); parameter HFP = (HVID + 47); parameter VSYNC = 5300; parameter VBP = (VSYNC + 51000); parameter VVID = (VBP + 762500); parameter VFP = (VVID + 17500); reg [19:0] cnt; always @ (posedge clk or negedge rst) begin if (!rst) begin cnt <= 0; end else begin cnt <= cnt + 1; if(cnt > 828950) cnt <= 0; end end assign hsync = ((cnt % 1320) < 160) ? 0 : 1; assign vsync = (cnt < 5300) ? 0 : 1; assign r = ((hsync & vsync) == 1 ? 4'b1111 : 4'b0000); assign g = ((hsync & vsync) == 1 ? 4'b1111 : 4'b0000); assign b = ((hsync & vsync) == 1 ? 4'b1111 : 4'b0000); assign LED[0] = ~vsync; assign LED[1] = ~hsync; endmodule |
For VESA 800*600 @ 60Hz: Fh (kHz) :37.88 A (us) :26.4 B (us) :3.2 C (us) :2.2 D (us) :20.0 E (us) :1.0 Fv (Hz) :60.32 O (ms) :16.579 P (ms) :0.106 Q (ms) :0.607 R (ms) :15.84 S (ms) :0.026 |
[링크 : http://www.epanorama.net/documents/pc/vga_timing.html]
+
640x480x60 에 빨간화면 확인
vga640x480 vga( CLOCK_50, KEY[0], LED, GP0[6], GP0[5], {GP0[16],GP0[19],GP0[18],GP0[21]}, {GP0[12],GP0[15],GP0[14],GP0[17]}, {GP0[8],GP0[9],GP0[10],GP0[13]} ); |
모니터에 따라 인식이 느리거나 안되기도 하네..
848x640x60 으로 인식... 머야(요즘 24인치 FHD LCD 모니터)
module vga640x480( input clk, input rst, output [7:0] LED, output reg hsync, output reg vsync, output [3:0] r, output [3:0] g, output [3:0] b ); reg clk25; reg [9:0] horizontal_counter; reg [9:0] vertical_counter; reg [9:0] X; reg [9:0] Y; wire [7:0] red; wire [7:0] green; wire [7:0] blue; assign r[3:0] = ((horizontal_counter >= 144) && (horizontal_counter < 784) && (vertical_counter >=39) && (vertical_counter < 519)) ? 4'b1111 : 4'b000;
assign g[1:0] = ((horizontal_counter >= 144) && (horizontal_counter < 784) && (vertical_counter >=39) && (vertical_counter < 519)) ? 4'b1111 : 4'b000;
assign b[2:0] = ((horizontal_counter >= 144) && (horizontal_counter < 784) && (vertical_counter >=39) && (vertical_counter < 519)) ? 4'b1111 : 4'b000;
assign red = ((horizontal_counter >= 144)&&(horizontal_counter < 344) ) ? 4'b1111 : 4'b0000; assign green = ((horizontal_counter >= 344)&&(horizontal_counter < 544) ) ? 4'b1111 : 4'b0000; assign blue = ((horizontal_counter >= 544)&&(horizontal_counter < 784) ) ? 4'b1111 : 4'b0000; always @(posedge clk) begin if (clk25 == 0) begin clk25 <= 1; end else begin clk25 <= 0; end end always @(posedge clk25) begin
if ((horizontal_counter > 0) && (horizontal_counter < 97))// -- 96+1 begin hsync <= 0; end else begin hsync <= 1; end
if ((vertical_counter > 0 ) && (vertical_counter < 3 )) //-- 2+1 begin vsync <= 0; end else begin vsync <= 1; end
horizontal_counter <= horizontal_counter+1;
if (horizontal_counter == 800) begin vertical_counter <= vertical_counter+1; horizontal_counter <= 0; end
if (vertical_counter == 521) begin vertical_counter <= 0; end
end endmodule |
[링크 : https://github.com/pmezydlo/DE0-Nano-SOC-VGA/blob/master/vgaram.v]
'모종의 음모 > DE0-Nano VGA' 카테고리의 다른 글
어라.. 스펙을 잘못봤나? (0) | 2018.06.15 |
---|---|
먼가 이상하지만 640x480x60 되는 소스 발견 (0) | 2018.06.05 |
800x600 72hz vga 출력 예제 (0) | 2018.06.05 |
vga 출력 해보기.. 시도중 (2) | 2018.06.03 |
lemonlite vga 어댑터 + de0-nano (0) | 2018.05.30 |
[링크 : https://www.youtube.com/watch?v=FriAr5dcGto]
+
VGA 이미지가 여기서 나온거였네..
[링크 : https://sites.google.com/site/ece31289upb/practicas-de-clase/practica-4-sincronizadores/video-sync]
'embeded > FPGA - ALTERA' 카테고리의 다른 글
intel FPGA를 이용한 Processor Logic 설계입문 관련 링크 (0) | 2018.06.15 |
---|---|
quartus 2 qar file (0) | 2018.06.11 |
de0-nano 그리고 modelsim 사용법 (0) | 2018.06.04 |
object "r" on left-hand side of assignment must have a variable data type (4) | 2018.06.03 |
cannot match operand(s) in the condition to the corresponding edges in the enclosing event control of the always construct (0) | 2018.06.02 |