-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vivado test infrastructure fails on Parameters #2266
Comments
Same thing happening here? :( https://gitlab.com/clash-lang/clash-compiler/-/jobs/2704503129 Notably, only three out of the four tests trip this up. |
Ok, I've gotten further figuring this out. I think that something trips up when the My guess is that adding an |
fixes VHDL but breaks Verilog in the process. |
Yeah that makes sense, Verilog doesn't have a library concept :). |
|
Since |
Leon and I discussed this in real life. First off, the Secondly, Leon and I agree that In the following, when I refer to the "top entity" I mean it in the sense of the HDL project, as you enter it into your synthesis or simulation tool. So I'm not referring to a function called
|
The problem with this test is The generated top entity has: my_add_block : block
component my_add
generic
( size : integer );
port ( x : in unsigned(31 downto 0)
; y : in unsigned(31 downto 0)
; result : out unsigned(31 downto 0) );
end component;
begin
my_add_inst : component my_add
generic map
(size => 32)
port map
(x => a, y => a, result => result);
end block; This entity requires the component
(edited for brevity) |
It seems to try to simulate
topEntity.testBench
instead oftestBench.testBench
, see #2257 (comment)The text was updated successfully, but these errors were encountered: