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
5066970c
Commit
5066970c
authored
6 years ago
by
Dimitris Lampridis
Browse files
Options
Downloads
Patches
Plain Diff
sim: Fix Modelsim warnings
parent
017ef8c1
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hdl/gn4124core/sim/gn4124_bfm/gn412x_bfm.vhd
+3
-3
3 additions, 3 deletions
hdl/gn4124core/sim/gn4124_bfm/gn412x_bfm.vhd
hdl/gn4124core/sim/gn4124_bfm/mem_model.vhd
+8
-8
8 additions, 8 deletions
hdl/gn4124core/sim/gn4124_bfm/mem_model.vhd
with
11 additions
and
11 deletions
hdl/gn4124core/sim/gn4124_bfm/gn412x_bfm.vhd
+
3
−
3
View file @
5066970c
...
...
@@ -2506,7 +2506,7 @@ writeline(OUT_FILE, OUTPUT_LINE);
CMP_DATA
:
=
IN_DATA
;
CMD_RD_DATA
<=
IN_DATA
;
CMD_RD_DATA_VALID
<=
'1'
;
wait
for
1
ns
;
wait
for
1
ns
;
CMD_RD_DATA_VALID
<=
'0'
;
...
...
@@ -2608,7 +2608,7 @@ writeline(OUT_FILE, OUTPUT_LINE);
address
=>
RAM_ADDR0
,
data
=>
RAM_WR_DATA0
);
wait
for
1
ns
;
wait
for
1
ns
;
else
Mem_Read
(
mem_id
=>
SRAM_BFM
,
...
...
@@ -2616,7 +2616,7 @@ writeline(OUT_FILE, OUTPUT_LINE);
data
=>
vRAM_DATA
);
RAM_RD_DATA0
<=
vRAM_DATA
;
wait
for
1
ns
;
wait
for
1
ns
;
end
if
;
RAM_ACK0
<=
not
RAM_ACK0
;
...
...
This diff is collapsed.
Click to expand it.
hdl/gn4124core/sim/gn4124_bfm/mem_model.vhd
+
8
−
8
View file @
5066970c
...
...
@@ -420,7 +420,7 @@ end;
--|
--|-----------------------------------------------------------------------------
PROCEDURE
fgetline1
(
VARIABLE
l_str
:
OUT
STRING
;
VARIAB
LE
stream
:
IN
TEXT
;
FI
LE
stream
:
TEXT
;
VARIABLE
line_ptr
:
INOUT
LINE
)
IS
VARIABLE
str_copy
:
STRING
(
1
TO
MAX_STR_LEN
+
1
);
...
...
@@ -1695,7 +1695,7 @@ end;
procedure
new_line
(
Variable
str_buff
:
INOUT
string
;
Variable
b_index
:
INOUT
integer
;
Variable
file_error
:
INOUT
integer
;
Variab
le
in_file
:
IN
TEXT
;
Fi
le
in_file
:
TEXT
;
Variable
line_num
:
INOUT
integer
)
is
...
...
@@ -1718,7 +1718,7 @@ end;
Variable
str_buff
:
INOUT
string
;
Variable
b_index
:
INOUT
integer
;
Variable
file_error
:
INOUT
integer
;
Variab
le
in_file
:
IN
TEXT
;
Fi
le
in_file
:
TEXT
;
Variable
line_num
:
INOUT
integer
)
is
...
...
@@ -1782,7 +1782,7 @@ end;
Variable
str_buff
:
INOUT
string
;
Variable
b_index
:
INOUT
integer
;
Variable
file_error
:
INOUT
integer
;
Variab
le
in_file
:
IN
TEXT
;
Fi
le
in_file
:
TEXT
;
Variable
file_width
:
INOUT
integer
;
Variable
line_num
:
INOUT
integer
)
is
...
...
@@ -1848,7 +1848,7 @@ end;
Variable
str_buff
:
INOUT
string
;
-- string buffer
Variable
b_index
:
INOUT
integer
;
-- string buffer index
Variable
file_error
:
INOUT
integer
;
-- error?
Variab
le
in_file
:
IN
TEXT
;
-- file
Fi
le
in_file
:
TEXT
;
-- file
Variable
file_width
:
IN
integer
;
-- width specified by file
Variable
mem_id
:
INOUT
mem_id_type
;
-- memory
Constant
hex_size
:
IN
integer
;
-- number of hex digits expected
...
...
@@ -1930,7 +1930,7 @@ end;
Variable
str_buff
:
INOUT
string
;
-- string buffer
Variable
b_index
:
INOUT
integer
;
-- string buffer index
Variable
file_error
:
INOUT
integer
;
-- error?
Variab
le
in_file
:
IN
TEXT
;
-- file
Fi
le
in_file
:
TEXT
;
-- file
Variable
file_width
:
IN
integer
;
-- width specified by file
Variable
mem_id
:
INOUT
mem_id_type
;
-- memory
Constant
hex_size
:
IN
integer
;
-- number of hex digits expected
...
...
@@ -1984,7 +1984,7 @@ end;
Variable
str_buff
:
INOUT
string
;
-- string buffer
Variable
b_index
:
INOUT
integer
;
-- string buffer index
Variable
file_error
:
INOUT
integer
;
-- error?
Variab
le
in_file
:
IN
TEXT
;
-- file
Fi
le
in_file
:
TEXT
;
-- file
Variable
file_width
:
IN
integer
;
-- width specified in file
Variable
mem_id
:
INOUT
mem_id_type
;
-- memory
Constant
hex_size
:
IN
integer
;
-- number of hex digits expected
...
...
@@ -2084,7 +2084,7 @@ end;
Variable
str_buff
:
INOUT
string
;
Variable
b_index
:
INOUT
integer
;
Variable
file_error
:
INOUT
integer
;
Variab
le
in_file
:
IN
TEXT
;
Fi
le
in_file
:
TEXT
;
Variable
file_width
:
IN
integer
;
Variable
mem_id
:
INOUT
mem_id_type
;
Constant
hex_size
:
IN
integer
;
...
...
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