w11 - vhd
0.794
W11 CPU core and support modules
Toggle main menu visibility
Main Page
Packages
Package List
Design Units
Design Unit List
Design Unit Index
Design Unit Hierarchy
Design Unit Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions/Procedures/Processes
b
c
d
e
g
h
i
n
o
p
r
s
t
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
t
Variables
t
▼
w11 - vhd
►
Packages
►
Design Units
▼
Files
►
File List
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Loading...
Searching...
No Matches
rlink_cext_vhpi.vhd
Go to the documentation of this file.
1
-- $Id: rlink_cext_vhpi.vhd 1181 2019-07-08 17:00:50Z mueller $
2
-- SPDX-License-Identifier: GPL-3.0-or-later
3
-- Copyright 2007-2010 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
------------------------------------------------------------------------------
6
-- Package Name: rlink_cext_vhpi
7
-- Description: VHDL procedural interface: VHDL declaration side
8
--
9
-- Dependencies: -
10
-- Tool versions: ghdl 0.18-0.31
11
-- Revision History:
12
-- Date Rev Version Comment
13
-- 2010-12-29 351 1.1 rename vhpi_rriext->rlink_cext_vhpi; new rbv3 names
14
-- 2007-08-26 76 1.0 Initial version
15
------------------------------------------------------------------------------
16
17
package
rlink_cext_vhpi
is
18
19
impure
function
rlink_cext_getbyte
(
20
clk
:
integer
)
-- clock cycle
21
return
integer
;
22
attribute
foreign
of
rlink_cext_getbyte
:
23
function
is
"VHPIDIRECT rlink_cext_getbyte"
;
24
25
impure
function
rlink_cext_putbyte
(
26
dat
:
integer
)
-- data byte
27
return
integer
;
28
attribute
foreign
of
rlink_cext_putbyte
:
29
function
is
"VHPIDIRECT rlink_cext_putbyte"
;
30
31
end
package
rlink_cext_vhpi
;
32
33
package
body
rlink_cext_vhpi
is
34
35
impure
function
rlink_cext_getbyte
(
36
clk
:
integer
)
-- clock cycle
37
return
integer
is
38
begin
39
report
"rlink_cext_getbyte not vhpi'ed"
severity
failure
;
40
end
rlink_cext_getbyte;
41
42
impure
function
rlink_cext_putbyte
(
43
dat
:
integer
)
-- data byte
44
return
integer
is
45
begin
46
report
"rlink_cext_getbyte not vhpi'ed"
severity
failure
;
47
end
rlink_cext_putbyte;
48
49
end
package
body
rlink_cext_vhpi
;
rlink_cext_vhpi
Definition:
rlink_cext_vhpi.vhd:17
rlink_cext_vhpi.foreign
:function is "VHPIDIRECT rlink_cext_getbyte" foreign
Definition:
rlink_cext_vhpi.vhd:22
vlib
rlink
tbcore
rlink_cext_vhpi.vhd
Generated on Thu Feb 9 2023 12:41:06 for w11 - vhd by
1.9.6