From b15d1be62acc1d45d03d598ea3ff9b2d74eafc43 Mon Sep 17 00:00:00 2001 From: Bartosz Stebel Date: Thu, 26 Feb 2015 21:06:30 +0100 Subject: [PATCH] lolwut --- ipcore_dir/Tx_fifo.xco | 2 +- ipcore_dir/Tx_fifo.xise | 4 +- ipcore_dir/clock_pll.xco | 6 +- ipcore_dir/clock_pll.xise | 339 +------------------------------------- ledmatrix.xise | 39 ++--- top.v | 14 +- 6 files changed, 41 insertions(+), 363 deletions(-) diff --git a/ipcore_dir/Tx_fifo.xco b/ipcore_dir/Tx_fifo.xco index b8bc759..2fe8799 100644 --- a/ipcore_dir/Tx_fifo.xco +++ b/ipcore_dir/Tx_fifo.xco @@ -1,7 +1,7 @@ ############################################################## # # Xilinx Core Generator version 14.7 -# Date: Wed Feb 25 21:54:42 2015 +# Date: Thu Feb 26 18:34:15 2015 # ############################################################## # diff --git a/ipcore_dir/Tx_fifo.xise b/ipcore_dir/Tx_fifo.xise index ff9f8a7..304adfa 100644 --- a/ipcore_dir/Tx_fifo.xise +++ b/ipcore_dir/Tx_fifo.xise @@ -16,11 +16,11 @@ - + - + diff --git a/ipcore_dir/clock_pll.xco b/ipcore_dir/clock_pll.xco index 3e3c4a2..74f9329 100644 --- a/ipcore_dir/clock_pll.xco +++ b/ipcore_dir/clock_pll.xco @@ -1,7 +1,7 @@ ############################################################## # # Xilinx Core Generator version 14.7 -# Date: Wed Feb 25 20:44:33 2015 +# Date: Thu Feb 26 18:50:42 2015 # ############################################################## # @@ -225,7 +225,7 @@ CSET pll_ref_jitter=0.010 CSET power_down_port=POWER_DOWN CSET prim_in_freq=50.000 CSET prim_in_jitter=0.010 -CSET prim_source=Single_ended_clock_capable_pin +CSET prim_source=No_buffer CSET primary_port=clkin CSET primitive=MMCM CSET primtype_sel=PLL_BASE @@ -266,4 +266,4 @@ CSET use_status=false MISC pkg_timestamp=2012-05-10T12:44:55Z # END Extra information GENERATE -# CRC: 7ce18b82 +# CRC: 5bf3882 diff --git a/ipcore_dir/clock_pll.xise b/ipcore_dir/clock_pll.xise index ea2a260..31ed485 100644 --- a/ipcore_dir/clock_pll.xise +++ b/ipcore_dir/clock_pll.xise @@ -16,11 +16,11 @@ - + - - + + @@ -28,357 +28,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - diff --git a/ledmatrix.xise b/ledmatrix.xise index c6b41ae..9deb1d6 100644 --- a/ledmatrix.xise +++ b/ledmatrix.xise @@ -19,32 +19,32 @@ - - - - - - - - + + + + + + + + - - + + - - + + - - + + - - + + @@ -295,7 +295,8 @@ - + + @@ -313,7 +314,7 @@ - + @@ -363,7 +364,7 @@ - + diff --git a/top.v b/top.v index bfebb6b..f1198e0 100644 --- a/top.v +++ b/top.v @@ -35,6 +35,7 @@ module top( wire reset = ~reset_n; wire clk125, clk125_ram; + //wire cbuf = clk50m; clock_pll pll(.clkin(clk50m), .clk125(clk125), .clk125_ram(clk125_ram), @@ -42,10 +43,15 @@ module top( ); wire clk = clk125; - parameter ClkFrequency = 50000000; + parameter ClkFrequency = 125000000; parameter Baud = 115200; - parameter BaudGeneratorAccWidth = 17; - parameter BaudGeneratorInc = ((Baud<<(BaudGeneratorAccWidth-4))+(ClkFrequency>>5))/(ClkFrequency>>4); + parameter BaudGeneratorAccWidth = 24; + //parameter BaudGeneratorInc = (Baud<