Comments (9)
My environment is : Questa sim 10.7d, gcc 4.8.5 with CentOS 7.9.2000. Can you give me some suggestions?
from pcievhost.
from pcievhost.
Thank you for your reply. I just checked that comment and deleted define MODEL_TECH in makefile, and now the log file reports that :
/usr/bin/ld: ../../lib/libpcievhost.a(codec.o): relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../lib/libpcievhost.a(mem.o): relocation R_X86_64_32S against
.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../lib/libpcievhost.a(pcie.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../lib/libpcievhost.a(pcie_utils.o): relocation R_X86_64_32 against
.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../lib/libpcievhost.a(ltssm.o): relocation R_X86_64_32S against .data' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../lib/libpcievhost.a(veriuser.o): relocation R_X86_64_32 against symbol
veriusertfs' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make: *** [VProc.so] Error 1
Can you give me some suggestions ?
from pcievhost.
from pcievhost.
For some reason, my PC with internet does not install questasim, and my PC with internet does not install questasim; Therefore, I had to copy it manually and caused some unexpected errors. I will continue debugging, thanks for your suggestion :D
from pcievhost.
The problem has been resolved. I edited a few paths in test.vc (../../VProc -> ../../vproc ) and added -fPIC in CFLAGS in the makefile at verilog/test
from pcievhost.
Not all the makefiles for pcievhost have ARCHFLAG defined (all the makefile are for the 32-bit ModelSim). Shouldn't need to change test.vc though---works for me under CentOS---but I will update this to broaden compatibility. The -fPIC isn't needed under Ubuntu (the supported Linux platform), so things must be different for CentOS (which pcievhost is not regularly tested under). The redefinition warnings aren't generated either on Ubuntu, but I will add this in anycase, as it doesn't break the compilation for other platforms. I will be updating the makefiles to all have ARCHFLAG, like vproc, and also add a Questa wrapper makefile so the user doesn't require to set variables like ARCHFLAG on the command line.
from pcievhost.
Thank you for your enthusiastic support. Do you plan to do Gen3 PCIe ?
from pcievhost.
I have no plans for PCIe Gen3 (or beyond) at this time, though I did look into it some time back. The main difference would be to use 128b/130b encoding in place of 8b/10b, and I did have an idea to have thirteen 10-bit words per 130-bit codeword so that the current ports on the component remain unchanged. I just haven't get around to it, and have no means of verifying it---the original was used to drive an endpoint design which then was verified and worked on platform, so the model has been confirmed as it stands. It is low priority for me at the moment, so don't expect to see anything soon.
from pcievhost.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcievhost.