Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Merge requests
!127
Resolve
L2SDP-273
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve
L2SDP-273
L2SDP-273
into
master
Overview
0
Commits
4
Pipelines
0
Changes
6
Merged
Reinier van der Walle
requested to merge
L2SDP-273
into
master
4 years ago
Overview
0
Commits
4
Pipelines
0
Changes
6
Closes
L2SDP-273
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
880746f2
4 commits,
4 years ago
6 files
+
480
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
libraries/base/ring/src/vhdl/ring_lane_info.vhd
0 → 100644
+
86
−
0
View file @ 880746f2
Edit in single-file editor
Open in Web IDE
-------------------------------------------------------------------------------
--
-- Copyright 2021
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
--
-- Author: R. van der Walle
-- Purpose:
-- . Ring lane info register
-- Description:
-- See ring_pkg.vhd
-- Remark:
-- .
-------------------------------------------------------------------------------
LIBRARY
IEEE
,
common_lib
,
mm_lib
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
common_lib
.
common_field_pkg
.
ALL
;
USE
work
.
ring_pkg
.
ALL
;
ENTITY
ring_lane_info
IS
PORT
(
-- Clocks and reset
mm_rst
:
IN
STD_LOGIC
;
-- reset synchronous with mm_clk
mm_clk
:
IN
STD_LOGIC
;
-- memory-mapped bus clock
dp_clk
:
IN
STD_LOGIC
;
dp_rst
:
IN
STD_LOGIC
;
reg_mosi
:
IN
t_mem_mosi
;
reg_miso
:
OUT
t_mem_miso
;
-- inputs from other blocks
lane_direction
:
IN
STD_LOGIC
;
-- sdp info
lane_info
:
OUT
t_lane_info
);
END
ring_lane_info
;
ARCHITECTURE
str
OF
ring_lane_info
IS
SIGNAL
lane_info_ro
:
t_lane_info
;
-- ro = read only
BEGIN
u_mm_fields
:
ENTITY
work
.
ring_lane_info_reg
PORT
MAP
(
mm_clk
=>
mm_clk
,
mm_rst
=>
mm_rst
,
dp_clk
=>
dp_clk
,
dp_rst
=>
dp_rst
,
reg_mosi
=>
reg_mosi
,
reg_miso
=>
reg_miso
,
lane_info_ro
=>
lane_info_ro
,
lane_info
=>
lane_info
);
lane_info_ro
.
lane_direction
<=
lane_direction
;
END
str
;
Loading