Git Product home page Git Product logo

Comments (3)

rdiez avatar rdiez commented on August 15, 2024

Von: iDoka [email protected]
An: rdiez/uart_dpi [email protected]
Gesendet: 8:42 Donnerstag, 27.März 2014
Betreff: [uart_dpi] build troubles (#1)

Hello Diez!
Do you have any makefile for build your scetch?
I try build this, but my experiment failed:
[uart_dpi]$ verilator -sv --cc --trace uart_dpi.v --exe uart_dpi.cpp
%Error: uart_dpi.v:571: syntax error, unexpected |=, expecting '=' or <= %Error: Exiting due to 1 warning(s) %Error: Command Failed verilator_bin -sv --cc --trace uart_dpi.v --exe uart_dpi.cpp 

I must admit, I haven't used that file for a while. The following file in the orbuild repository could serve as an example:

Scripts/Projects/OpenRISC/Tools/SimulatorBuildScripts/BuildSim-OR10-Verilator.sh

Best regards,
  rdiez

from uart_dpi.

iDoka avatar iDoka commented on August 15, 2024

Ok. I copy BuildSim-OR10-Verilator.sh to uart_dpi project folder
I run it:

[uart_dpi]$ ./BuildSim-OR10-Verilator.sh 
Error in script "./BuildSim-OR10-Verilator.sh": Invalid number of command-line arguments, see the source code for details.

I looked at the script file, and it contains a many lot of dependencies,
as opposed to the typical one-line verilator-examples, e.g.

source "$ORBUILD_SANDBOX/Scripts/ShellModules/StandardShellHeader.sh"
source "$ORBUILD_SANDBOX/Scripts/ShellModules/MakeJVal.sh"
...
get_make_j_val MAKE_J_VAL
CMD="make -f \"V$TOP_LEVEL_MODULE.mk\" -j \"$MAKE_J_VAL\""

I would like to work with a current uart-example, unattached to infrastructure of OR10.

If possible, could you describe a short list of actions required to independently simulation uart-example?

from uart_dpi.

rdiez avatar rdiez commented on August 15, 2024

[...]
I looked at the script file, and it contains a many lot of dependencies,
[...]

I mentioned that script just as an example to get inspiration from. I don't think I ever wrote a stand-alone UART test bench. I'm sorry that I haven't got the time at the moment to provide further support for that Verilog module.

Regards,
  rdiez

from uart_dpi.

Related Issues (1)

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.