mirror of
https://github.com/verilator/verilator.git
synced 2025-04-15 17:16:55 +00:00
Fix makefile typo, and remove unneeded PWD variable
git-svn-id: file://localhost/svn/verilator/trunk/verilator@844 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
parent
2ce30e78a1
commit
c5f0ed9c99
@ -15,7 +15,6 @@
|
||||
# This must point to the root of the VERILATOR kit
|
||||
VERILATOR_ROOT := $(shell pwd)/..
|
||||
export VERILATOR_ROOT
|
||||
PWD := $(shell pwd)
|
||||
|
||||
PERL = perl
|
||||
|
||||
@ -28,7 +27,7 @@ default: prep compile run
|
||||
debug: prep_dbg compile run
|
||||
valgrind: prep_vg compile run
|
||||
|
||||
VERILATOR_FLAGS = --cc -f $(PWD)/../test_v/input.vc top.v
|
||||
VERILATOR_FLAGS = --cc -f $(VERILATOR_ROOT)/test_v/input.vc top.v
|
||||
#Note turning on traces requires SystemPerl to be installed
|
||||
#VERILATOR_FLAGS += --trace
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# DESCRIPTION: Verilator Example: Makefile for inside object directory
|
||||
#
|
||||
# This executed in the object directory, and called by ../Makefile
|
||||
# This is executed in the object directory, and called by ../Makefile
|
||||
#
|
||||
# Copyright 2003-2006 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
|
@ -16,7 +16,6 @@
|
||||
VERILATOR_ROOT := $(shell pwd)/..
|
||||
export VERILATOR_ROOT
|
||||
PERL = perl
|
||||
PWD := $(shell pwd)
|
||||
|
||||
######################################################################
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# DESCRIPTION: Verilator Example: Makefile for inside object directory
|
||||
#
|
||||
# This executed in the object directory, and called by ../Makefile
|
||||
# This is executed in the object directory, and called by ../Makefile
|
||||
#
|
||||
# Copyright 2003-2005 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
|
@ -15,7 +15,6 @@
|
||||
# This must point to the root of the VERILATOR kit
|
||||
VERILATOR_ROOT := $(shell pwd)/..
|
||||
export VERILATOR_ROOT
|
||||
PWD := $(shell pwd)
|
||||
|
||||
PERL = perl
|
||||
|
||||
@ -26,7 +25,7 @@ default: precopy prep preproc compile run
|
||||
debug: precopy prep_dbg preproc compile run
|
||||
nopublic: precopy prep_dbg_np preproc compile run
|
||||
|
||||
V_FLAGS = -f $(PWD)/../test_v/input.vc
|
||||
V_FLAGS = -f $(VERILATOR_ROOT)/test_v/input.vc
|
||||
VERILATOR_FLAGS = --sc $(V_FLAGS) top.v
|
||||
|
||||
precopy: obj_dir obj_dir/sc_main.cpp
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# DESCRIPTION: Verilator Example: Makefile for inside object directory
|
||||
#
|
||||
# This executed in the object directory, and called by ../Makefile
|
||||
# This is executed in the object directory, and called by ../Makefile
|
||||
#
|
||||
# Copyright 2003-2006 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
|
@ -15,7 +15,6 @@
|
||||
# This must point to the root of the VERILATOR kit
|
||||
VERILATOR_ROOT := $(shell pwd)/..
|
||||
export VERILATOR_ROOT
|
||||
PWD := $(shell pwd)
|
||||
|
||||
PERL = perl
|
||||
|
||||
@ -26,7 +25,7 @@ default: prep preproc compile run coverage
|
||||
debug: prep_dbg preproc compile_dbg run coverage
|
||||
nopublic: prep_dbg_np preproc compile_dbg run coverage
|
||||
|
||||
V_FLAGS = -f $(PWD)/../test_v/input.vc
|
||||
V_FLAGS = -f $(VERILATOR_ROOT)/test_v/input.vc
|
||||
VERILATOR_FLAGS = --public --sp --coverage --stats --trace $(V_FLAGS) top.v
|
||||
|
||||
prep:
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# DESCRIPTION: Verilator Example: Makefile for inside object directory
|
||||
#
|
||||
# This executed in the object directory, and called by ../Makefile
|
||||
# This is executed in the object directory, and called by ../Makefile
|
||||
#
|
||||
# Copyright 2003-2006 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id:$ */
|
||||
# $Id$ */
|
||||
#*****************************************************************************
|
||||
#
|
||||
# DESCRIPTION: Verilator Example: Makefile for inside source directory
|
||||
@ -15,7 +15,6 @@
|
||||
# This must point to the root of the VERILATOR kit
|
||||
VERILATOR_ROOT := $(shell pwd)/..
|
||||
export VERILATOR_ROOT
|
||||
PWD := $(shell pwd)
|
||||
|
||||
######################################################################
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
VERILATOR_ROOT := $(shell pwd)/..
|
||||
export VERILATOR_ROOT
|
||||
PERL = perl
|
||||
PWD := $(shell pwd)
|
||||
|
||||
VERILATOR_SW +=
|
||||
ifeq ($(VERILATOR_NO_DEBUG),)
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $Id:$ -*- Makefile -*-
|
||||
# $Id$ -*- Makefile -*-
|
||||
#*****************************************************************************
|
||||
#
|
||||
# DESCRIPTION: Verilator Example: Makefile for inside object directory
|
||||
#
|
||||
# This executed in the object directory, and called by ../Makefile
|
||||
# This is executed in the object directory, and called by ../Makefile
|
||||
#
|
||||
# Copyright 2003 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
|
Loading…
Reference in New Issue
Block a user