Coder Social home page Coder Social logo

Comments (4)

poemonsense avatar poemonsense commented on August 21, 2024 1

For SRAMs, currently Chisel generates SRAM via verilog blackboxes. A python script is used to generate these SRAM modules with names starting with array_*. This step is done after the mill/scala process. We will remove the script after Chisel updates the transforms to include vlsi_mem_gen (issue #858).

Cannot find file containing module happens when make stops before the script runs due to some errors, in which case the SRAM modules are not generated.

To solve this, please try to manually run the following command, which is also in the Makfile

./scripts/vlsi_mem_gen build/SimTop.v.conf --output_file build/SimTop.v.sram.v
cat build/SimTop.v build/SimTop.v.sram.v > .__out__
mv .__out__ build/SimTop.v

If the above does not work, please try

rm -rf build
# make again here

from xiangshan.

liliwenaaa avatar liliwenaaa commented on August 21, 2024

For SRAMs, currently Chisel generates SRAM via verilog blackboxes. A python script is used to generate these SRAM modules with names starting with array_*. This step is done after the mill/scala process. We will remove the script after Chisel updates the transforms to include vlsi_mem_gen (issue #858).

Cannot find file containing module happens when make stops before the script runs due to some errors, in which case the SRAM modules are not generated.

To solve this, please try to manually run the following command, which is also in the Makfile

./scripts/vlsi_mem_gen build/SimTop.v.conf --output_file build/SimTop.v.sram.v
cat build/SimTop.v build/SimTop.v.sram.v > .__out__
mv .__out__ build/SimTop.v

If the above does not work, please try

rm -rf build
# make again here

get error
./scripts/vlsi_mem_gen build/SimTop.v.conf --output_file build/SimTop.v.sram.v
File "./scripts/vlsi_mem_gen", line 28
self.port_spec.append(f'{io_type} {width_str}{name}')
^
SyntaxError: invalid syntax

from xiangshan.

sequencer avatar sequencer commented on August 21, 2024

Google plz: fstring

from xiangshan.

liliwenaaa avatar liliwenaaa commented on August 21, 2024

Problem in my python version,pyhton3.6 replace python3.5

from xiangshan.

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.