mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-02 15:26:19 +00:00
tests/verific: add mixed -f list case
This commit is contained in:
parent
188082551a
commit
74c601db0f
4 changed files with 24 additions and 0 deletions
2
tests/verific/mixed_flist.flist
Normal file
2
tests/verific/mixed_flist.flist
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
mixed_flist.sv
|
||||
mixed_flist.vhd
|
||||
3
tests/verific/mixed_flist.sv
Normal file
3
tests/verific/mixed_flist.sv
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module sv_top(input logic a, output logic y);
|
||||
assign y = a;
|
||||
endmodule
|
||||
14
tests/verific/mixed_flist.vhd
Normal file
14
tests/verific/mixed_flist.vhd
Normal 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;
|
||||
5
tests/verific/mixed_flist.ys
Normal file
5
tests/verific/mixed_flist.ys
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
verific -f -sv mixed_flist.flist
|
||||
verific -import sv_top
|
||||
verific -import vhdl_mod
|
||||
select -assert-mod-count 1 sv_top
|
||||
select -assert-mod-count 1 vhdl_mod
|
||||
Loading…
Add table
Add a link
Reference in a new issue