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
•
All
Classes
Namespaces
Files
Functions
Variables
Loading...
Searching...
No Matches
bp_rs232_4line_iob.vhd
Go to the documentation of this file.
1
-- $Id: bp_rs232_4line_iob.vhd 1181 2019-07-08 17:00:50Z mueller $
2
-- SPDX-License-Identifier: GPL-3.0-or-later
3
-- Copyright 2010-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
------------------------------------------------------------------------------
6
-- Module Name: bp_rs232_4line_iob - syn
7
-- Description: iob's for 4 line rs232 (RXD,TXD and RTS,CTS)
8
--
9
-- Dependencies: xlib/iob_reg_i
10
-- xlib/iob_reg_o
11
--
12
-- Test bench: -
13
--
14
-- Target Devices: generic
15
-- Tool versions: ise 11.4-14.7; viv 2014.4; ghdl 0.26-0.31
16
--
17
-- Revision History:
18
-- Date Rev Version Comment
19
-- 2011-07-01 386 1.1 moved and renamed to bpgen
20
-- 2010-04-17 278 1.0 Initial version (as s3_rs232_iob_ext)
21
------------------------------------------------------------------------------
22
--
23
24
library
ieee
;
25
use
ieee.std_logic_1164.
all
;
26
27
use
work.
slvtypes
.
all
;
28
use
work.
xlib
.
all
;
29
30
-- ----------------------------------------------------------------------------
31
32
entity
bp_rs232_4line_iob
is
-- iob's for 4 line rs232 (w/ RTS,CTS)
33
port
(
34
CLK
:
in
slbit
;
-- clock
35
RXD
:
out
slbit
;
-- receive data (board view)
36
TXD
:
in
slbit
;
-- transmit data (board view)
37
CTS_N
:
out
slbit
;
-- clear to send (act. low)
38
RTS_N
:
in
slbit
;
-- request to send (act. low)
39
I_RXD
:
in
slbit
;
-- pad-i: receive data (board view)
40
O_TXD
:
out
slbit
;
-- pad-o: transmit data (board view)
41
I_CTS_N
:
in
slbit
;
-- pad-i: clear to send (act. low)
42
O_RTS_N
:
out
slbit
-- pad-o: request to send (act. low)
43
)
;
44
end
bp_rs232_4line_iob
;
45
46
architecture
syn
of
bp_rs232_4line_iob
is
47
begin
48
49
IOB_RXD :
iob_reg_i
-- line idle=1, so init sync flop =1
50
generic
map
(INIT => '1'
)
51
port
map
(CLK =>
CLK
, CE => '1', DI =>
RXD
, PAD =>
I_RXD
)
;
52
53
IOB_TXD :
iob_reg_o
-- line idle=1, so init sync flop =1
54
generic
map
(INIT => '1'
)
55
port
map
(CLK =>
CLK
, CE => '1', DO =>
TXD
, PAD =>
O_TXD
)
;
56
57
IOB_CTS :
iob_reg_i
58
port
map
(
CLK
=>
CLK
,
CE
=> '1',
DI
=>
CTS_N
,
PAD
=>
I_CTS_N
)
;
59
60
IOB_RTS :
iob_reg_o
61
port
map
(
CLK
=>
CLK
,
CE
=> '1',
DO
=>
RTS_N
,
PAD
=>
O_RTS_N
)
;
62
63
end
syn
;
bp_rs232_4line_iob.syn
Definition:
bp_rs232_4line_iob.vhd:46
bp_rs232_4line_iob
Definition:
bp_rs232_4line_iob.vhd:32
bp_rs232_4line_iob.RTS_N
in RTS_N slbit
Definition:
bp_rs232_4line_iob.vhd:38
bp_rs232_4line_iob.CTS_N
out CTS_N slbit
Definition:
bp_rs232_4line_iob.vhd:37
bp_rs232_4line_iob.O_TXD
out O_TXD slbit
Definition:
bp_rs232_4line_iob.vhd:40
bp_rs232_4line_iob.I_RXD
in I_RXD slbit
Definition:
bp_rs232_4line_iob.vhd:39
bp_rs232_4line_iob.TXD
in TXD slbit
Definition:
bp_rs232_4line_iob.vhd:36
bp_rs232_4line_iob.CLK
in CLK slbit
Definition:
bp_rs232_4line_iob.vhd:34
bp_rs232_4line_iob.I_CTS_N
in I_CTS_N slbit
Definition:
bp_rs232_4line_iob.vhd:41
bp_rs232_4line_iob.O_RTS_N
out O_RTS_N slbit
Definition:
bp_rs232_4line_iob.vhd:43
bp_rs232_4line_iob.RXD
out RXD slbit
Definition:
bp_rs232_4line_iob.vhd:35
iob_reg_i
Definition:
iob_reg_i.vhd:25
iob_reg_i.PAD
in PAD slbit
Definition:
iob_reg_i.vhd:33
iob_reg_i.CE
in CE slbit := '1'
Definition:
iob_reg_i.vhd:30
iob_reg_i.CLK
in CLK slbit
Definition:
iob_reg_i.vhd:29
iob_reg_i.DI
out DI slbit
Definition:
iob_reg_i.vhd:31
iob_reg_o
Definition:
iob_reg_o.vhd:25
iob_reg_o.CE
in CE slbit := '1'
Definition:
iob_reg_o.vhd:30
iob_reg_o.PAD
out PAD slbit
Definition:
iob_reg_o.vhd:33
iob_reg_o.CLK
in CLK slbit
Definition:
iob_reg_o.vhd:29
iob_reg_o.DO
in DO slbit
Definition:
iob_reg_o.vhd:31
slvtypes
Definition:
slvtypes.vhd:28
slvtypes.slbit
std_logic slbit
Definition:
slvtypes.vhd:30
xlib
Definition:
xlib.vhd:35
bplib
bpgen
bp_rs232_4line_iob.vhd
Generated on Thu Feb 9 2023 12:41:04 for w11 - vhd by
1.9.6