Altera_Forum
Honored Contributor
16 years agoPCIe HIP in SOPC simulation questions
I'm going through the training course PCI Express Hard IP Quick Start Guide with SOPC Builder to get a feel for the PCIe IP. I'm simulating the testbench that the PCI Express Compiler creates but I'm frustrated with how this flow is working. There are a couple of tcl files created to make the simulation "easy". The first one is setup_sim.do that sets up some aliases like 'c' to compile the whole design and 'w' to populate the wave window.
1. When I run 'c' the design does compile but it compiles all sorts of things into the work library that I don't think need to be there. There are groups of arriaii*, cycloneiv*, hardcopyiv*, stratixiigx*, and stratixiv* all compiled into my work library. It takes forever to finish. Why aren't the Altera libraries just referenced instead of being compiled into my work directory? 2. When I run 'w' none of the signals are visible. I have to go back and explicitly recompile the testbench without optimization with 'vsim -novopt work.test_bench'. After waiting for that to finish (see# 1) I can rum 'w' and see all my signals. I would think a demo would work easily. Is there something I'm doing wrong? Thanks