mirror of
https://github.com/marqs85/ossc
synced 2026-10-31 04:07:14 +03:00
make pll_reconfig more robust
This commit is contained in:
1 parent
8e7236dc00
commit
85c295c5e2
8 files changed
+7454
-7358
No files matched your search
+4
-3
@@ -106,7 +106,7 @@ wire osd_enable = osd_enable_pre & ~lt_active;
|
||||
wire [10:0] xpos, xpos_sc, xpos_vg;
|
||||
wire [10:0] ypos, ypos_sc, ypos_vg;
|
||||
|
||||
wire pll_areset, pll_scanclk, pll_scanclkena, pll_configupdate, pll_scandata, pll_scandone;
|
||||
wire pll_areset, pll_scanclk, pll_scanclkena, pll_configupdate, pll_scandata, pll_scandone, pll_activeclock;
|
||||
|
||||
|
||||
// Latch inputs from TVP7002 (synchronized to PCLK_in)
|
||||
@@ -236,7 +236,7 @@ sys sys_inst(
|
||||
.i2c_opencores_1_export_sda_pad_io (SD_CMD),
|
||||
.i2c_opencores_1_export_spi_miso_pad_i (SD_DAT[0]),
|
||||
.pio_0_sys_ctrl_out_export (sys_ctrl),
|
||||
.pio_1_controls_in_export ({ir_code_cnt, 5'b00000, HDMI_TX_MODE_LL, btn_LL, ir_code}),
|
||||
.pio_1_controls_in_export ({ir_code_cnt, 4'b0000, pll_activeclock, HDMI_TX_MODE_LL, btn_LL, ir_code}),
|
||||
.sc_config_0_sc_if_sc_status_i ({vsync_flag, 2'b00, vmax_tvp, fpga_vsyncgen, 4'h0, ilace_flag, vmax}),
|
||||
.sc_config_0_sc_if_sc_status2_i ({12'h000, pcnt_frame}),
|
||||
.sc_config_0_sc_if_lt_status_i ({lt_finished, 3'h0, lt_stb_result, lt_lat_result}),
|
||||
@@ -300,7 +300,8 @@ scanconverter scanconverter_inst (
|
||||
.pll_scanclkena (pll_scanclkena),
|
||||
.pll_configupdate (pll_configupdate),
|
||||
.pll_scandata (pll_scandata),
|
||||
.pll_scandone (pll_scandone)
|
||||
.pll_scandone (pll_scandone),
|
||||
.pll_activeclock (pll_activeclock)
|
||||
);
|
||||
|
||||
ir_rcv ir0 (
|
||||
|
||||
+2
-2
@@ -118,7 +118,8 @@ module scanconverter (
|
||||
input pll_scanclkena,
|
||||
input pll_configupdate,
|
||||
input pll_scandata,
|
||||
output pll_scandone
|
||||
output pll_scandone,
|
||||
output pll_activeclock
|
||||
);
|
||||
|
||||
//clock-related signals and registers
|
||||
@@ -126,7 +127,6 @@ wire pclk_act;
|
||||
wire pclk_1x, pclk_2x, pclk_3x, pclk_4x, pclk_5x;
|
||||
wire [1:0] pclk_mux_sel;
|
||||
wire pll_lock;
|
||||
wire pll_activeclock;
|
||||
reg pll_clkswitch;
|
||||
|
||||
//RGB signals®isters: 8 bits per component -> 16.7M colors
|
||||
|
||||
Reference in new issue
Block a user