3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-02 15:26:19 +00:00

Merge pull request #5645 from nataliakokoromyti/upstream-verific-mixed-sv-vhdl

Upstream verific mixed sv vhdl
This commit is contained in:
Miodrag Milanović 2026-01-29 10:12:09 +01:00 committed by GitHub
commit 43db5c9488
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,2 @@
mixed_flist.sv
mixed_flist.vhd

View file

@ -0,0 +1,4 @@
module sv_top(input logic a, output logic y);
// Instantiates VHDL entity to ensure mixed -f list is required
vhdl_mod u_vhdl(.a(a), .y(y));
endmodule

View file

@ -0,0 +1,14 @@
library ieee;
use ieee.std_logic_1164.all;
entity vhdl_mod is
port (
a : in std_logic;
y : out std_logic
);
end entity vhdl_mod;
architecture rtl of vhdl_mod is
begin
y <= a;
end architecture rtl;

View file

@ -0,0 +1,3 @@
verific -f -sv mixed_flist.flist
verific -import sv_top
select -assert-mod-count 1 sv_top