This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
bug_reports
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add nvc issue 1191
master
T. Meissner
2 days ago
parent
07f34453ab
commit
d876b28918
2 changed files
with
38 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
nvc_1191/run.sh
+34
-0
nvc_1191/test.vhd
+ 4
- 0
nvc_1191/run.sh
View File
@ -0,0 +1,4 @@
#!/bin/sh
nvc --std
=
08
-a test.vhd
nvc --std
=
08
-e --cover test
+ 34
- 0
nvc_1191/test.vhd
View File
@ -0,0 +1,34 @@
package
test_pkg
is
generic
(
DEPTH
:
positive
:
=
8
)
;
type
t_test
is
protected
end
protected
t_test
;
end
package
test_pkg
;
package
body
test_pkg
is
type
t_test
is
protected
body
end
protected
body
;
end
package
body
;
use
std.env.
all
;
entity
test
is
end
entity
;
architecture
sim
of
test
is
package
test_pkg_inst
is
new
work
.
test_pkg
;
shared
variable
s_test_pkg_inst
:
test_pkg_inst
.
t_test
;
begin
stop
(
0
)
;
end
architecture
sim
;
Write
Preview
Loading…
Cancel
Save