w11 - vhd
0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
gsr_pulse.vhd
Go to the documentation of this file.
1
-- $Id: gsr_pulse.vhd 1181 2019-07-08 17:00:50Z mueller $
2
-- SPDX-License-Identifier: GPL-3.0-or-later
3
-- Copyright 2016- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
------------------------------------------------------------------------------
6
-- Module Name: gsr_pulse - sim
7
-- Description: pulse GSR at startup
8
--
9
-- Dependencies: -
10
-- Test bench: -
11
-- Target Devices: generic
12
-- Tool versions: viv 2016.2; ghdl 0.33
13
-- Revision History:
14
-- 2016-09-17 808 1.0 Initial version
15
------------------------------------------------------------------------------
16
17
library
ieee
;
18
use
ieee.std_logic_1164.
all
;
19
20
library
unisim
;
21
use
unisim.vcomponents.
ALL
;
22
23
entity
gsr_pulse
is
-- pulse GSR at startup
24
generic
(
25
GSR_WIDTH
:
Delay_length
:=
100
ns
)
;
-- GSR pulse length
26
end
gsr_pulse
;
27
28
29
architecture
sim
of
gsr_pulse
is
30
31
begin
32
33
process
34
begin
35
36
-- Uses weak driver to prevent a driver clash when glbl.v is loaded too
37
-- In case glbl.v is present it will overwrite (to be tested...)
38
UNISIM
.
VCOMPONENTS
.
GSR
<=
'
H
'
;
39
wait
for
GSR_WIDTH
;
40
UNISIM
.
VCOMPONENTS
.
GSR
<=
'
L
'
;
41
wait
;
42
43
end
process
;
44
45
end
sim
;
gsr_pulse.sim
Definition:
gsr_pulse.vhd:29
gsr_pulse
Definition:
gsr_pulse.vhd:23
gsr_pulse.GSR_WIDTH
GSR_WIDTH Delay_length := 100 ns
Definition:
gsr_pulse.vhd:25
vlib
xlib
gsr_pulse.vhd
Generated on Thu Feb 9 2023 12:41:06 for w11 - vhd by
1.9.6