OpenCores
URL https://opencores.org/ocsvn/spacewire_light/spacewire_light/trunk

Subversion Repositories spacewire_light

[/] [spacewire_light/] [trunk/] [syn/] [spwstream_gr-xc3s1500/] [spwstream_top.vhd] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jorisvr
library ieee;
2
use ieee.std_logic_1164.all, ieee.numeric_std.all;
3
use work.spwpkg.all;
4
 
5
entity spwstream_top is
6
 
7
    port (
8
        clk:        in  std_logic;
9
        fastclk:    in  std_logic;
10
        rst:        in  std_logic;
11
        autostart:  in  std_logic;
12
        linkstart:  in  std_logic;
13
        linkdis:    in  std_logic;
14
        txdivcnt:   in  std_logic_vector(7 downto 0);
15
        tick_in:    in  std_logic;
16
        ctrl_in:    in  std_logic_vector(1 downto 0);
17
        time_in:    in  std_logic_vector(5 downto 0);
18
        txwrite:    in  std_logic;
19
        txflag:     in  std_logic;
20
        txdata:     in  std_logic_vector(7 downto 0);
21
        txrdy:      out std_logic;
22
        txhalff:    out std_logic;
23
        tick_out:   out std_logic;
24
        ctrl_out:   out std_logic_vector(1 downto 0);
25
        time_out:   out std_logic_vector(5 downto 0);
26
        rxvalid:    out std_logic;
27
        rxhalff:    out std_logic;
28
        rxflag:     out std_logic;
29
        rxdata:     out std_logic_vector(7 downto 0);
30
        rxread:     in  std_logic;
31
        started:    out std_logic;
32
        connecting: out std_logic;
33
        running:    out std_logic;
34
        errdisc:    out std_logic;
35
        errpar:     out std_logic;
36
        erresc:     out std_logic;
37
        errcred:    out std_logic;
38
        spw_di:     in  std_logic;
39
        spw_si:     in  std_logic;
40
        spw_do:     out std_logic;
41
        spw_so:     out std_logic
42
    );
43
 
44
end entity spwstream_top;
45
 
46
architecture spwstream_top_arch of spwstream_top is
47
 
48
begin
49
 
50
    spwstream_inst: spwstream
51
        generic map (
52
            sysfreq         => 60.0e6,
53
            rximpl          => impl_fast,
54
            rxchunk         => 4,
55
            tximpl          => impl_fast,
56
            rxfifosize_bits => 11,
57
            txfifosize_bits => 6 )
58
        port map (
59
            clk         => clk,
60
            rxclk       => fastclk,
61
            txclk       => fastclk,
62
            rst         => rst,
63
            autostart   => autostart,
64
            linkstart   => linkstart,
65
            linkdis     => linkdis,
66
            txdivcnt    => txdivcnt,
67
            tick_in     => tick_in,
68
            ctrl_in     => ctrl_in,
69
            time_in     => time_in,
70
            txwrite     => txwrite,
71
            txflag      => txflag,
72
            txdata      => txdata,
73
            txrdy       => txrdy
74
,           txhalff     => txhalff,
75
            tick_out    => tick_out,
76
            ctrl_out    => ctrl_out,
77
            time_out    => time_out,
78
            rxvalid     => rxvalid,
79
            rxhalff     => rxhalff,
80
            rxflag      => rxflag,
81
            rxdata      => rxdata,
82
            rxread      => rxread,
83
            started     => started,
84
            connecting  => connecting,
85
            running     => running,
86
            errdisc     => errdisc,
87
            errpar      => errpar,
88
            erresc      => erresc,
89
            errcred     => errcred,
90
            spw_di      => spw_di,
91
            spw_si      => spw_si,
92
            spw_do      => spw_do,
93
            spw_so      => spw_so );
94
 
95
end architecture spwstream_top_arch;

powered by: WebSVN 2.1.0

© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.