From 0c539c43b3eeff7488824f1e0dd4d11c92a4bb85 Mon Sep 17 00:00:00 2001 From: Gyorgy Szombathelyi Date: Tue, 16 Apr 2019 15:19:21 +0200 Subject: [PATCH] [Gameboy] Use dedicated PLL output for SDRAM_CLK No need to invert the clock then --- cores/gameboy/gb.qsf | 1 + cores/gameboy/gb_mist.v | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cores/gameboy/gb.qsf b/cores/gameboy/gb.qsf index de2abac..98fd57b 100644 --- a/cores/gameboy/gb.qsf +++ b/cores/gameboy/gb.qsf @@ -311,4 +311,5 @@ set_global_assignment -name VHDL_FILE t80/T80_Pack.vhd set_global_assignment -name VHDL_FILE t80/T80_ALU.vhd set_global_assignment -name VHDL_FILE t80/GBse.vhd set_global_assignment -name VHDL_FILE t80/T80_MCode.vhd +set_location_assignment PLL_1 -to pll|altpll_component|auto_generated|pll1 set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top \ No newline at end of file diff --git a/cores/gameboy/gb_mist.v b/cores/gameboy/gb_mist.v index e8eda65..27c85a5 100644 --- a/cores/gameboy/gb_mist.v +++ b/cores/gameboy/gb_mist.v @@ -486,6 +486,6 @@ pll pll ( .locked(pll_locked) ); -assign SDRAM_CLK = ~clk64; +assign SDRAM_CLK = clk64; endmodule