Rename entities of top-level synthesis wrappers.
Two entities named 'top' causes problems for the synthesizer.
This commit is contained in:
parent
500d8e8b2a
commit
8cf9ca1673
|
@ -2,16 +2,16 @@
|
||||||
library ieee;
|
library ieee;
|
||||||
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
||||||
|
|
||||||
entity top is
|
entity topmt is
|
||||||
port (
|
port (
|
||||||
clk : in std_logic;
|
clk : in std_logic;
|
||||||
rst : in std_logic;
|
rst : in std_logic;
|
||||||
ready: in std_logic;
|
ready: in std_logic;
|
||||||
valid: out std_logic;
|
valid: out std_logic;
|
||||||
data: out std_logic_vector(31 downto 0) );
|
data: out std_logic_vector(31 downto 0) );
|
||||||
end top;
|
end topmt;
|
||||||
|
|
||||||
architecture arch of top is
|
architecture arch of topmt is
|
||||||
begin
|
begin
|
||||||
|
|
||||||
inst_prng: entity work.rng_mt19937
|
inst_prng: entity work.rng_mt19937
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
library ieee;
|
library ieee;
|
||||||
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
||||||
|
|
||||||
entity top is
|
entity topxs is
|
||||||
port (
|
port (
|
||||||
clk : in std_logic;
|
clk : in std_logic;
|
||||||
rst : in std_logic;
|
rst : in std_logic;
|
||||||
ready: in std_logic;
|
ready: in std_logic;
|
||||||
valid: out std_logic;
|
valid: out std_logic;
|
||||||
data: out std_logic_vector(63 downto 0) );
|
data: out std_logic_vector(63 downto 0) );
|
||||||
end top;
|
end topxs;
|
||||||
|
|
||||||
architecture arch of top is
|
architecture arch of topxs is
|
||||||
begin
|
begin
|
||||||
|
|
||||||
inst_prng: entity work.rng_xoroshiro128plus
|
inst_prng: entity work.rng_xoroshiro128plus
|
||||||
|
|
Loading…
Reference in New Issue