From 812cb6447a2fcaff1fa5c16eaf8fc2f19b36fa4f Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Mon, 9 Sep 2024 23:18:56 -0700 Subject: [PATCH] Add mii clocks to constraints --- hw/super6502_fpga/constraints/constraints.sdc | 5 +++++ hw/super6502_fpga/super6502_fpga.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/super6502_fpga/constraints/constraints.sdc b/hw/super6502_fpga/constraints/constraints.sdc index f294bb2..c0f1c11 100644 --- a/hw/super6502_fpga/constraints/constraints.sdc +++ b/hw/super6502_fpga/constraints/constraints.sdc @@ -2,4 +2,9 @@ create_clock -period 5.00 i_sdrclk create_clock -period 5.00 i_tACclk create_clock -period 10.00 i_sysclk +create_clock -period 40.00 mii_rx_clk +create_clock -period 40.00 mii_tx_clk + +set_clock_groups -exclusive -group {i_sysclk i_sdrclk i_tACclk} -group {mii_tx_clk} -group {mii_rx_clk} + create_generated_clock -source i_sysclk -divide_by 50 clk_cpu diff --git a/hw/super6502_fpga/super6502_fpga.xml b/hw/super6502_fpga/super6502_fpga.xml index b8447dc..8e54c18 100644 --- a/hw/super6502_fpga/super6502_fpga.xml +++ b/hw/super6502_fpga/super6502_fpga.xml @@ -1,4 +1,4 @@ - +