Run Post-Layout VCS Simulation
Compile and run post-layout simulation using VCS.
fc/scripts/setup.tcl file starting from the current directory.fc/scripts/setup.tcl to extract DESIGN_NAME and PROJECT_PATH.$PROJECT_PATH/fc/output/${DESIGN_NAME}_pt.v$PROJECT_PATH/hdl/verilog_file_post.f
vcs/post/Makefile exists and has correct PROJECT_PATH.cd $PROJECT_PATH/vcs/post && make com 2>&1 | tee compile_sim.log
Note: The VCS Makefile uses the -R flag which runs simulation immediately after compilation.
If the simulation takes a long time, use background execution:
cd $PROJECT_PATH/vcs/post && nohup make com > compile_sim.log 2>&1 &
echo $! > /tmp/.vcs_pid
Check compilation:
Error in compile.log (compilation errors)Warning in compile.log (note count)Check simulation:
$finish in run.log (simulation completed)Timing violation or $setup or $holdCheck for waveform files:
ls $PROJECT_PATH/vcs/post/*.fsdb $PROJECT_PATH/vcs/post/*.vcd $PROJECT_PATH/vcs/post/*.vpd 2>/dev/null
=== VCS Post-Layout Simulation Summary ===
| Metric | Value | Status |
|-----------------------|----------|--------|
| Compilation | OK/FAIL | |
| Compilation Warnings | N | |
| Simulation | OK/FAIL | |
| Setup Violations | N | |
| Hold Violations | N | |
| Waveform Generated | YES/NO | |
${DESIGN_NAME}_pt.v).