GithubHelp home page GithubHelp logo

afu_driver/verilog/top.vq error about pslse HOT 6 CLOSED

ibm-capi avatar ibm-capi commented on August 22, 2024
afu_driver/verilog/top.vq error

from pslse.

Comments (6)

umarajag avatar umarajag commented on August 22, 2024

Hi,
On the testbench we have a breakpoint signal declared as an output. Hence the declaration
module top (
output breakpoint
);
on lines numbers 19, 20, 21

from pslse.

lemon34 avatar lemon34 commented on August 22, 2024

But when i simulate top.v in vivado , pop-up error syntax error,when i delete the ");", it simulate succefully

from pslse.

umarajag avatar umarajag commented on August 22, 2024

Hi,
I tried a fresh pull from gitHub of the code and tried a Vivado sim. It worked without any edits on the top.v (I tried the demo memcpy model to simulate this)

Can you please check whether there has been some inadvertent edits on the top.v (other than the ones you had specifically put) to get your model to simulate?

from pslse.

umarajag avatar umarajag commented on August 22, 2024

Hi,
Please ensure that you are following the steps given in the README and QUICK_START documents in the pslse checkout directory
While compiling the top.v please remember to give the -svlog switch (on the xvlog command), and for xelab command, we should have the -sv_lib libdpi -sv_root $ options, before simulating

from pslse.

umarajag avatar umarajag commented on August 22, 2024

Hi,
xelab -timescale 1ns/1ps -svlog $TOP/top.v -sv_root $ROOT_DIR -sv_lib libdpi -debug all

Here is the command to run xelab
where in the $ROOT_DIR should have the libdpi.so or a link to that file

from pslse.

umarajag avatar umarajag commented on August 22, 2024

Question: do i need a testbench in Vivado Simulator?

Answer; the $TOP/top.v mentioned in the xelab command should be the testbench. On the pslse directory in the github, you could find the testbench at pslse/afu_driver/verilog/top.v
You will have to instantiate the afu you have designed on the testbench to simulate it with the pslse

from pslse.

Related Issues (20)

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.