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
dcm_sfs_gsim.vhd
Go to the documentation of this file.
1
-- $Id: dcm_sfs_gsim.vhd 1181 2019-07-08 17:00:50Z mueller $
2
-- SPDX-License-Identifier: GPL-3.0-or-later
3
-- Copyright 2010-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
------------------------------------------------------------------------------
6
-- Module Name: dcm_sfs - sim
7
-- Description: DCM for simple frequency synthesis
8
-- simple vhdl model, without Xilinx UNISIM primitives
9
--
10
-- Dependencies: -
11
-- Test bench: -
12
-- Target Devices: generic Spartan-3A,-3E
13
-- Tool versions: xst 12.1-14.7; ghdl 0.29-0.34
14
--
15
-- Revision History:
16
-- Date Rev Version Comment
17
-- 2018-11-03 1065 1.1 use sfs_gsim_core
18
-- 2011-11-17 426 1.0.1 rename dcm_sp_sfs -> dcm_sfs
19
-- 2010-11-12 338 1.0 Initial version
20
------------------------------------------------------------------------------
21
22
library
ieee
;
23
use
ieee.std_logic_1164.
all
;
24
25
use
work.
slvtypes
.
all
;
26
use
work.
xlib
.
all
;
27
28
entity
dcm_sfs
is
-- DCM for simple frequency synthesis
29
generic
(
30
CLKFX_DIVIDE
:
positive
:=
1
;
-- FX clock divide (1-32)
31
CLKFX_MULTIPLY
:
positive
:=
1
;
-- FX clock multiply (2-32) (1->no DCM)
32
CLKIN_PERIOD
:
real
:=
20
.
0
)
;
-- CLKIN period (def is 20.0 ns)
33
port
(
34
CLKIN
:
in
slbit
;
-- clock input
35
CLKFX
:
out
slbit
;
-- clock output (synthesized freq.)
36
LOCKED
:
out
slbit
-- dcm locked
37
)
;
38
end
dcm_sfs
;
39
40
41
architecture
sim
of
dcm_sfs
is
42
begin
43
44
-- generate clock
45
SFS:
sfs_gsim_core
46
generic
map
(
47
VCO_DIVIDE
=>
1
,
48
VCO_MULTIPLY
=>
CLKFX_MULTIPLY
,
49
OUT_DIVIDE
=>
CLKFX_DIVIDE
)
50
port
map
(
51
CLKIN
=>
CLKIN
,
52
CLKFX
=>
CLKFX
,
53
LOCKED
=>
LOCKED
54
)
;
55
56
end
sim
;
dcm_sfs.sim
Definition:
dcm_sfs_gsim.vhd:41
dcm_sfs
Definition:
dcm_sfs_gsim.vhd:28
dcm_sfs.CLKFX_DIVIDE
CLKFX_DIVIDE positive := 1
Definition:
dcm_sfs_gsim.vhd:30
dcm_sfs.CLKIN
in CLKIN slbit
Definition:
dcm_sfs_gsim.vhd:34
dcm_sfs.CLKFX_MULTIPLY
CLKFX_MULTIPLY positive := 1
Definition:
dcm_sfs_gsim.vhd:31
dcm_sfs.LOCKED
out LOCKED slbit
Definition:
dcm_sfs_gsim.vhd:37
dcm_sfs.CLKIN_PERIOD
CLKIN_PERIOD real := 20.0
Definition:
dcm_sfs_gsim.vhd:32
dcm_sfs.CLKFX
out CLKFX slbit
Definition:
dcm_sfs_gsim.vhd:35
sfs_gsim_core
Definition:
sfs_gsim_core.vhd:25
sfs_gsim_core.VCO_DIVIDE
VCO_DIVIDE positive := 1
Definition:
sfs_gsim_core.vhd:27
sfs_gsim_core.OUT_DIVIDE
OUT_DIVIDE positive := 1
Definition:
sfs_gsim_core.vhd:29
sfs_gsim_core.CLKIN
in CLKIN slbit
Definition:
sfs_gsim_core.vhd:31
sfs_gsim_core.VCO_MULTIPLY
VCO_MULTIPLY positive := 1
Definition:
sfs_gsim_core.vhd:28
sfs_gsim_core.LOCKED
out LOCKED slbit
Definition:
sfs_gsim_core.vhd:34
sfs_gsim_core.CLKFX
out CLKFX slbit
Definition:
sfs_gsim_core.vhd:32
slvtypes
Definition:
slvtypes.vhd:28
slvtypes.slbit
std_logic slbit
Definition:
slvtypes.vhd:30
xlib
Definition:
xlib.vhd:35
vlib
xlib
dcm_sfs_gsim.vhd
Generated on Thu Feb 9 2023 12:41:06 for w11 - vhd by
1.9.6