- fixes after renaming

git-svn-id: http://moon:8086/svn/vhdl/trunk@1279 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-06-04 11:16:21 +00:00
parent 2f16cf461a
commit 8097a4f41c
4 changed files with 64 additions and 65 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ use std.textio.all; -- Imports the standard textio package.
use work.utils_pkg.all;
use work.spi_types.all;
ENTITY spi_tx IS
ENTITY spi_master IS
Generic
(
word_width : natural := 32;
@@ -35,9 +35,9 @@ ENTITY spi_tx IS
mso : out STD_LOGIC
);
END spi_tx;
END spi_master;
ARCHITECTURE behavior OF spi_tx IS
ARCHITECTURE behavior OF spi_master IS
type state_t is (reset, idle, load_data, shift, finish);
+4 -4
View File
@@ -28,10 +28,10 @@ USE ieee.numeric_std.ALL;
use work.spi_types.all;
ENTITY tb_spi IS
END tb_spi;
ENTITY tb_spi_master IS
END tb_spi_master;
ARCHITECTURE behavior OF tb_spi IS
ARCHITECTURE behavior OF tb_spi_master IS
constant CLK_PERIOD : time := 10 ns;
@@ -67,7 +67,7 @@ BEGIN
ctrl.cpha <= '0';
ctrl.msb_first <= '1';
inst_spi_tx : entity work.spi_tx
inst_spi_master : entity work.spi_master
GENERIC MAP
(
word_width => 32