Code Monkey home page Code Monkey logo

Comments (20)

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024 1

Hi Taichi,

The problem solved after following your link.

thanks and regards

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024 1

@sfjiang-astri ,
Did your simulation trial work well?

Hi Taichi,
thanks for your comment, the simulation works well.
And I want to use this tvip-axi as a vip in my verification project.

thanks
sfjiang

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

You don't need to add -warn_multiple_driver option to make command.

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

This is a compile option of xrun command.
You can add this option to xrun command to avoid *E,ICDCBA error like below.
https://github.com/taichi-ishitani/tnoc/blob/c16b918b3247874d754a15d9a2b2eb5d911e042c/sim/common/xcelium.mk#L29

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

Hi Taichi,
some *E,ICDCBA error occurs when i use make command only.
image

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

Can you apply following patch to sample/work/xcelim.mk and try again?

index 5cbb274..4549f0c 100644
--- a/sample/work/xcelium.mk
+++ b/sample/work/xcelium.mk
@@ -12,6 +12,7 @@ XMELAB_ARGS   += -uvmhome CDNS-1.1d
 XMELAB_ARGS    += -uvmnoautocompile
 XMELAB_ARGS    += -timescale 1ns/1ps
 XMELAB_ARGs    += -newperf
+XMELAB_ARGS    += -warn_multiple_driver
 XMELAB_ARGS    += -top worklib.top
 XMELAB_ARGS    += -l xmelab.log

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

Hi Taichi,
which options should I insert in the makefile if i want to dump the waveform of the test?

thanks

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

I think you need to insert following options for waveform dumping.
https://github.com/taichi-ishitani/tnoc/blob/c16b918b3247874d754a15d9a2b2eb5d911e042c/sim/common/xcelium.mk#L78

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

image

I insert the options from line 42 to 57 in the xcelium.mk shown in the figure.
while I cannot dump the waveform in simvision after running the command
'make SIMULATOR=xcelium default DUMP=on GUI=on'

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024
$ make clean; make SIMULATOR=xcelium DUMP=shm

This is correct command.

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

Thanks Taichi,
while it seems the clock didnot starts to work.
image
any options should I insert when running the command.

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

I think this option may be needed.
https://github.com/taichi-ishitani/tnoc/blob/c16b918b3247874d754a15d9a2b2eb5d911e042c/sim/common/xcelium.mk#L59
But I'm not sure.

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

@sfjiang-astri ,
Did your simulation trial work well?

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

thanks for your comment, the simulation works well.

Good!

And I want to use this tvip-axi as a vip in my verification project.

OK, no problem.
Please feel free to ask question, feedback, feature request if you have :)

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

@sfjiang-astri
Did -run option resolve the problem simulation does not start?

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

@sfjiang-astri
Did -run option resolve the problem simulation does not start?

Yes, It works.

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

Thanks!

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

Thanks!

by the way, what is the meaning for "-warn_multiple_driver" when using the xrun simulator?

thanks

from tvip-axi.

taichi-ishitani avatar taichi-ishitani commented on June 9, 2024

For SystemVerilog, assignment having multiple drivers such as the following is not allowed and xrun will raise *E,ICDCBA error.

byte a, b, c;
always_comb a = b; //driver 1
always_comb a = c; //driver 2

The -warn_multiple_driver option is to change severity of *E,ICDCBA error to warning.

In case of the sample TB, I don't know why *E,ICDCBA error is happened.
I'm not familiar with Xcelium because I use VCS mainly so I use -warn_multiple_driver option to ignore *E,ICDCBA error.

from tvip-axi.

sfjiang-astri avatar sfjiang-astri commented on June 9, 2024

I see. So it is used to change the *E, ICDCBA error to the warning.
thanks and regards

from tvip-axi.

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.