Coder Social home page Coder Social logo

wyvernsemi / pcievhost Goto Github PK

View Code? Open in Web Editor NEW
72.0 12.0 20.0 3.17 MB

PCIe (1.0a to 2.0) Virtual host model for verilog

Home Page: http://www.anita-simulators.org.uk/wyvernsemi

License: GNU General Public License v3.0

Makefile 1.85% Inno Setup 0.47% C 66.06% Verilog 30.92% Stata 0.70%
pcie modelling verilog verification bfm virtual cosim c pli

pcievhost's Introduction

pcievhost

PCIe (1.0a to 2.0) Virtual host model for verilog.

Generates PCIe Physical, Data Link and Transaction Layer traffic for up to 16 lanes, controlled from user C program, via an API. Has configurable internal memory and configuration space models, and will auto-generate completions (configurably), with flow control, ACKs, and NAKS etc.

pcievhost is bundled with verilog pcie link traffic display modules and an example test harness. Tested for ModelSim/Questa only at the present time, though easily adpated for VCS, NC-Verilog and Icarus (and has previously been running on these in the past).

More informaton can be found in the documentation doc/pcieVHost.pdf

pcievhost's People

Contributors

wyvernsemi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcievhost's Issues

pcievhost and vproc

How to build pcievhost / vproc and run the sample test code on Linux environment ?. Please share the detailed steps build and run the simulation on Linux.

make : link issue with 32 bits librairies and msys64 (64 bits)

Hi,
When executing make, the process generates an error for every library , like :

D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../libstdc++.
a when searching for -lstdc++

D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../libmingw32
.a when searching for -lmingw32

D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../libshell32
.a when searching for -lshell32

etc .....

i changed the -m32 ARCHFLAG with -m64 (in makefiles) , but then i have a problem with modelsim :

D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible D:/TOOLS/Libero_SoC_v2023.2/ModelSimPro/win32acoem/mtipli.lib when searching
for -lmtipli
Thanks for your support
Regards
Jerome

Issue when make run at verilog/test

Hi Simon Southwell, I was able to execute the VProc example and had some problems with make run at verilog/test . The log is in attachment. Can you take a look ? there are some error like this :

/usr/bin/ld: cannot find -lmtipli
/usr/bin/ld: skipping incompatible ../../../vproc/libvproc.a when searching for -lvproc
/usr/bin/ld: cannot find -lvproc
collect2: error: ld returned 1 exit status
make_run.log

LTSSM.Config_Complete issue

I think some miss-match about Specification of LTSSM. In Config.Complete state, TX need to send 16 TS2 and RX need to receive 8 TS2. But in C code ltssm.c, TX only send 8 TS2. You can see below picture :
ltssm_8ts2_send
spec_16TS2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.