Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to apply SimTop.v in Vivado #933

Closed
fatalfeel opened this issue Aug 20, 2021 · 8 comments
Closed

how to apply SimTop.v in Vivado #933

fatalfeel opened this issue Aug 20, 2021 · 8 comments

Comments

@fatalfeel
Copy link

fatalfeel commented Aug 20, 2021

load source file /root/riscv_cpu/XiangShan/build/SimTop.v
/root/riscv_cpu/XiangShan/build/plusarg_reader.v
or
/root/riscv_cpu/XiangShan/build/XSTop.v
/root/riscv_cpu/XiangShan/build/plusarg_reader.v

make Schematic failed
[Synth 8-439] module 'plusarg_reader' not found ["/root/riscv_cpu/XiangShan/build/SimTop.v":622]
[Synth 8-6156] failed synthesizing module 'TLMonitor' ["/root/riscv_cpu/XiangShan/build/SimTop.v":35]
[Vivado_Tcl 4-5] Elaboration failed - please see the console for details

how to to use it correctly?

@poemonsense
Copy link
Member

SimTop is for behavior simulation. If you need synthesizable verilog, please use make verilog to generate top module.

As for module plusarg_reader not found, please have a look at build, which should contain plusarg_reader.v and other verilog files.

@fatalfeel
Copy link
Author

thanks and is top module -> XSTop.v?

@poemonsense
Copy link
Member

Yes. It's XSTop, with 3 AXI channels

@fatalfeel
Copy link
Author

thanks a lot man

@fatalfeel
Copy link
Author

Done for this
#XiangShan for "vivado hl system edition" 2019.2.1
File -> Project -> New project -> RTL project
Project name: XSTop
Project location: ~/riscv_cpu/XiangShan/build
Create project subdirectory - uncheck
Add Sources:
XSTop.v
plusarg_reader.v
tsmc28_sram.v
Add Constraints: None
Select last part: xqzu29dr-ffrf1760-1M-m
#or
Select last board: Zynq UltraScale+ RFSoC ZCU1285 Characterization Kit
open view [Flow Navigator]
RTL ANALYSIS: Open Elaborated Design -> Schematic (see the circuit)

@qinyunchuan
Copy link

@fatalfeel What's the synthesized frequency of XSTop on your FPGA ?

@poemonsense
Copy link
Member

Select last board: Zynq UltraScale+ RFSoC ZCU1285 Characterization Kit

Did you use MinimalConfig of XiangShan? We actually don't test enough on this minimal version. So there may be some functional or timing issues with this version.

@fatalfeel
Copy link
Author

fatalfeel commented Aug 22, 2021

I did not set synthesized frequency only draw a cpu circuit
because i don't have Zynq UltraScale+ RFSoC ZCU1285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants