Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup and automatic reset generation
- Loading branch information
Showing
19 changed files
with
552 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,18 @@ | ||
# Set ISE_DIR to ISE installation directory. Example: .../14.7/ISE_DS/ISE | ||
|
||
OPTS=--std=93c -g --ieee=synopsys -fexplicit --warn-no-vital-generic | ||
# --no-vital-checks | ||
|
||
all: | ||
ghdl -i --work=ethernet_mac --workdir=ghdl $(OPTS) *.vhd xilinx/*.vhd xilinx/ipcore_dir/ethernet_mac_tx_fifo_xilinx.vhd | ||
ghdl -m --work=ethernet_mac --workdir=ghdl -Pghdl/unisim -Pghdl/xilinxcorelib $(OPTS) ethernet_mac_tb | ||
|
||
sim_posttranslate: | ||
ghdl -i --work=ethernet_mac --workdir=ghdl $(OPTS) *_types.vhd crc32.vhd utility.vhd ethernet_mac_tb.vhd xilinx/test_wrapper_spartan6.vhd | ||
ghdl -i --work=ethernet_mac --workdir=ghdl $(OPTS) netgen/translate/*.vhd | ||
ghdl -m --work=ethernet_mac --workdir=ghdl -Pghdl/simprim -Pghdl/unisim -Pghdl/xilinxcorelib $(OPTS) ethernet_mac_tb | ||
|
||
sim_postpar: | ||
ghdl -i --work=ethernet_mac --workdir=ghdl $(OPTS) *_types.vhd crc32.vhd utility.vhd ethernet_mac_tb.vhd xilinx/test_wrapper_spartan6.vhd | ||
ghdl -i --work=ethernet_mac --workdir=ghdl $(OPTS) netgen/par/*.vhd | ||
ghdl -m --work=ethernet_mac --workdir=ghdl -Pghdl/simprim -Pghdl/unisim -Pghdl/xilinxcorelib $(OPTS) ethernet_mac_tb | ||
|
||
check: all | ||
./ethernet_mac_tb --stack-max-size=20M --ieee-asserts=disable | ||
|
||
prepare: | ||
mkdir -p ghdl/unisim ghdl/xilinxcorelib ghdl/simprim | ||
mkdir -p ghdl/unisim ghdl/xilinxcorelib #ghdl/simprim | ||
ghdl -i --work=unisim --workdir=ghdl/unisim $(OPTS) $(ISE_DIR)/vhdl/src/unisims/*.vhd | ||
ghdl -i --work=unisim --workdir=ghdl/unisim $(OPTS) $(ISE_DIR)/vhdl/src/unisims/primitive/*.vhd | ||
ghdl -i --work=XilinxCoreLib --workdir=ghdl/xilinxcorelib $(OPTS) $(ISE_DIR)/vhdl/src/XilinxCoreLib/*.vhd | ||
ghdl -i --work=simprim --workdir=ghdl/simprim $(OPTS) $(ISE_DIR)/vhdl/src/simprims/simprim_Vcomponents.vhd $(ISE_DIR)/vhdl/src/simprims/simprim_Vpackage.vhd $(ISE_DIR)/vhdl/src/simprims/primitive/other/*.vhd | ||
#ghdl -i --work=simprim --workdir=ghdl/simprim $(OPTS) $(ISE_DIR)/vhdl/src/simprims/simprim_Vcomponents.vhd $(ISE_DIR)/vhdl/src/simprims/simprim_Vpackage.vhd $(ISE_DIR)/vhdl/src/simprims/primitive/other/*.vhd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.