w11 - vhd
0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
sys_conf1_sim.vhd
Go to the documentation of this file.
1
-- $Id: sys_conf1_sim.vhd 1181 2019-07-08 17:00:50Z mueller $
2
-- SPDX-License-Identifier: GPL-3.0-or-later
3
-- Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
------------------------------------------------------------------------------
6
-- Package Name: sys_conf
7
-- Description: Definitions for sys_tst_serloop1_n2 (for test bench)
8
--
9
-- Dependencies: -
10
-- Tool versions: xst 11.4-14.7; ghdl 0.26-0.31
11
-- Revision History:
12
-- Date Rev Version Comment
13
-- 2011-12-16 439 1.0 Initial version
14
------------------------------------------------------------------------------
15
16
library
ieee
;
17
use
ieee.std_logic_1164.
all
;
18
19
use
work.
slvtypes
.
all
;
20
21
package
sys_conf
is
22
23
-- in simulation a usec is shortened to 10 cycles (0.2 usec) and a msec
24
-- to 50 cycles (1 usec). This affects the pulse generators (usec) and
25
-- mainly the autobauder. A break will be detected after 128 msec periods,
26
-- this in simulation after 128 usec or 6400 cycles. This is compatible with
27
-- bitrates of 115200 baud or higher (115200 <-> 8.68 usec <-> 521 cycles)
28
29
constant
sys_conf_clkdiv_usecdiv
:
integer
:=
10
;
-- default usec
30
constant
sys_conf_clkdiv_msecdiv
:
integer
:=
5
;
-- shortened !
31
constant
sys_conf_hio_debounce
:
boolean
:=
false
;
-- no debouncers
32
constant
sys_conf_uart_cdinit
:
integer
:=
1-1
;
-- 1 cycle/bit in sim
33
34
end
package
sys_conf
;
slvtypes
Definition:
slvtypes.vhd:28
sys_conf
Definition:
sys_conf_sim.vhd:21
sys_conf.sys_conf_clkdiv_usecdiv
integer := 100 sys_conf_clkdiv_usecdiv
Definition:
sys_conf1.vhd:29
sys_conf.sys_conf_hio_debounce
boolean := true sys_conf_hio_debounce
Definition:
sys_conf.vhd:33
sys_conf.sys_conf_clkdiv_msecdiv
integer := 1000 sys_conf_clkdiv_msecdiv
Definition:
sys_conf1.vhd:30
sys_conf.sys_conf_uart_cdinit
integer :=( sys_conf_clksys/ sys_conf_uart_defbaud)- 1 sys_conf_uart_cdinit
Definition:
sys_conf1.vhd:44
sys_gen
tst_serloop
nexys2
tb
sys_conf1_sim.vhd
Generated on Thu Feb 9 2023 12:41:05 for w11 - vhd by
1.9.6