Comments (4)
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.
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 includevlsi_mem_gen
(issue #858).
Cannot find file containing module
happens whenmake
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.
Google plz: fstring
from xiangshan.
Problem in my python version,pyhton3.6 replace python3.5
from xiangshan.
Related Issues (20)
- Incorrect Rounding Mode Handling for Specific Cases HOT 2
- Correct NEMU version for nanhu branch of XiangShan HOT 4
- Assertion failed when running EMU on nanhu-G branch HOT 8
- make emu error - Exception in thread "main" java.util.NoSuchElementException: NOOP_HOME HOT 1
- the logic of tlbBundle privilege in dmode HOT 3
- How to use profile function of verilator in XiangShan environment HOT 6
- Using XiangShan to reproduce the example code in RISC-V Architecture Programming and Practice. HOT 6
- Simulation hangs for longer running functions using the vector extension HOT 8
- How are the uncacheable and non-indempotent stores are handled? HOT 4
- How can projects using Chisel 3 and Chisel 5/6 be integrated together? HOT 1
- Is there any interface to flush L2 Cache data HOT 2
- Solution to make FIR elaboration faster
- Can not generate RTL when NUM_CORES >= 3
- 使用命令时遇到错误“已放弃(核心已转储) ” HOT 1
- Eeception while compile using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config" HOT 1
- Compile Exception while using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config", HOT 5
- Difftest failed on a RISC-V Vector memcpy workload with misaligned(in vlen granularity, not element) unit stride load HOT 1
- Assertion failed at UserYanker.scala:63 assert (!out.r.valid || r_valid) // Q must be ready faster than the response HOT 1
- make verilog NUM_CORES=4 gets error HOT 7
- In VCS simulation, multi-core simulation of some harts ended prematurely due to incorrect execution of SEQZ instruction HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiangshan.