w11 - vhd
0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
tbd_fifo_2c_dram.vhd
Go to the documentation of this file.
1
-- $Id: tbd_fifo_2c_dram.vhd 1181 2019-07-08 17:00:50Z mueller $
2
-- SPDX-License-Identifier: GPL-3.0-or-later
3
-- Copyright 2007- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
------------------------------------------------------------------------------
6
-- Module Name: tbd_fifo_2c_dram - syn
7
-- Description: Wrapper for fifo_2c_dram to avoid records & generics. It
8
-- has a port interface which will not be modified by xst
9
-- synthesis (no records, no generic port).
10
--
11
-- Dependencies: fifo_2c_dram
12
--
13
-- To test: fifo_2c_dram
14
--
15
-- Target Devices: generic
16
--
17
-- Synthesized (xst):
18
-- Date Rev ise Target flop lutl lutm slic t peri
19
-- 2010-04-24 281 11.4 L68 xc3s1000-4 36 43 32 52 s 8.34
20
--
21
-- Tool versions: xst 8.1, 8.2, 9.1, 9.2, 11.4; ghdl 0.18-0.26
22
-- Revision History:
23
-- Date Rev Version Comment
24
-- 2007-12-28 106 1.0 Initial version
25
------------------------------------------------------------------------------
26
27
library
ieee
;
28
use
ieee.std_logic_1164.
all
;
29
30
use
work.
slvtypes
.
all
;
31
use
work.
memlib
.
all
;
32
33
entity
tbd_fifo_2c_dram
is
-- fifo, 2 clock, dram based [tb design]
34
-- generic: AWIDTH=4; DWIDTH=16
35
port
(
36
CLKW
:
in
slbit
;
-- clock (write side)
37
CLKR
:
in
slbit
;
-- clock (read side)
38
RESETW
:
in
slbit
;
-- reset (synchronous with CLKW)
39
RESETR
:
in
slbit
;
-- reset (synchronous with CLKR)
40
DI
:
in
slv16
;
-- input data
41
ENA
:
in
slbit
;
-- write enable
42
BUSY
:
out
slbit
;
-- write port hold
43
DO
:
out
slv16
;
-- output data
44
VAL
:
out
slbit
;
-- read valid
45
HOLD
:
in
slbit
;
-- read hold
46
SIZEW
:
out
slv4
;
-- number slots to write (synch w/ CLKW)
47
SIZER
:
out
slv4
-- number slots to read (synch w/ CLKR)
48
)
;
49
end
tbd_fifo_2c_dram
;
50
51
52
architecture
syn
of
tbd_fifo_2c_dram
is
53
54
begin
55
56
FIFO :
fifo_2c_dram
57
generic
map
(
58
AWIDTH
=>
4
,
59
DWIDTH
=>
16
)
60
port
map
(
61
CLKW
=>
CLKW
,
62
CLKR
=>
CLKR
,
63
RESETW
=>
RESETW
,
64
RESETR
=>
RESETR
,
65
DI
=>
DI
,
66
ENA
=>
ENA
,
67
BUSY
=>
BUSY
,
68
DO
=>
DO
,
69
VAL
=>
VAL
,
70
HOLD
=>
HOLD
,
71
SIZEW
=>
SIZEW
,
72
SIZER
=>
SIZER
73
)
;
74
75
end
syn
;
fifo_2c_dram
Definition:
fifo_2c_dram.vhd:47
fifo_2c_dram.ENA
in ENA slbit
Definition:
fifo_2c_dram.vhd:57
fifo_2c_dram.DO
out DO slv( DWIDTH- 1 downto 0)
Definition:
fifo_2c_dram.vhd:59
fifo_2c_dram.DI
in DI slv( DWIDTH- 1 downto 0)
Definition:
fifo_2c_dram.vhd:56
fifo_2c_dram.BUSY
out BUSY slbit
Definition:
fifo_2c_dram.vhd:58
fifo_2c_dram.HOLD
in HOLD slbit
Definition:
fifo_2c_dram.vhd:61
fifo_2c_dram.CLKW
in CLKW slbit
Definition:
fifo_2c_dram.vhd:52
fifo_2c_dram.AWIDTH
AWIDTH positive := 5
Definition:
fifo_2c_dram.vhd:49
fifo_2c_dram.CLKR
in CLKR slbit
Definition:
fifo_2c_dram.vhd:53
fifo_2c_dram.SIZER
out SIZER slv( AWIDTH- 1 downto 0)
Definition:
fifo_2c_dram.vhd:64
fifo_2c_dram.VAL
out VAL slbit
Definition:
fifo_2c_dram.vhd:60
fifo_2c_dram.RESETR
in RESETR slbit
Definition:
fifo_2c_dram.vhd:55
fifo_2c_dram.SIZEW
out SIZEW slv( AWIDTH- 1 downto 0)
Definition:
fifo_2c_dram.vhd:62
fifo_2c_dram.DWIDTH
DWIDTH positive := 16
Definition:
fifo_2c_dram.vhd:50
fifo_2c_dram.RESETW
in RESETW slbit
Definition:
fifo_2c_dram.vhd:54
memlib
Definition:
memlib.vhd:27
slvtypes
Definition:
slvtypes.vhd:28
slvtypes.slv4
std_logic_vector( 3 downto 0) slv4
Definition:
slvtypes.vhd:36
slvtypes.slv16
std_logic_vector( 15 downto 0) slv16
Definition:
slvtypes.vhd:48
slvtypes.slbit
std_logic slbit
Definition:
slvtypes.vhd:30
tbd_fifo_2c_dram.syn
Definition:
tbd_fifo_2c_dram.vhd:52
tbd_fifo_2c_dram
Definition:
tbd_fifo_2c_dram.vhd:33
tbd_fifo_2c_dram.ENA
in ENA slbit
Definition:
tbd_fifo_2c_dram.vhd:41
tbd_fifo_2c_dram.BUSY
out BUSY slbit
Definition:
tbd_fifo_2c_dram.vhd:42
tbd_fifo_2c_dram.HOLD
in HOLD slbit
Definition:
tbd_fifo_2c_dram.vhd:45
tbd_fifo_2c_dram.CLKW
in CLKW slbit
Definition:
tbd_fifo_2c_dram.vhd:36
tbd_fifo_2c_dram.SIZER
out SIZER slv4
Definition:
tbd_fifo_2c_dram.vhd:48
tbd_fifo_2c_dram.DO
out DO slv16
Definition:
tbd_fifo_2c_dram.vhd:43
tbd_fifo_2c_dram.DI
in DI slv16
Definition:
tbd_fifo_2c_dram.vhd:40
tbd_fifo_2c_dram.CLKR
in CLKR slbit
Definition:
tbd_fifo_2c_dram.vhd:37
tbd_fifo_2c_dram.VAL
out VAL slbit
Definition:
tbd_fifo_2c_dram.vhd:44
tbd_fifo_2c_dram.SIZEW
out SIZEW slv4
Definition:
tbd_fifo_2c_dram.vhd:46
tbd_fifo_2c_dram.RESETR
in RESETR slbit
Definition:
tbd_fifo_2c_dram.vhd:39
tbd_fifo_2c_dram.RESETW
in RESETW slbit
Definition:
tbd_fifo_2c_dram.vhd:38
vlib
memlib
tb
tbd_fifo_2c_dram.vhd
Generated on Thu Feb 9 2023 12:41:05 for w11 - vhd by
1.9.6