Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vdt-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
vdt-plugin
Commits
b4820d91
Commit
b4820d91
authored
Jul 28, 2015
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually removing text as markdown does not seem to supportt html comments
parent
01cd7814
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
30 deletions
+2
-30
README.md
README.md
+2
-30
No files found.
README.md
View file @
b4820d91
...
@@ -64,36 +64,8 @@ git clone git://github.com/steveicarus/iverilog.git
...
@@ -64,36 +64,8 @@ git clone git://github.com/steveicarus/iverilog.git
cd iverilog
cd iverilog
sh autoconf.sh
sh autoconf.sh
./configure
./configure
Update: Removed instructions to modify Icarus code - current version does not need them anymore
Update: Removed instructions to modify Icarus code - current version does not need
<!--
them anymore, so just proceed with
```
If you run
```make```
with unmodified code it will not be able to simulate the test project -
[
DDR3 Memory Interface
](
http://blog.elphel.com/2014/06/ddr3-memory-interface-on-xilinx-zynq-soc-free-software-compatible/
)
assert in vvp is triggered by the Micron DDR3 memory model. I do not understand what exactly
is wrong but just disabling these assert statements in
[
vpi_vthr_vector.cc
](
https://github.com/steveicarus/iverilog/blob/master/vvp/vpi_vthr_vector.cc
)
allows vvp to proceed without any visible problems:
```
c++
vpiHandle
vpip_make_vthr_vector
(
unsigned
base
,
unsigned
wid
,
bool
signed_flag
)
{
struct
__vpiVThrVec
*
obj
=
new
__vpiVThrVec
;
if
(
base
>=
65536
)
// assert(base < 65536);
fprintf
(
stderr
,
"vvp error: base > 65535, base= 0x%x
\n
"
,
base
);
obj
->
bas
=
base
;
if
(
wid
>=
65536
)
// assert(wid < 65536);
fprintf
(
stderr
,
"vvp error: wid > 65535, wid= 0x%x
\n
"
,
wid
);
obj
->
wid
=
wid
;
obj
->
signed_flag
=
signed_flag
?
1
:
0
;
obj
->
name
=
vpip_name_string
(
"T<>"
);
return
obj
;
}
```
Then with the modified code
```
-->
make
make
sudo make install
sudo make install
```
```
...
...
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