From 385aa5e008e8c15a3bdb687938e48cd3279b9b55 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 9 Feb 2010 07:25:49 +0000 Subject: [PATCH] - changed frequencies into MHz units (real data type) Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@733 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/tb_mips_top.vhd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CPUs/MIPS/src/tb_mips_top.vhd b/lib/CPUs/MIPS/src/tb_mips_top.vhd index 88ee048..65f9fb1 100644 --- a/lib/CPUs/MIPS/src/tb_mips_top.vhd +++ b/lib/CPUs/MIPS/src/tb_mips_top.vhd @@ -37,7 +37,7 @@ END tb_mips_top; ARCHITECTURE behavior OF tb_mips_top IS - constant SYS_FREQ : natural := 100E6; + constant SYS_FREQ : real := 100.0; constant CLK_PERIOD : time := 10 ns; constant SRAM_ADDR_WIDTH : integer := 17; -- bits constant FLASH_ADDR_WIDTH : integer := 17; -- bits @@ -267,7 +267,7 @@ inst_gpio : entity work.gpio_wb inst_flash_port : entity work.async_port_wb GENERIC MAP ( - f_sysclk_hz => SYS_FREQ, + f_sysclk => SYS_FREQ, addr_width => FLASH_ADDR_WIDTH, data_width => 32, byte_sel_width => 4, @@ -300,7 +300,7 @@ inst_flash_port : entity work.async_port_wb inst_sram_port : entity work.async_port_wb GENERIC MAP ( - f_sysclk_hz => SYS_FREQ, + f_sysclk => SYS_FREQ, addr_width => SRAM_ADDR_WIDTH, data_width => 32, byte_sel_width => 4,