Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gennum GN4124 core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Gennum GN4124 core
Commits
b3fa94b4
Commit
b3fa94b4
authored
7 years ago
by
Dimitris Lampridis
Browse files
Options
Downloads
Patches
Plain Diff
sim: update gn4124 bfm with feedback from BTrain project
parent
e3a0bf97
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/gn4124core/sim/gn4124_bfm/gn4124_bfm.svh
+29
-3
29 additions, 3 deletions
hdl/gn4124core/sim/gn4124_bfm/gn4124_bfm.svh
with
29 additions
and
3 deletions
hdl/gn4124core/sim/gn4124_bfm/gn4124_bfm.svh
+
29
−
3
View file @
b3fa94b4
...
...
@@ -221,7 +221,7 @@ class CBusAccessor_Gennum extends CBusAccessor;
endclass
// CBusAccessor_Gennum
function
CBusAccessor
get_accessor
();
CBusAccessor_Gennum
g
=
new
();
automatic
CBusAccessor_Gennum
g
=
new
();
return
g
;
endfunction
...
...
@@ -234,8 +234,8 @@ endinterface
`define
GENNUM_WIRE_SPEC_PINS
(
IF_NAME
)
\
.
L_RST_N
(
IF_NAME
.
SYS
.
rst_n
),
\
//
.
L_CLKp
(
IF_NAME
.
SYS
.
lclk_p
),
\
//
.
L_CLKn
(
IF_NAME
.
SYS
.
lclk_n
),
\
.
L_CLKp
(
IF_NAME
.
SYS
.
lclk_p
),
\
.
L_CLKn
(
IF_NAME
.
SYS
.
lclk_n
),
\
.
p2l_clkp
(
IF_NAME
.
P2L
.
p2l_clk_p
),
\
.
p2l_clkn
(
IF_NAME
.
P2L
.
p2l_clk_n
),
\
.
p2l_data
(
IF_NAME
.
P2L
.
p2l_data
),
\
...
...
@@ -257,5 +257,31 @@ endinterface
.
tx_error
(
IF_NAME
.
L2P
.
tx_error
),
\
.
vc_rdy
(
IF_NAME
.
P2L
.
vc_rdy
)
//the same as above but with names of the top SPEC entity that stick to naming conventions
`define
GENNUM_WIRE_SPEC_PINS_WITH_PROPER_NAMING
(
IF_NAME
)
\
.
l_rst_n_i
(
IF_NAME
.
SYS
.
rst_n
),
\
.
l_clk_p_i
(
IF_NAME
.
SYS
.
lclk_p
),
\
.
l_clk_n_i
(
IF_NAME
.
SYS
.
lclk_n
),
\
.
p2l_clk_p_i
(
IF_NAME
.
P2L
.
p2l_clk_p
),
\
.
p2l_clk_n_i
(
IF_NAME
.
P2L
.
p2l_clk_n
),
\
.
p2l_data_i
(
IF_NAME
.
P2L
.
p2l_data
),
\
.
p2l_dframe_i
(
IF_NAME
.
P2L
.
p2l_dframe
),
\
.
p2l_valid_i
(
IF_NAME
.
P2L
.
p2l_valid
),
\
.
p2l_rdy_o
(
IF_NAME
.
P2L
.
p2l_rdy
),
\
.
p_wr_req_i
(
IF_NAME
.
P2L
.
p_wr_req
),
\
.
p_wr_rdy_o
(
IF_NAME
.
P2L
.
p_wr_rdy
),
\
.
l_rx_error_o
(
IF_NAME
.
P2L
.
rx_error
),
\
.
l2p_clk_p_o
(
IF_NAME
.
L2P
.
l2p_clk_p
),
\
.
l2p_clk_n_o
(
IF_NAME
.
L2P
.
l2p_clk_n
),
\
.
l2p_data_o
(
IF_NAME
.
L2P
.
l2p_data
),
\
.
l2p_dframe_o
(
IF_NAME
.
L2P
.
l2p_dframe
),
\
.
l2p_valid_o
(
IF_NAME
.
L2P
.
l2p_valid
),
\
.
l2p_edb_o
(
IF_NAME
.
L2P
.
l2p_edb
),
\
.
l2p_rdy_i
(
IF_NAME
.
L2P
.
l2p_rdy
),
\
.
l_wr_rdy_i
(
IF_NAME
.
L2P
.
l_wr_rdy
),
\
.
p_rd_d_rdy_i
(
IF_NAME
.
L2P
.
p_rd_d_rdy
),
\
.
tx_error_i
(
IF_NAME
.
L2P
.
tx_error
),
\
.
vc_rdy_i
(
IF_NAME
.
P2L
.
vc_rdy
)
`endif
// `ifndef __GN4124_BFM_SVH
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment