Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yosys-tests
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yosys-tests
Commits
c3a5156e
Commit
c3a5156e
authored
Aug 30, 2020
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test VHDL boolean
parent
c3b8df95
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
verific/typerange/enum_bool.vhd
+18
-0
verific/typerange/enum_bool.ys
+4
-0
No files found.
verific/typerange/enum_bool.vhd
0 → 100644
View file @
c3a5156e
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
entity
top
is
port
(
clk
:
in
std_logic
;
din
:
in
boolean
;
dout
:
out
boolean
);
end
entity
;
architecture
arch
of
top
is
signal
r
:
boolean
;
begin
process
(
clk
)
begin
if
rising_edge
(
clk
)
then
r
<=
din
;
dout
<=
r
;
end
if
;
end
process
;
end
arch
;
verific/typerange/enum_bool.ys
0 → 100644
View file @
c3a5156e
verific -vhdl enum_bool.vhd
hierarchy -top top
select -assert-count 3 a:enum_value_0=\\false
select -assert-count 3 a:enum_value_1=\\true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment