Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL Blocking - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Conv TTL Blocking - Gateware
Commits
3b4a2796
Commit
3b4a2796
authored
Apr 08, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove rtm_detector component
Signed-off-by:
Theodor Stana
<
t.stana@cern.ch
>
parent
b5ff33c9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
115 additions
and
244 deletions
+115
-244
Manifest.py
modules/Manifest.py
+1
-2
rtm_detector.vhd
modules/rtm_detector.vhd
+0
-106
conv_ttl_blo.xise
syn/Release/conv_ttl_blo.xise
+113
-116
conv_ttl_blo.vhd
top/Release/conv_ttl_blo.vhd
+1
-20
No files found.
modules/Manifest.py
View file @
3b4a2796
...
...
@@ -7,6 +7,5 @@ modules = {
}
files
=
[
"reset_gen.vhd"
,
"rtm_detector.vhd"
"reset_gen.vhd"
]
modules/rtm_detector.vhd
deleted
100644 → 0
View file @
b5ff33c9
--==============================================================================
-- CERN (BE-CO-HT)
-- Rear transition module (RTM) detector
--==============================================================================
--
-- author: Carlos Gil Soriano
-- Theodor Stana (t.stana@cern.ch)
--
-- date of creation: 2013-01-09
--
-- version: 2.0
--
-- description:
--
-- This module detects the presence of rear transition module motherboards
-- (RTMMs) and piggybacks (RTMPs). Detection works by checking the RTMM and
-- RTMP input pins and these pins are pulled up on the front module. The
-- RTMM_OK and RTMP_OK ouputs are set if the corresponding inputs do not
-- yield errors. Different boards have the RTMM/P pins setup differently,
-- as outlined in the tables below:
--
-- Table 1. RTMM detection pins.
-- __________________________________________
-- | Board | RTMM[2] | RTMM[1] | RTMM[0] |
-- +-----------------------------------------+
-- | Error | '1' | '1' | '1' |
-- | RTMM_V1 | '1' | '1' | '0' |
-- | RTMM_V2 | '1' | '0' | '1' |
-- | Reserved | '1' | '0' | '0' |
-- | Reserved | '0' | '1' | '1' |
-- | Reserved | '0' | '1' | '0' |
-- | Reserved | '0' | '0' | '1' |
-- | Reserved | '0' | '0' | '0' |
-- +-----------+---------+---------+---------+
--
--
-- Table 2. RTMP detection pins.
-- _____________________________________________
-- | Board | RTMP[2] | RTMP[1] | RTMP[0] |
-- +-------------------------------------------+
-- | Error OR | '1' | '1' | '1' |
-- | Blocking_V1 | | | |
-- | RS485_V1 | '1' | '1' | '0' |
-- | -Reserved- | '1' | '0' | '1' |
-- | -Reserved- | '1' | '0' | '0' |
-- | -Reserved- | '0' | '1' | '1' |
-- | -Reserved- | '0' | '1' | '0' |
-- | -Reserved- | '0' | '0' | '1' |
-- | Error | '0' | '0' | '0' |
-- +-------------+---------+---------+---------+
--
--
-- dependencies:
-- none
--
-- references:
-- http://www.ohwr.org/projects/conv-ttl-blo/wiki/RTM_board_detection
--
--==============================================================================
-- GNU LESSER GENERAL PUBLIC LICENSE
--==============================================================================
-- This source file is free software; you can redistribute it and/or modify it
-- under the terms of the GNU Lesser General Public License as published by the
-- Free Software Foundation; either version 2.1 of the License, or (at your
-- option) any later version. This source is distributed in the hope that it
-- will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- See the GNU Lesser General Public License for more details. You should have
-- received a copy of the GNU Lesser General Public License along with this
-- source; if not, download it from http://www.gnu.org/licenses/lgpl-2.1.html
--==============================================================================
-- last changes:
-- 2013-01-09 Theodor Stana t.stana@cern.ch File created
--==============================================================================
-- TODO: -
--==============================================================================
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
entity
rtm_detector
is
port
(
rtmm_i
:
in
std_logic_vector
(
2
downto
0
);
rtmp_i
:
in
std_logic_vector
(
2
downto
0
);
rtmm_ok_o
:
out
std_logic
;
rtmp_ok_o
:
out
std_logic
);
end
entity
rtm_detector
;
architecture
behav
of
rtm_detector
is
--==============================================================================
-- architecture begin
--==============================================================================
begin
rtmm_ok_o
<=
'0'
when
(
rtmm_i
=
"111"
)
else
'1'
;
rtmp_ok_o
<=
'0'
when
(
rtmp_i
=
"111"
)
else
'1'
;
end
behav
;
--==============================================================================
-- architecture end
--==============================================================================
syn/Release/conv_ttl_blo.xise
View file @
3b4a2796
This diff is collapsed.
Click to expand it.
top/Release/conv_ttl_blo.vhd
View file @
3b4a2796
...
...
@@ -587,10 +587,6 @@ architecture behav of conv_ttl_blo is
signal
rst_fr_reg
:
std_logic
;
signal
rst_125_n
:
std_logic
;
-- RTM detection signals
signal
rtmm
,
rtmp
:
std_logic_vector
(
2
downto
0
);
signal
rtmm_ok
,
rtmp_ok
:
std_logic
;
-- Wishbone crossbar signals
signal
xbar_slave_in
:
t_wishbone_slave_in_array
(
c_nr_masters
-
1
downto
0
);
signal
xbar_slave_out
:
t_wishbone_slave_out_array
(
c_nr_masters
-
1
downto
0
);
...
...
@@ -891,7 +887,7 @@ begin
--============================================================================
-- Set SWITCH and RTM fields
switches_n
<=
ttl_switch_n_i
&
extra_switch_n_i
(
7
downto
1
);
rtm_lines
<=
rtmp
&
rtmm
;
rtm_lines
<=
(
not
fpga_rtmp_n_i
)
&
(
not
fpga_rtmm_n_i
)
;
-- Then, instantiate the component
cmp_conv_regs
:
conv_regs
...
...
@@ -1462,21 +1458,6 @@ begin
line_oen_o
(
1
)
=>
led_ctrl1_oen_o
);
--============================================================================
-- RTM detection logic
--============================================================================
rtmm
<=
not
fpga_rtmm_n_i
;
rtmp
<=
not
fpga_rtmp_n_i
;
cmp_rtm_detector
:
rtm_detector
port
map
(
rtmm_i
=>
rtmm
,
rtmp_i
=>
rtmp
,
rtmm_ok_o
=>
rtmm_ok
,
rtmp_ok_o
=>
rtmp_ok
);
--============================================================================
-- Drive unused outputs with safe values
--============================================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment