Git Product home page Git Product logo

Comments (8)

jjts avatar jjts commented on July 20, 2024 1

Any conf.vh file created by hw_defines.py

But see the commented hw_defines.py verilog2tex.py call in hw_setup of i2s
commented because it does not work

uncomment, use the conf.vh generated with hw_defines instead of the one I created statically in document /tsrc

make setup
make -C ../iob_ doc-build DOC=ug

from iob-lib.

P-Miranda avatar P-Miranda commented on July 20, 2024

The ifdef check could be easily removed or changed as sugested from the hw_defines.py script. I kept it to be similar to the sw_defines.py output.
However, this looks like a problem with verilog2tex.py that cannot support empty verilog defines.

  • Removing or changing the define fixes the problem for now
  • But the problem will appear next time there is an empty define in the parsed files by verilog2tex.py script

from iob-lib.

jjts avatar jjts commented on July 20, 2024

can you fix verilog2tex.py then ?

from iob-lib.

P-Miranda avatar P-Miranda commented on July 20, 2024

Point me to an example where the scripts fails and I can give it a shot.

from iob-lib.

jjts avatar jjts commented on July 20, 2024

*in hardware/src, not document/tsrc

from iob-lib.

jjts avatar jjts commented on July 20, 2024

Isn't a simple fix just not generating empty defines?

generate
`define IS_APPLE 1

even if
`define IS _APPLE
would be sufficient

from iob-lib.

P-Miranda avatar P-Miranda commented on July 20, 2024

this doesn't seem to be an issue anymore.
From latest iob-cache build lib
added the file: generated_header.vh:

`ifndef NEW_SPECIAL_MACRO
`define NEW_SPECIAL_MACRO
`endif

The run the following commands:

make setup
submodules/LIB/scripts/verilog2tex.py ../iob_cache_V0.10/hardware/src/iob_cache.v ../iob_cache_V0.10/hardware/src/iob_cache_conf_iob.vh ../iob_cache_V0.10/hardware/src/iob_cache_conf_axi.vh ../iob_cache_V0.10/hardware/src/iob_cache.vh generated_header.vh mkregs.conf

script runs until the end without errors

from iob-lib.

jjts avatar jjts commented on July 20, 2024

solved

from iob-lib.

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.